Commit graph

374 commits

Author SHA1 Message Date
a2037fd084 implemented settings preview, tweaked some visual and made the preview window code a bit simpler 2022-07-31 19:09:49 +02:00
0a2adb1e6b can no longer modify the textbox in the track_formatting preview window 2022-07-31 00:09:53 +02:00
b4e52cfe58 started implementing ModSettings (only gui testing for now) 2022-07-31 00:03:19 +02:00
51a6e46930 added a scrollbar and made the text widget resizable 2022-07-29 21:01:52 +02:00
b3f85bbe43 implemented track_formatting interface 2022-07-29 19:46:21 +02:00
c39b6f4d4e testing track formatting 2022-07-28 23:00:36 +02:00
d615bbccb6 added the interface for the mod settings 2022-07-28 20:03:38 +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
677fb35427 added dict to safe_eval 2022-07-27 20:31:19 +02:00
9ece2b491b made the final message code more readable 2022-07-26 18:10:03 +02:00
0555539543 added custom message for when an installation end 2022-07-25 23:52:31 +02:00
d37ee5a79c added error.log file when an error was occuring 2022-07-25 21:57:00 +02:00
5466a88c2d moved bmg_color_text in safe_eval to ModConfig 2022-07-25 18:48:45 +02:00
abad5f8b5d backslash where only doubled inside multiple safe eval 2022-07-25 18:48:22 +02:00
9c2823af95 removed unnecessary import 2022-07-24 23:16:58 +02:00
8964a052c8 fixed a typo 2022-07-24 23:16:36 +02:00
340f985673 tracks prefix and suffix are now evaluated from mod_config.safe_eval instead of normal safe_eval 2022-07-24 23:16:29 +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
62a2e31ce2 fixed safe_eval for PatchFile. Now condition need to be exactly True instead of everything but False 2022-07-24 17:38:55 +02:00
7866f5ca36 fixed JAP originals tracks prefix 2022-07-24 17:20:34 +02:00
70e324c03a fixed MyStuff patcher looking for files at the harddrive root 2022-07-24 00:32:50 +02:00
f519bbd554 added a textwrap to the progress bar description 2022-07-24 00:18:12 +02:00
c2e4833ee4 added MyStuff interface and made it work 2022-07-24 00:17:10 +02:00
062c1272dd made the installer interface a bit wider 2022-07-24 00:02:54 +02:00
ca698217dd added a TODO: patcher don't work on JAP 2022-07-22 15:11:24 +02:00
e570291b23 renamed all the wu8 to wbz to fit the correct extension 2022-07-22 14:42:14 +02:00
7f01c0b66b implemented MyStuff code 2022-07-22 12:54:14 +02:00
0f25ac8720 implemented threads amount options, added checkbox to language options and changed some part of the Option class 2022-07-22 12:00:01 +02:00
332edcdcc5 implemented threads amount options, added checkbox to language options and changed some part of the Option class 2022-07-22 11:59:50 +02:00
0e4c318c19 optimised regex used in bmg layer (100 seconds -> 1.7 seconds for Regex) (2 seconds -> 0.7 seconds for Original Track) 2022-07-22 00:01:02 +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
c5e254cc7d rearranged operators because some couldn't be accessed otherwise 2022-07-21 14:06:32 +02:00
15d84f757c simplified safe_eval by removing extra_token_map because env do the same thing but better and by making patch.safe_eval more similar to the normal safe_eval 2022-07-21 01:24:24 +02:00
448170dad9 simplified cat_data to use list instead of dict 2022-07-21 00:33:38 +02:00
150f0d6e60 added FormatOriginalTrackLayer, allowing for patching originals tracks name like the custom tracks (with tags name, ...) 2022-07-20 23:47:28 +02:00
1d88f89f3d patch_data have been renamed cat_data and can both patch and filters a bmg file 2022-07-20 23:27:02 +02:00
5d448369ee added color to prefix and suffix 2022-07-20 12:19:35 +02:00
aa6eeb2e49 implemented MKWColor for easier naming of BMG color 2022-07-20 10:30:37 +02:00
9a97453a20 added a todo 2022-07-20 10:30:03 +02:00
19ded49c27 added type hint for pycharm 2022-07-19 22:36:25 +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
47f191c9be moved isinstance and issubclass to the start of operator because they were being overwritten "by" is and "in" 2022-07-19 18:14:57 +02:00
5207e18928 get_ctfile now have a template option for the track name 2022-07-19 15:39:55 +02:00
db87f6cdd7 added LECODE patching (the installer can now output a working game) 2022-07-19 13:42:49 +02:00
ea35b09f44 implemented patch function in lec 2022-07-18 23:58:39 +02:00
92ea7be730 normalizing tracks now use threads 2022-07-18 23:16:50 +02:00