Commit graph

45 commits

Author SHA1 Message Date
423a02ce4c remade all the translation in a easier, faster and more readable way 2022-09-01 18:10:38 +02:00
4a19aff206 added linux only check for sudo usage and write / execution permissions for the installer folder itself 2022-08-30 15:30:38 +02:00
48f7236755 subprocess calls now work on linux 2022-08-30 14:41:00 +02:00
ab145250c6 extracting a game now only extract the DATA directory, update and other part are ignored 2022-08-29 21:41:01 +02:00
e88fb57143 the extension settings is now saved in the option.json file 2022-08-21 01:12:20 +02:00
92231bde4e moved Slot and MKWColor to mkw.collection 2022-08-19 20:22:54 +02:00
b67517dc59 merged OriginalTrack and Slot to avoid confusion with the Track module 2022-08-19 18:50:33 +02:00
3bfcfe53e4 OriginalTrack is now a dataclass for better readability 2022-08-18 22:22:12 +02:00
ec94ddece8 the code is now fully translatable 2022-08-15 23:06:23 +02:00
c0915ae13e added a 2nd progress bar 2022-08-15 14:14:53 +02:00
781e564dd2 implemented SzsEdit to allow easier track modification (changing laps count, ...) 2022-08-14 19:17:26 +02:00
95c9b4a1e2 fixed an issue with arenas name not being correctly patched 2022-08-14 09:10:02 +02:00
8eda2b4f3d implemented EDIT so that game's name and id6 can now be modified 2022-08-12 19:18:13 +02:00
94dddac6d4 implemented Game conversion to WBFS / ISO / CISO after installing the mod 2022-08-11 22:57:41 +02:00
448170dad9 simplified cat_data to use list instead of dict 2022-07-21 00:33:38 +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
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
ea35b09f44 implemented patch function in lec 2022-07-18 23:58:39 +02:00
186aa55f4a custom tracks are now converted into szs in the cache 2022-07-18 19:11:11 +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
d7a8e3c40b changed stderr from PIPE to DEVNULL (debug data was getting written to stdout) 2022-07-15 16:42:28 +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
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
ebb74a61df implemented decode_data in img (tpl -> png) and added img-decode operation (useful if a texture modification need the original game image as a base) 2022-07-14 18:30:06 +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
ce30419f8c added patch_data to str.py, allowing for main.dol modification 2022-07-14 16:41:05 +02:00
823dc4cc44 implemented decode_data, encode_data and patch_data 2022-07-11 23:09:04 +02:00
d9ec57a04c compacted _tools_run, _tools_run_popen and _tools_run_dict by creating a get function returning the shortcut function for every module from the tools_path 2022-07-11 00:16:03 +02:00
804c9f38f6 removed the need of temporary file by using stdin as input data 2022-07-10 23:56:57 +02:00
d456430714 made universal_newlines parameter in _run_popen optional 2022-07-10 23:56:10 +02:00
4cb2aa7379 added stdin support to _run_popen 2022-07-10 23:36:50 +02:00
803e9603e7 moved _run, _run_popen and _run_dict out of the class to make _tools_run, _tools_run_popen and _tools_run_dict for the whole module 2022-07-10 23:32:58 +02:00
dde5a134a5 preparing bmg patch 2022-07-09 22:09:07 +02:00
ca833eca2a fixed img-generate in the Patch and some other minor issue 2022-07-05 22:34:10 +02:00
b34833397d moved ExtractedGame to a new file, changed the patch to fit the new syntax of the Patch system 2022-06-25 18:48:30 +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
541a1b0689 selecting a mod now work, extraction now have a progress bar, clicking on the install button will start the installation 2022-06-11 18:45:29 +02:00
f9db2e96ea wit module now can simulate FST if the game is a FST. Moved many function from game to wit, added exists method to szs 2022-06-10 15:54:08 +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
f0476381da updated szs and wit, and made the installer the correct file for linux or windows 2022-06-09 22:42:15 +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