Commit graph

72 commits

Author SHA1 Message Date
1ef62c5284 updated scripts to create minimap and map image 2022-05-24 10:34:23 +02:00
409fa2d4e2 fixed an issue with a default argument being an int instead of a list 2022-02-10 18:33:40 +01:00
8e5f690358 improved the behaviour of the installer when a Pack does not provide some value in file_process
Many "x[y] if y in x else d" have been replaced by "x.get(y, d)"
2022-02-10 09:22:03 +01:00
5dfaa35595 game now support special message in multiplayer room 2022-02-09 11:31:28 +01:00
f47049eb55 arena retro track now have their prefix colored 2022-02-08 19:54:49 +01:00
2aa84b8fab arenas are now supported by the installer 2022-02-08 19:24:17 +01:00
44c2fbc9fc fixed disabling "keep_original_track" : bmg are now correct 2022-02-01 15:53:50 +01:00
438e303b3b added add_original_track_prefix, swap_original_order, enable_random_cup and keep_original_track option to the ct_config. The last one have bmg issue. 2022-02-01 00:19:50 +01:00
a55ed656d9 added a weight notion to track (a track with a weight of 4 will be duplicated 4 times) 2022-01-29 13:02:06 +01:00
7200e21927 changing number of conversion process now change it in live 2022-01-26 19:24:05 +01:00
eafb7a47e9 reformatted some minor thing, added a log_error 2022-01-26 09:37:28 +01:00
abce32c3c8 moved log_error into Error.py 2022-01-26 09:07:39 +01:00
b29a7d0dcf moved translate from gui to its own class (Translator), added missing translation 2022-01-26 08:54:26 +01:00
b5da151c73 fixed the track sorting, added a way to save and load track configuration, track configuration is now keeped when closing and reopening the track configuration menu 2022-01-25 19:45:46 +01:00
4c5fa3f20e using a track filter will enable the cheat region 2022-01-25 13:42:07 +01:00
b3d5af63ed readded a better track selection filter (advanced menu), fixed an issue with tracks always renormalizing, added a default sort in ct_config, added a Common class to reunite all component with more readability and less weird code, splited the Gui into a directory 2022-01-25 12:59:51 +01:00
85e36c461c moved all error to Error.py 2022-01-21 22:41:45 +01:00
03e85fb442 Random track group are now supported in ct_config.json, cup icons can now be named by the cup name, custom track cup now start at 001 2022-01-21 16:39:29 +01:00
7986d9eef1 the code now support multiple Pack, allow a better image generator (used for the bootscreen image in MKWF), customisable directory for the generated ct_icons, patched bmg, directory with all the icons, directory with lecode. 2022-01-19 17:46:45 +01:00
6042ca441a implemented a very experimental function for packs 2022-01-18 14:04:51 +01:00
af68a17782 (not functionnal for now) moved some mod part into a Pack folder to allow multiple mod to be installed, track menu now allow almost all the possibility 2022-01-17 20:34:08 +01:00
50d0a00bff some error weren't stopping the installation 2022-01-17 13:57:46 +01:00
d049000b78 language were not correctly handled by patch_bmg, file_process now use game language identifiant (F, E, U, M, S, ...) instead of the installer language (fr, en, ge, ...) 2022-01-17 13:49:05 +01:00
d3673fb64d added and changed some translation, removed delete track after convertion and disable download option, remove track download code 2022-01-17 12:22:08 +01:00
2096b93540 default_track is now supported, color of the original track are now handled by the tags_color of the ct_config.json file 2022-01-17 09:43:42 +01:00
824281f5ab the program now use sha1 instead of prefix + name + suffix to find a tracks. Prefix, suffix and new have been replaced by tags (some part of the code need to be "cleaned") 2022-01-16 19:54:12 +01:00
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