Commit graph

37 commits

Author SHA1 Message Date
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
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
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
598c4a6bcb (get_next_available_dir) parent_dir was missing in the returned path 2021-11-20 19:31:42 +01:00
0ff1d946b9 added a function that return a non-existing directory from a desired directory name 2021-11-20 18:16:27 +01:00
ff0fb9d71f star now go from 0 to 5 instead of 1 to 3, take less space in the menu since they are directly in the font 2021-11-14 10:46:35 +01:00
aa341a9746 added Help menu to access the wiki or the discord 2021-11-06 14:03:45 +01:00
a3c31cad5b star can now be blue if the warning is level 4 (for Dolphin only tracks) 2021-10-28 12:17:43 +02:00
0edd631008 replaced distutils version by the function get_version_from_string 2021-09-03 22:53:08 +02:00
531acf2d7d track conversion process now have a better display, version are now sorted in the good order 2021-08-29 11:21:04 +02:00
3c291bb66f started implementation of a better function to download and patch tracks 2021-07-31 09:21:29 +02:00
742c1c3bfa moved NoGui to Game.py, moved restart from Gui.py to definition.py 2021-07-27 21:03:30 +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
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
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
2f171311bc installer will now detect if it is a dev version, and can change url to download track 2021-07-17 21:05:09 +02:00
57efdf2da3 edited source to use CT_Config, Game, Cup and Track 2021-07-17 19:30:51 +02:00
44dfbc6273 some prefix didn't had "R" at the end (CNR was CN, SHR was SH, ...) 2021-07-15 12:01:34 +02:00
8235e5ce9c random track (wiimm cup) are now white 2021-07-15 11:48:12 +02:00
fd5a2a957e reworked color system, you can now choose a version where track will be highlighted, only prefix and suffix will now be colored 2021-07-15 11:43:27 +02:00
6d1411e199 added "track selection" menu allowing you to only install mod for 3, 2 or 1 star track (track from other Mario Kart are not affected) 2021-07-14 12:01:07 +02:00
be9036310b english and french have been switched in the code: english is now the main language, making the code way more easier to read for non-french user. 2021-07-14 00:23:37 +02:00
7891b47a91 moved game's version from definition.py to ct_config.json 2021-06-20 09:53:32 +02:00
7db29fc9bd moved url to definition.py 2021-06-19 22:08:19 +02:00
9c8bfa37db added similar function to get_trackname that remove underscore 2021-06-18 17:34:21 +02:00
c48765f9b0 added track related function 2021-06-18 16:44:31 +02:00
72cb0befc4 added changelog to version 2021-06-15 21:59:16 +02:00
7e221c7b5e subprocess call will now be working with path as relative with a cwd to avoid special character 2021-06-15 19:51:07 +02:00
f79b09eb11 preparing version's file 2021-06-15 17:04:34 +02:00
f6d600efc7 changing version value 2021-06-10 16:19:22 +02:00
3e56c029ca game's version is now in definition.py 2021-06-03 21:58:59 +02:00
e44b89bc65 splited code into multiple file 2021-05-23 19:45:50 +02:00