From bd52034cc6e2935df1df491c229476b627a057d3 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Tue, 12 Jul 2022 22:05:11 +0200 Subject: [PATCH] a patch for Menu.bmg was done to Common.bmg --- .../message/Common.bmg.json | 26 ------------------- .../message/{Common.bmg => Menu.bmg} | 0 .../message/Menu.bmg.json | 26 +++++++++++++++++++ 3 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg.json rename Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/{Common.bmg => Menu.bmg} (100%) create mode 100644 Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg.json diff --git a/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg.json b/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg.json deleted file mode 100644 index d58cc29..0000000 --- a/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "mode": "edit", - - "operation": { - "bmg-edit": { - "layers": [{ - "mode": "regex", - "template": { - "CWF de Nintendo": "{{ONLINE_SERVICE}}", - "Wi-Fi Nintendo": "{{ONLINE_SERVICE}}", - "CWF Nintendo": "{{ONLINE_SERVICE}}", - "Nintendo WFC": "{{ONLINE_SERVICE}}", - "Wi-Fi": "{{ONLINE_SERVICE}}", - "インターネット": "{{ONLINE_SERVICE}}", - - "Menu principal": "{{MOD_NICKNAME}} {{MOD_VERSION}} {{MOD_CUSTOMIZED}}", - "Menú principal": "{{MOD_NICKNAME}} {{MOD_VERSION}} {{MOD_CUSTOMIZED}}", - "Main Menu": "{{MOD_NICKNAME}} {{MOD_VERSION}} {{MOD_CUSTOMIZED}}", - "トップメニュー": "{{MOD_NICKNAME}} {{MOD_VERSION}} {{MOD_CUSTOMIZED}}", - - "Mario Kart Wii": "{{MOD_NICKNAME}} {{MOD_VERSION}} {{MOD_CUSTOMIZED}}" - } - }] - } - } -} \ No newline at end of file diff --git a/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg b/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg similarity index 100% rename from Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Common.bmg rename to Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg diff --git a/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg.json b/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg.json new file mode 100644 index 0000000..8cb4aea --- /dev/null +++ b/Pack/MKWFaraphel/specific/_PATCH/files/Scene/UI/CommonLanguageMenu.d/message/Menu.bmg.json @@ -0,0 +1,26 @@ +{ + "mode": "edit", + + "operation": { + "bmg-edit": { + "layers": [{ + "mode": "regex", + "template": { + "(.*)CWF de Nintendo(.*)": "\\1Wiimmfi\\2", + "(.*)Wi-Fi Nintendo(.*)": "\\1Wiimmfi\\2", + "(.*)CWF Nintendo(.*)": "\\1Wiimmfi\\2", + "(.*)Nintendo WFC(.*)": "\\1Wiimmfi\\2", + "(.*)Wi-Fi(.*)": "\\1Wiimmfi\\2", + "(.*)インターネット(.*)": "\\1Wiimmfi\\2", + + "(.*)Menu principal(.*)": "\\1{{getattr(mod_config, 'nickname')}} {{getattr(mod_config, 'version')}}\\2", + "(.*)Menú principal(.*)": "\\1{{getattr(mod_config, 'nickname')}} {{getattr(mod_config, 'version')}}\\2", + "(.*)Main Menu(.*)": "\\1{{getattr(mod_config, 'nickname')}} {{getattr(mod_config, 'version')}}\\2", + "(.*)トップメニュー(.*)": "\\1{{getattr(mod_config, 'nickname')}} {{getattr(mod_config, 'version')}}\\2", + + "(.*)Mario Kart Wii(.*)": "\\1{{getattr(mod_config, 'nickname')}} {{getattr(mod_config, 'version')}}\\2" + } + }] + } + } +} \ No newline at end of file