Commit graph

473 commits

Author SHA1 Message Date
ab145250c6 extracting a game now only extract the DATA directory, update and other part are ignored 2022-08-29 21:41:01 +02:00
dddab9f08d fixed extraction progressbar not working 2022-08-29 10:20:55 +02:00
f92127a07c made more of the steps determinate on the progressbar 2022-08-29 10:05:38 +02:00
69ce637a9c fixed progressbar not stopping correctly after being set to determinate 2022-08-29 10:04:56 +02:00
0864ff1e05 If a tag start with _, it is removed when looking in a tag_template, but not in a tags cups 2022-08-28 11:49:24 +02:00
162e56b1e0 progress bar path are now relative to the extracted game path 2022-08-27 20:09:36 +02:00
6fe1223c8b cleaned Riivolution generation 2022-08-27 19:15:46 +02:00
6e032d4d1a added prototypal Riivolution patch output type 2022-08-27 15:00:16 +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
f2d27deb68 rewrote the ModSettings to be simpler 2022-08-21 20:35:49 +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
63bb989b05 adapted MKWF to latest change 2022-08-20 18:47:25 +02:00
32efccbd60 added @ operator shortcut for MKWColor to color a text 2022-08-20 18:11:45 +02:00
92f32aec80 calling method is only enabled for constant or env function. Disabled list comprehension. Function from the env. Added a test module for safe_eval too 2022-08-20 18:08:17 +02:00
601342ab20 can't use getattr to get method 2022-08-20 11:21:05 +02:00
056088f035 deepcopy have been moved to safe_function.py and can no longer copy a function / method 2022-08-20 11:10:23 +02:00
970f18f503 trying to translate without loading the translation file will now return the text key instead of raising an error 2022-08-20 10:30:16 +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
622f43c66e safe_eval now show the template in the error traceback 2022-08-20 00:00:07 +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
b035dcb6b7 added a todo 2022-08-19 19:29:59 +02:00
265f327302 safe_eval now allow method and function 2022-08-19 19:08:50 +02:00
b67517dc59 merged OriginalTrack and Slot to avoid confusion with the Track module 2022-08-19 18:50:33 +02:00
49c8353252 Slot is now a dataclass instead of a simple typehint (should now allow support for the abbreviated slot like LC, MMM, ...) 2022-08-18 23:04:01 +02:00
3bfcfe53e4 OriginalTrack is now a dataclass for better readability 2022-08-18 22:22:12 +02:00
025d985316 ModConfig have been converted to a dataclass to improve readability (no redundant __init__, __slots__ and from_json) 2022-08-18 21:34:27 +02:00
95f3943b02 AbstractModSettings.get now return an AbstractModSettings object instead of a dictionary of AbstractModSettings 2022-08-18 19:45:12 +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
1b579bec4c added a "Check" type for mod_settings (used for balancing option in MKWF) 2022-08-17 20:49:41 +02:00
ba4980e0b9 fix: If parameter where missing in StrEditor, the installer would still try to evaluate it in safe_eval, resulting in a crash 2022-08-17 19:42:41 +02:00
adec26c4c1 added note for settings that will enable the cheat mode 2022-08-17 19:15:28 +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
d3ca353ecd some fields of Rename and StrEditor patch now support MultipleSafeEval 2022-08-16 21:50:28 +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
65e7fb7118 fixed TrackGroup not being usable because of the get_ctfile that was missing argument 2022-08-15 22:02:55 +02:00
8c3d5c4005 added readthedocs help button 2022-08-15 20:40:59 +02:00
a8b454baa8 added the text for the main progress bar 2022-08-15 15:02:08 +02:00
3ad596f8c6 fixed the progress bar interderminate mode not being animated 2022-08-15 14:15:24 +02:00