Commit graph

69 commits

Author SHA1 Message Date
6017c20aed added a empty cache button in the advanced menu 2022-08-30 21:34:52 +02:00
4a19aff206 added linux only check for sudo usage and write / execution permissions for the installer folder itself 2022-08-30 15:30:38 +02:00
8e800d1cbe installer icon is now linux compatible 2022-08-30 13:53:30 +02:00
69ce637a9c fixed progressbar not stopping correctly after being set to determinate 2022-08-29 10:04:56 +02:00
162e56b1e0 progress bar path are now relative to the extracted game path 2022-08-27 20:09:36 +02:00
9f8aa05c04 added get_hash_map and comp_dict_changes to get information about all the files of an extracted game 2022-08-27 00:28:15 +02:00
b9d6913e22 settings can now be exported and imported. Simplified syntax for modder defined global_settings 2022-08-23 22:59:55 +02:00
f1a9a9bd1c optimised the main window code by moving source and destination path to variable instead of getter in the frame class 2022-08-22 22:14:36 +02:00
2edb82939c added a developer mode enabling a testing frame in the ModSettings 2022-08-21 23:12:50 +02:00
777acb7cbf optimised some of the gui object 2022-08-21 22:28:06 +02:00
5f5dc6bfbc ModSettings can now have a description 2022-08-21 17:31:05 +02:00
c511f7bb86 Options class have been rewritten to make saving and getting more explicit 2022-08-21 11:30:25 +02:00
e88fb57143 the extension settings is now saved in the option.json file 2022-08-21 01:12:20 +02:00
2d50619b6c the extension settings is now saved in the option.json file 2022-08-20 23:23:30 +02:00
fb8d20c08f some of the Track class now remember the mod_config object for easier call. default_track_attributes have been added to set default value of the track attribute object to avoid unreadable safe eval of getattr 2022-08-20 00:24:30 +02:00
8e801329e0 if the traceback is too long in the gui, only keep the 5 first and 5 last lines of the traceback 2022-08-19 23:58:47 +02:00
92231bde4e moved Slot and MKWColor to mkw.collection 2022-08-19 20:22:54 +02:00
443d16b28c MKWColor is now a dataclass to improve readability 2022-08-19 20:16:48 +02:00
6d5dae63af made the mod_settings window wider 2022-08-17 22:00:36 +02:00
014bd74d4d error log now contains the installer version 2022-08-17 21:41:15 +02:00
da9ec18ef3 mod_settings can now have a description from message.json 2022-08-17 19:00:35 +02:00
433bf08b9b added translate_external for message that need translation from outside of the installer. 2022-08-17 18:43:40 +02:00
8edf1d60d2 fix: opening and closing the source game or destination game window without selecting a file would default to the installer path instead of nothing 2022-08-16 21:31:42 +02:00
ec94ddece8 the code is now fully translatable 2022-08-15 23:06:23 +02:00
8c3d5c4005 added readthedocs help button 2022-08-15 20:40:59 +02:00
3ad596f8c6 fixed the progress bar interderminate mode not being animated 2022-08-15 14:15:24 +02:00
c0915ae13e added a 2nd progress bar 2022-08-15 14:14:53 +02:00
8afd7e7926 safe_eval and multiple_safe_eval are now 20x faster (~2.5s -> ~0.13s) 2022-08-15 10:58:36 +02:00
20a7abadaf Sorting and filtering settings don't apply to arena, so remove them from the previews 2022-08-14 15:02:38 +02:00
0bb12a0835 now using TYPE_CHECKING instead of using dummy type int 2022-08-14 11:45:34 +02:00
a51d6f2173 implemented Arena (game text are missing) 2022-08-13 12:16:37 +02:00
94dddac6d4 implemented Game conversion to WBFS / ISO / CISO after installing the mod 2022-08-11 22:57:41 +02:00
453b631325 clicking on any mod settings widget will automatically enable the settings, instead of needing to enable it manually. 2022-08-07 20:47:26 +02:00
d3ff94b940 the settings button wasn't disabled when installing the mod 2022-08-07 18:37:14 +02:00
3f58094d59 implemented sort_tracks_by option 2022-08-07 18:19:25 +02:00
b9873a6c49 adapted safe_eval call and optimised them. MKWF safe_eval are now easier to read 2022-08-06 23:28:52 +02:00
9b07400a3e implemented track filter in the settings (renamed remove_track_if -> include_track_if) 2022-08-05 18:37:20 +02:00
13bf66c94e mod settings name can now be translated in the settings window 2022-08-02 22:02:25 +02:00
e126a6b45b disk space check was done on the wrong directory 2022-08-02 18:37:47 +02:00
4ebd01e924 added a root property for all the container with the main window. (self.master.master ... -> self.root). Fixed an issue with mystuff profile not being deleted properly 2022-08-02 18:01:25 +02:00
5dcb0d4343 fully implemented track_selecting preview 2022-08-02 17:59:37 +02:00
7d7df10217 removed "Track Filters" and "Debug Mode" menu since their are replaced by the mod settings window 2022-08-02 17:55:41 +02:00
59106d8ed9 module filtering subclasses have been simplified to made the code easier to read with less directory inside other useless directory and comment have been added 2022-07-31 23:05:54 +02:00
547e9108da factorized global and specific window into the same one 2022-07-31 19:59:28 +02:00
a2037fd084 implemented settings preview, tweaked some visual and made the preview window code a bit simpler 2022-07-31 19:09:49 +02:00
0a2adb1e6b can no longer modify the textbox in the track_formatting preview window 2022-07-31 00:09:53 +02:00
b4e52cfe58 started implementing ModSettings (only gui testing for now) 2022-07-31 00:03:19 +02:00
51a6e46930 added a scrollbar and made the text widget resizable 2022-07-29 21:01:52 +02:00
b3f85bbe43 implemented track_formatting interface 2022-07-29 19:46:21 +02:00
c39b6f4d4e testing track formatting 2022-07-28 23:00:36 +02:00