Commit graph

725 commits

Author SHA1 Message Date
4604aae270 renamed "multiplayer_use_default_track_if" to "multiplayer_disable_if" 2022-07-21 16:02:42 +02:00
ab64541b91 added warning colors to stars 2022-07-21 15:55:08 +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
d70f6911b2 preparing functionality to replace some track by the default one in multiplayer 2022-07-20 23:50:17 +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
a078a4848b fixed some tags that were in the name instead of the tags list 2022-07-20 12:29:49 +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
83f19324bf renamed DS3 to 3DS 2022-07-19 20:13:09 +02:00
e204efc28a default track are no longer visible 2022-07-19 20:12:59 +02:00
9c91ff65b1 [WIP] Added text for tracks in menu and race (race contains authors username) 2022-07-19 18:47:09 +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
39bd521511 threaded decorator now return the thread 2022-07-18 19:51:20 +02:00
186aa55f4a custom tracks are now converted into szs in the cache 2022-07-18 19:11:11 +02:00
63cbe06bf3 original tracks are now moved to original-tracks in the .cache 2022-07-18 13:18:18 +02:00
8d0544a084 in order to stay constitent with the operation style, bmg-edit have been splitted into bmg-decode, bmg-encode and bmgtxt-edit. This will also allow more possibility. 2022-07-16 22:48:17 +02:00
43018abdca fixed an issue where a .d directory in a Patch would not get his .szs equivalent extracted if the subfile where all at the root level (causing an issue with the MKWF Font patch) 2022-07-16 22:17:56 +02:00
f8c04f62a4 renamed event to plugins 2022-07-16 21:43:18 +02:00
ba14930403 useless patch on some of the menu's file should no longer be applied 2022-07-16 16:39:51 +02:00
8d615129e7 added [!F] to the regex to avoid having Font.szs getting the patch applied 2022-07-16 15:53:35 +02:00
81248631b3 set the mode to overwrite to avoid unsused .szs file to be created 2022-07-16 13:22:24 +02:00
602dc0dc55 forgot a #cup_icon 2022-07-16 09:40:46 +02:00
4ede6f0b6b renamed img-generator to img-edit, split PatchOperation.py into a whole module 2022-07-16 01:18:58 +02:00
de52540735 added overwrite mode for PatchFile (write only if already existing) and shortened the writing code to the write_patch function 2022-07-16 00:01:15 +02:00
4852c209bb fixed an issue where the background color was full transparent instead of full black, causing low quality Bootscreen images 2022-07-15 22:58:33 +02:00
04268a17a1 added seek(0) before writing a PatchFile 2022-07-15 20:25:04 +02:00
7463e9f10b fixed an issue where 2 lines of wiimm's tools where getting into the file content data 2022-07-15 17:25:22 +02:00
9624b5d802 moved region patch to StaticR.rel only 2022-07-15 17:24:49 +02:00
e87f3dacef ct_icons was generated horizontally instead of vertically 2022-07-15 17:24:34 +02:00
d7a8e3c40b changed stderr from PIPE to DEVNULL (debug data was getting written to stdout) 2022-07-15 16:42:28 +02:00
22adc6e29e removed a TODO 2022-07-15 16:41:52 +02:00
db9d32a450 removed useless condition where .exe was added to the tools_path if it was a windows system 2022-07-15 16:41:42 +02:00
5aeb864ef7 added a TODO about using regex to speed up the patch of bmg-edit 2022-07-15 00:31:28 +02:00
06a557dac7 removed unused argument documentation 2022-07-15 00:30:22 +02:00
4d071e190f extracted szs directory will now be repacked into szs files 2022-07-15 00:28:04 +02:00
7f5e709aec started implementing main.dol and StaticR.rel patching 2022-07-15 00:05:54 +02:00
ea79f49121 set stderr to subprocess.PIPE to hide it from the shell 2022-07-14 22:26:07 +02:00
1881d579c9 removed unused import 2022-07-14 22:13:16 +02:00