From 85276b6a52b77d23c0df7d0e2ce27cd58c64fc8e Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Mon, 22 Nov 2021 17:26:27 +0100 Subject: [PATCH] preparing better handling for bmg patch --- file_process.json | 30 ++++++++++++++++++++++++++++++ requirements.txt | 1 + 2 files changed, 31 insertions(+) diff --git a/file_process.json b/file_process.json index c3a8fe2..a2fa696 100644 --- a/file_process.json +++ b/file_process.json @@ -1,4 +1,34 @@ { + "bmg": [ + { + "mode": "overwrite_id", + "language": "fr", + "data": { + "0x703e": "\\\\c{{white}}{self.gui.translate('Random: All tracks', lang=bmglang)}\n", + "0x703f": "\\\\c{{white}}{self.gui.translate('Random: Original tracks', lang=bmglang)}\n", + "0x7040": "\\\\c{{white}}{self.gui.translate('Random: Custom Tracks', lang=bmglang)}\n", + "0x7041": "\\\\c{{white}}{self.gui.translate('Random: New tracks', lang=bmglang)}\n" + } + }, + { + "mode": "replace_text", + "data": { + "CWF de Nintendo": "{NINTENDO_CWF_REPLACE}", + "Wi-Fi Nintendo": "{NINTENDO_CWF_REPLACE}", + "CWF Nintendo": "{NINTENDO_CWF_REPLACE}", + "Nintendo WFC": "{NINTENDO_CWF_REPLACE}", + "Wi-Fi": "{NINTENDO_CWF_REPLACE}", + "インターネット": "{NINTENDO_CWF_REPLACE}", + + "Menu principal": "{MAINMENU_REPLACE}", + "Menú principal": "{MAINMENU_REPLACE}", + "Main Menu": "{MAINMENU_REPLACE}", + "トップメニュー": "{MAINMENU_REPLACE}", + + "Mario Kart Wii": "{MAINMENU_REPLACE}" + } + } + ], "img": { "tt_hatena_64x64.tpl.png": "TPL.RGB5A3", "tt_obi_bottom_curve_000.tpl.png": "TPL.RGB5A3", diff --git a/requirements.txt b/requirements.txt index d81c940..92ea7d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests pillow cx_Freeze +fstring \ No newline at end of file