From 444c0f6f9252a4fa35228675030e14a705c9fed5 Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Sun, 20 Jun 2021 09:59:44 +0200 Subject: [PATCH] game's ID is now MKFx01 and game name is "Mario Kart Wii Faraphel {self.VERSION}" --- source/install_mod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/install_mod.py b/source/install_mod.py index 784af07..96e62fb 100644 --- a/source/install_mod.py +++ b/source/install_mod.py @@ -117,7 +117,8 @@ def install_mod(self): shutil.rmtree(self.path_mkwf) self.Progress(statut=self.translate("Changement de l'ID du jeu"), add=1) - subprocess.run(["./tools/wit/wit", "EDIT", get_nodir(self.path_mkwf_format), "--id", "RMCP60"], # see to maybe change ID to MKWF + subprocess.run(["./tools/wit/wit", "EDIT", get_nodir(self.path_mkwf_format), "--id", + f"MKF{self.original_region_ID}01", "--name", f"Mario Kart Wii Faraphel {self.VERSION}"], creationflags=CREATE_NO_WINDOW, cwd=get_dir(self.path_mkwf_format), check=True, stdout=subprocess.PIPE)