Commit graph

29 commits

Author SHA1 Message Date
d4089e4120 author list name was not handled correctly 2022-01-13 14:14:13 +01:00
edb1c78658 authors are now stored as a list in ct_config.json 2022-01-12 09:10:34 +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
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
94c4a26646 fixed 5 incorrect sha1 + added debug message in Track when a sha1 is incorrect 2021-11-06 20:01:36 +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
944dd5f6e7 there was no code to color the star of a track with warning (???) 2021-10-25 12:55:17 +02:00
8e06d46891 added a space between the name and the suffix 2021-08-15 23:10:15 +02:00
3c291bb66f started implementation of a better function to download and patch tracks 2021-07-31 09:21:29 +02:00
7078db49df removed track sha1 check option, they will always be checked 2021-07-30 21:21:31 +02:00
43e46008c7 added more sha1 check in download_wu8, and do 3 try before raising an exception 2021-07-28 21:40:35 +02:00
8caf3535d6 added a sha1 check before downloading, now exception are used when a error occur instead of a blurry negative number 2021-07-28 21:10:36 +02:00
f2807e6f58 renamed some parameter, all wszst call now have keyword argument only 2021-07-28 19:19:51 +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
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
94b15f076d get_track_name function created bad track suffix 2021-07-22 23:49:17 +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
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
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
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
42a96db471 added ctfile creation for CT_Config, Cup, Track 2021-07-16 11:29:44 +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