game's ID is now MKFx01 and game name is "Mario Kart Wii Faraphel {self.VERSION}"

This commit is contained in:
raphael60650 2021-06-20 09:59:44 +02:00
parent 0e491c591e
commit 444c0f6f92

View file

@ -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)