Commit graph

46 commits

Author SHA1 Message Date
61b54936b3 custom region shoule now be supported by the installer 2022-01-13 13:40:57 +01:00
b7f87d6a31 removed some MKWFaraphel specific non-modulable text 2022-01-11 19:39:51 +01:00
1b8d7fa7fc Game text and translation are now handled by file_process.json by the patch_bmg function, allowing more possibility and functionality. 2022-01-11 19:32:52 +01:00
798791b526 renamed fs.json to file_structure.json and convert_file.json to file_process.json to make them clearer 2021-11-21 21:54:53 +01:00
80582311e1 fixed an issue with a non-existing button trying to be updated and an error with the returned value of get_next_available_dir 2021-11-21 00:27:13 +01:00
aace0e6ac0 removed "nothread" function to use normal one instead 2021-11-20 18:31:01 +01:00
8f525cbe5f add the name of the actual mod version at in the ROM name 2021-11-20 18:17:59 +01:00
c343d270e2 when the installation end, the gui will now automatically close 2021-11-15 22:46:38 +01:00
b8aa333af5 MyStuff folder should now mimic the Wii MyStuff folder (mystuff files at the root replace all game files with the same name) 2021-11-06 11:47:28 +01:00
f7186b6abc separated install_mod function into multiple subfunction to be may more easier to understand 2021-10-31 22:36:42 +01:00
d65ef8c08f Added an experimental support for MyStuff 2021-10-29 16:15:13 +02:00
cff27f6198 added a "custom" note on the main menu text if the configuration for the mod is not the default / official one 2021-10-25 22:37:53 +02:00
71ab9a0f92 Added a debug mode for performance monitoring and information like position, respawn, ... 2021-10-25 17:09:10 +02:00
69f4e7872b added a menu to sort tracks by name, author, score and version 2021-10-25 12:25:58 +02:00
95c5e225a3 Fixed an issue where descriptive image (image on the bootscreen) would not be converted to .png and cause the installer to stop (missing / in directory path) 2021-09-03 23:58:43 +02:00
af27096ff3 fixed progress bar of tracks processing that wasn't updating, fixed exit that was catch by the try keyword 2021-08-28 22:02:51 +02:00
18cf984d86 finishing an installation will automatically stop the program 2021-08-28 18:51:03 +02:00
bb59d1dc18 removed a old useless condition stopping the patch_file process if patch_tracks failed (not return 0), which can't happen since patch_track could only return 0 2021-08-26 11:34:25 +02:00
cf8d1bb20e "do everything button" now use a single thread instead of 3 threads for the 3 parts, allowing the program to stop if an error is raised 2021-08-23 23:52:30 +02:00
a54d32f354 removed useless import 2021-08-17 18:12:59 +02:00
15b68bc713 removed patch_tracks_zip function because not worth it and not really working 2021-08-17 18:12:13 +02:00
9673a63e4c created a new function "patch_all_tracks_zip" that download all tracks from a zip, then convert them to szs. Unused for now 2021-07-31 20:42:43 +02:00
3c291bb66f started implementation of a better function to download and patch tracks 2021-07-31 09:21:29 +02:00
5461c17217 simplified download code in Game.py 2021-07-28 21:41:12 +02:00
f2807e6f58 renamed some parameter, all wszst call now have keyword argument only 2021-07-28 19:19:51 +02:00
54b5dceb78 szs file where extracted in the local directory instead of the game directory 2021-07-27 21:32:26 +02:00
34ec530ddf wszst module wasn't working properly, removed wszst prefix when calling one of its submodule 2021-07-27 21:16:43 +02:00
742c1c3bfa moved NoGui to Game.py, moved restart from Gui.py to definition.py 2021-07-27 21:03:30 +02:00
1bb84fce32 removed temporary directory that were used with previous wszst subprocess call with cwd in the game path 2021-07-27 20:54:10 +02:00
738e0b101b Splitted wszst.py into a module, removed "utf-8 support for path" with cwd because wiimm's tools already support many non-ascii caracter, this simplify the code. 2021-07-26 22:57:45 +02:00
fc3030532b added doctype and type hint to all function, replaced copyfile function by shutil.copyfile 2021-07-25 17:53:29 +02:00
a6ec86c61d Added docstring and more type hint tp Game, Gui and Track to make the code more understandable 2021-07-25 14:55:19 +02:00
ee8fea9c5f reimplemented track selection by star 2021-07-23 21:30:56 +02:00
4ac7ac3fe5 fixed track download and sha1 check, track should now be downloaded faster and in parallel 2021-07-22 22:35:41 +02:00
53ee294915 track highlight functionnality weren't implemented since code rework 2021-07-21 22:52:49 +02:00
cc1ee7374b - retro track prefix wouldn't change prefix
- patch_bmg part about changing wii track name have now better variable name and more comment
2021-07-20 22:54:52 +02:00
1b8dc36fac - fixed missing last 10 cup icon
- simplified get_cup_icon function by using stroke_width and stroke_fill argument
- fixed track download
2021-07-19 21:34:22 +02:00
01ac79f623 added in_thread decorator, wszst module is now always used to edit file, ctconfig is now property of Game class and no more Gui 2021-07-18 22:17:03 +02:00
014e4fe259 fixed error and remerged directory into a single file, it is way easier to read, navigate, and code 2021-07-18 14:46:33 +02:00
a01b390ce0 splitted all class in source into directory 2021-07-18 11:03:35 +02:00
d9b9f56169 merged a maximum of source file with object (object will be re-separated in multiple folder next commit) 2021-07-17 23:32:53 +02:00
2990b1a652 created a Option class, merged get_github_file with Track and install_mod with Game 2021-07-17 22:24:05 +02:00
57efdf2da3 edited source to use CT_Config, Game, Cup and Track 2021-07-17 19:30:51 +02:00
c041f55cb9 added ctfile code, fixed issue, load from json function 2021-07-16 22:44:41 +02:00
6c5f8b1fe8 added extract game code 2021-07-16 12:01:29 +02:00
af67bffafe started reworking the code to have a CT_Config, Cup, Game and Track class to make the code way, way more easier to understand and to read 2021-07-16 00:32:12 +02:00