Commit graph

42 commits

Author SHA1 Message Date
c0915ae13e added a 2nd progress bar 2022-08-15 14:14:53 +02:00
8afd7e7926 safe_eval and multiple_safe_eval are now 20x faster (~2.5s -> ~0.13s) 2022-08-15 10:58:36 +02:00
506ee740f5 added TemplateSafeEval, TemplateMultipleSafeEval and Env type hint 2022-08-14 12:47:35 +02:00
0bb12a0835 now using TYPE_CHECKING instead of using dummy type int 2022-08-14 11:45:34 +02:00
a51d6f2173 implemented Arena (game text are missing) 2022-08-13 12:16:37 +02:00
cd61ce59c4 fixed "tags_template" to "tags_templates" 2022-08-11 18:56:59 +02:00
f13b18aa57 fully implemented the AbstractTrack and DefaultTrack, removing the necessity of default_track in mod_config.json 2022-08-11 18:56:49 +02:00
99287bbd56 started making a AbstractTrack class to implement more type of "track".
Removed get_suffix and get_prefix to replace them with get_tag_template and tags_template in mod_config.json
2022-08-10 22:33:10 +02:00
47da0f0be4 global_settings can now be modified in mod_config.json (to change default value for example), but you can't add your own global_settings. Merged track_new_if with override_randm_rew to the global settings replace_random_new 2022-08-07 23:04:06 +02:00
3f58094d59 implemented sort_tracks_by option 2022-08-07 18:19:25 +02:00
cc41a22a82 implemented highlight_if option 2022-08-07 14:45:06 +02:00
b9873a6c49 adapted safe_eval call and optimised them. MKWF safe_eval are now easier to read 2022-08-06 23:28:52 +02:00
9b07400a3e implemented track filter in the settings (renamed remove_track_if -> include_track_if) 2022-08-05 18:37:20 +02:00
13bf66c94e mod settings name can now be translated in the settings window 2022-08-02 22:02:25 +02:00
6b001709c5 Custom tracks are now cached in a folder with the mod name instead of all sharing the same directory 2022-08-02 19:29:15 +02:00
d1b17e0a77 the lpar file is now customizable with the mod settings function 2022-08-01 23:06:21 +02:00
59106d8ed9 module filtering subclasses have been simplified to made the code easier to read with less directory inside other useless directory and comment have been added 2022-07-31 23:05:54 +02:00
a2037fd084 implemented settings preview, tweaked some visual and made the preview window code a bit simpler 2022-07-31 19:09:49 +02:00
b4e52cfe58 started implementing ModSettings (only gui testing for now) 2022-07-31 00:03:19 +02:00
ae5e9976e5 implemented track_new_if to select track that should be selected by "Random: New tracks" 2022-07-27 20:32:25 +02:00
0555539543 added custom message for when an installation end 2022-07-25 23:52:31 +02:00
5466a88c2d moved bmg_color_text in safe_eval to ModConfig 2022-07-25 18:48:45 +02:00
d25bc524c7 moved safe_eval from Patch to ModConfig for more global access 2022-07-24 23:14:28 +02:00
5ea1d87974 implemented macros to make safe_eval expression more readable. 2022-07-24 21:52:24 +02:00
413e906547 track disabled in multiplayer are replaced by their original wii track corresponding to their special slot 2022-07-21 19:27:11 +02:00
4604aae270 renamed "multiplayer_use_default_track_if" to "multiplayer_disable_if" 2022-07-21 16:02:42 +02:00
2bb04dd97c added a point that could help for track file format that could have the same name but with a suffix 2022-07-21 15:53:36 +02:00
66ced040d7 implemented "multiplayer_use_default_track_if" 2022-07-21 15:07:11 +02:00
5d448369ee added color to prefix and suffix 2022-07-20 12:19:35 +02:00
8d30d1238a added CTFileLayer (allow for patching a bmg file with the ctfile with all the tracks name) 2022-07-19 18:23:41 +02:00
5207e18928 get_ctfile now have a template option for the track name 2022-07-19 15:39:55 +02:00
92ea7be730 normalizing tracks now use threads 2022-07-18 23:16:50 +02:00
186aa55f4a custom tracks are now converted into szs in the cache 2022-07-18 19:11:11 +02:00
e87f3dacef ct_icons was generated horizontally instead of vertically 2022-07-15 17:24:34 +02:00
5ddae33393 added main.dol patch for lecode, and optionnally region, server url and section (cheat code) 2022-07-14 17:06:59 +02:00
ea4a1d293e fixed an issue where ImageFont couldn't read directly from a Path object, and set CT_ICON_SIZE constant to 128 instead of hardcoding 128 2022-07-14 15:49:03 +02:00
d5ef16611d started restructuring pack (part 3), added ct_icons generation, added ExtractedGame class alongside Game, started install_all_patch function 2022-06-14 14:27:48 +02:00
3932716227 added get_ctfile to Track, and implemented autoadd extraction 2022-06-13 22:18:08 +02:00
70ade3dc67 moved safe_eval from Track.py to safe_eval.py, allowed getattr with no function limitation, added track_formatting to mod_config.json to customize the track text format for the menu, the race and the filename. Added a Combobox on the install menu for the extension 2022-06-12 23:21:09 +02:00
9d97326f4b started implementing Game and wit for the game file manipulation, and modifying ModConfig syntax 2022-06-09 22:47:13 +02:00
a83ce2c9c1 implemented ModConfig (new version of CtConfig), Track and TrackGroup 2022-06-09 16:49:46 +02:00
a04f7286b6 started working on the szs and wit wrapper 2022-06-08 16:24:02 +02:00