Commit graph

434 commits

Author SHA1 Message Date
4b7bc41de9 Merge remote-tracking branch 'origin/dev' into dev 2021-07-28 19:20:02 +02:00
f2807e6f58 renamed some parameter, all wszst call now have keyword argument only 2021-07-28 19:19:51 +02:00
940a0d5336 renamed some parameter, all wszst call now have keyword argument only 2021-07-28 19:19:23 +02:00
2baf246599 edited default value 2021-07-27 21:33:02 +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
ebca6c3335 next version will be 0.10.0, version will be checked with from distutils.version.StrictVersion, so that it is simpler to check. Also fix an issue where 0.10 is less than 0.9 2021-07-27 20:52:58 +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
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
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
2f42ed599c fixed intendation error and a function that have been renamed. 2021-07-18 11:44:34 +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
c041f55cb9 added ctfile code, fixed issue, load from json function 2021-07-16 22:44:41 +02:00
7b1b2dc73e renamed "courses" parameter to "tracks" 2021-07-16 22:43:31 +02:00
6c5f8b1fe8 added extract game code 2021-07-16 12:01:29 +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
566c026ffe added changelog to version 2021-07-15 12:38:47 +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
74e40c0db0 added version selection menu translation 2021-07-15 11:44:31 +02:00
09ac1526a1 separated a suffix from the name 2021-07-15 11:44:05 +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
ff98213786 renamed count_track to load_ct_config, reworked function to load ct_config into variables, called in __init__.py 2021-07-14 22:27:03 +02:00
537f7b3c4c sorted tracks in alphabetical order 2021-07-14 18:12:11 +02:00
e4150c8d9e added a track (Haunted Library) 2021-07-14 18:01:06 +02:00
8aaa81c4ee fixed an error with cryptolib making the Updater unusable 2021-07-14 14:53:27 +02:00
a92ae5bebe translated to english 2021-07-14 14:45:51 +02:00
2c41c0f04c translated to english, added an exception for SystemExit to avoid an error when updating 2021-07-14 14:44:47 +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
3dce6bc1bd added 13 tracks, replaced Red Sector B by Red Sector A 2021-07-13 18:20:58 +02:00
624953dc24 reformatted file to be way more readable 2021-07-13 14:37:44 +02:00
5ee51027d9 preparing version for v0.9 2021-07-13 13:16:51 +02:00
46bedabeac updated "Is This Canyon / Weird Canyon" to v1.pre 2021-07-13 13:16:50 +02:00
7e5e828973
Merge pull request #24 from Faraphel/master
"rebalancing" dev
2021-07-13 09:39:14 +02:00