From c232a8e328f34cc0816f168c25d819b5f12c3466 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Sat, 6 Aug 2022 22:00:27 +0200 Subject: [PATCH] renamed special ct_icon to ct_icons --- .../Scene/UI/CommonMenu.d/button/timg/ct_icons.tpl.png.json | 2 +- .../Scene/UI/CommonMenu.d/control/timg/ct_icons.tpl.png.json | 2 +- source/mkw/ExtractedGame.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/button/timg/ct_icons.tpl.png.json b/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/button/timg/ct_icons.tpl.png.json index a9ee035..df02cc7 100644 --- a/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/button/timg/ct_icons.tpl.png.json +++ b/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/button/timg/ct_icons.tpl.png.json @@ -1,6 +1,6 @@ { "operation": { - "special": {"name": "ct_icon"}, + "special": {"name": "ct_icons"}, "img-encode": {"encoding": "TPL.CMPR"} } } \ No newline at end of file diff --git a/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/control/timg/ct_icons.tpl.png.json b/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/control/timg/ct_icons.tpl.png.json index a9ee035..df02cc7 100644 --- a/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/control/timg/ct_icons.tpl.png.json +++ b/Pack/MKWFaraphel/essentials/_PATCH/files/Scene/UI/CommonMenu.d/control/timg/ct_icons.tpl.png.json @@ -1,6 +1,6 @@ { "operation": { - "special": {"name": "ct_icon"}, + "special": {"name": "ct_icons"}, "img-encode": {"encoding": "TPL.CMPR"} } } \ No newline at end of file diff --git a/source/mkw/ExtractedGame.py b/source/mkw/ExtractedGame.py index 0aadc16..09a9926 100644 --- a/source/mkw/ExtractedGame.py +++ b/source/mkw/ExtractedGame.py @@ -86,7 +86,7 @@ class ExtractedGame: ct_icons = BytesIO() mod_config.get_full_cticon().save(ct_icons, format="PNG") ct_icons.seek(0) - self._special_file["ct_icon"] = ct_icons + self._special_file["ct_icons"] = ct_icons def prepare_dol(self) -> Generator[dict, None, None]: """