Commit graph

106 commits

Author SHA1 Message Date
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
c12f517311 Fixed Boost track being in retro cups 2022-08-28 11:08:50 +02:00
512a056bef added missing cup icons for MKWF 2022-08-28 00:37:04 +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
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
63bb989b05 adapted MKWF to latest change 2022-08-20 18:47:25 +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
443d16b28c MKWColor is now a dataclass to improve readability 2022-08-19 20:16:48 +02:00
1b579bec4c added a "Check" type for mod_settings (used for balancing option in MKWF) 2022-08-17 20:49:41 +02:00
23149d30da added a settings to disable the balancing (will enable the cheat mode) 2022-08-17 19:45:44 +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
6ecf752b6d reorganised PatchObject, PatchFile and PatchDirectory to make them more readable. mode="edit" have been replaced by source="game" | "patch". "overwrite" -> "replace". 2022-08-14 21:52:07 +02:00
781e564dd2 implemented SzsEdit to allow easier track modification (changing laps count, ...) 2022-08-14 19:17:26 +02:00
1c55ced628 added _PREPATCH. Same as _PATCH, but is applied before the lecode patch. 2022-08-14 13:55:51 +02:00
95c9b4a1e2 fixed an issue with arenas name not being correctly patched 2022-08-14 09:10:02 +02:00
ed96832282 removed default_track in MKWF since it is no longer necessary 2022-08-13 12:17:17 +02:00
cd61ce59c4 fixed "tags_template" to "tags_templates" 2022-08-11 18:56:59 +02:00
99287bbd56 started making a AbstractTrack class to implement more type of "track".
Removed get_suffix and get_prefix to replace them with get_tag_template and tags_template in mod_config.json
2022-08-10 22:33:10 +02:00
47da0f0be4 global_settings can now be modified in mod_config.json (to change default value for example), but you can't add your own global_settings. Merged track_new_if with override_randm_rew to the global settings replace_random_new 2022-08-07 23:04:06 +02:00
cc41a22a82 implemented highlight_if option 2022-08-07 14:45:06 +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
c232a8e328 renamed special ct_icon to ct_icons 2022-08-06 22:00:27 +02:00
13bf66c94e mod settings name can now be translated in the settings window 2022-08-02 22:02:25 +02:00
d1b17e0a77 the lpar file is now customizable with the mod settings function 2022-08-01 23:06:21 +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
b4e52cfe58 started implementing ModSettings (only gui testing for now) 2022-07-31 00:03:19 +02:00
d615bbccb6 added the interface for the mod settings 2022-07-28 20:03:38 +02:00
f451f3bf51 now using bmg_color_text instead of \\c in the bmg patch 2022-07-26 23:46:29 +02:00
cc3e249bb3 now using bmg_color_text instead of \\c in the bmg patch 2022-07-26 23:44:07 +02:00
0555539543 added custom message for when an installation end 2022-07-25 23:52:31 +02:00
eef7976349 MKWF now use macros 2022-07-25 18:47:55 +02:00
cb5d2a6c14 renamed all the wu8 to wbz to fit the correct extension 2022-07-22 15:03:21 +02:00
69acaafb6e renamed all the wu8 to wbz to fit the correct extension 2022-07-22 14:45:47 +02:00
e570291b23 renamed all the wu8 to wbz to fit the correct extension 2022-07-22 14:42:14 +02:00
13c7e1d165 track with warnings will be shown as "/" in multiplayers menu 2022-07-21 17:05:38 +02:00
4604aae270 renamed "multiplayer_use_default_track_if" to "multiplayer_disable_if" 2022-07-21 16:02:42 +02:00
ab64541b91 added warning colors to stars 2022-07-21 15:55:08 +02:00
66ced040d7 implemented "multiplayer_use_default_track_if" 2022-07-21 15:07:11 +02:00
448170dad9 simplified cat_data to use list instead of dict 2022-07-21 00:33:38 +02:00
d70f6911b2 preparing functionality to replace some track by the default one in multiplayer 2022-07-20 23:50:17 +02:00
150f0d6e60 added FormatOriginalTrackLayer, allowing for patching originals tracks name like the custom tracks (with tags name, ...) 2022-07-20 23:47:28 +02:00
a078a4848b fixed some tags that were in the name instead of the tags list 2022-07-20 12:29:49 +02:00
5d448369ee added color to prefix and suffix 2022-07-20 12:19:35 +02:00
83f19324bf renamed DS3 to 3DS 2022-07-19 20:13:09 +02:00
e204efc28a default track are no longer visible 2022-07-19 20:12:59 +02:00
9c91ff65b1 [WIP] Added text for tracks in menu and race (race contains authors username) 2022-07-19 18:47:09 +02:00
5207e18928 get_ctfile now have a template option for the track name 2022-07-19 15:39:55 +02:00