Commit graph

22 commits

Author SHA1 Message Date
3f8fad07fd using load_from_json return self 2022-01-17 09:46:12 +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
56752f8f36 cup are now stored in a list instead of a dictionary with useless index, and random + original cup have been removed because useless 2022-01-13 16:25:51 +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
7852e1f7ea CT_Config now can have a name and a nickname for the mod 2022-01-11 18:09:35 +01:00
632fe34296 track.get doesn't exist, replaced by getattr(track, ..., ...) 2021-10-25 12:25:59 +02:00
69f4e7872b added a menu to sort tracks by name, author, score and version 2021-10-25 12:25:58 +02:00
0f8a6d86ae renamed id to cup_id because of built-in function id 2021-07-28 20:47:26 +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
ee8fea9c5f reimplemented track selection by star 2021-07-23 21:30:56 +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
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
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