Merge pull request #14 from Faraphel/dev

v0.6 fix
This commit is contained in:
Faraphel 2021-06-16 08:50:18 +02:00 committed by GitHub
commit 2a9eeb49e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 2 deletions

24
fs.json
View file

@ -25,16 +25,22 @@
"Scene/UI/*_E.szs": {"/message/Common.bmg": "Common_E.bmg"}, "Scene/UI/*_E.szs": {"/message/Common.bmg": "Common_E.bmg"},
"Scene/UI/*_U.szs": {"/message/Common.bmg": "Common_E.bmg"},
"Scene/UI/*_F.szs": {"/message/Common.bmg": "Common_F.bmg"}, "Scene/UI/*_F.szs": {"/message/Common.bmg": "Common_F.bmg"},
"Scene/UI/*_Q.szs": {"/message/Common.bmg": "Common_F.bmg"},
"Scene/UI/*_G.szs": {"/message/Common.bmg": "Common_G.bmg"}, "Scene/UI/*_G.szs": {"/message/Common.bmg": "Common_G.bmg"},
"Scene/UI/*_I.szs": {"/message/Common.bmg": "Common_I.bmg"}, "Scene/UI/*_I.szs": {"/message/Common.bmg": "Common_I.bmg"},
"Scene/UI/*_S.szs": {"/message/Common.bmg": "Common_S.bmg"}, "Scene/UI/*_S.szs": {"/message/Common.bmg": "Common_S.bmg"},
"Scene/UI/*_M.szs": {"/message/Common.bmg": "Common_S.bmg"},
"Scene/UI/Race_E.szs": {"/message/Common.bmg": "Common_RE.bmg"}, "Scene/UI/Race_E.szs": {"/message/Common.bmg": "Common_RE.bmg"},
"Scene/UI/Race_U.szs": {"/message/Common.bmg": "Common_RE.bmg"},
"Scene/UI/Race_F.szs": {"/message/Common.bmg": "Common_RF.bmg"}, "Scene/UI/Race_F.szs": {"/message/Common.bmg": "Common_RF.bmg"},
"Scene/UI/Race_Q.szs": {"/message/Common.bmg": "Common_RF.bmg"},
"Scene/UI/Race_G.szs": {"/message/Common.bmg": "Common_RG.bmg"}, "Scene/UI/Race_G.szs": {"/message/Common.bmg": "Common_RG.bmg"},
"Scene/UI/Race_I.szs": {"/message/Common.bmg": "Common_RI.bmg"}, "Scene/UI/Race_I.szs": {"/message/Common.bmg": "Common_RI.bmg"},
"Scene/UI/Race_S.szs": {"/message/Common.bmg": "Common_RS.bmg"}, "Scene/UI/Race_S.szs": {"/message/Common.bmg": "Common_RS.bmg"},
"Scene/UI/Race_M.szs": {"/message/Common.bmg": "Common_RS.bmg"},
"Boot/Strap/eu/Dutch.szs": { "Boot/Strap/eu/Dutch.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456de", "/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456de",
@ -48,12 +54,24 @@
"/Textures(NW4R)/strapA_608x456": "strapA_608x456en", "/Textures(NW4R)/strapA_608x456": "strapA_608x456en",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456en" "/Textures(NW4R)/strapB_608x456": "strapA_608x456en"
}, },
"Boot/Strap/us/English.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456en",
"/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456en",
"/Textures(NW4R)/strapA_608x456": "strapA_608x456en",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456en"
},
"Boot/Strap/eu/French.szs": { "Boot/Strap/eu/French.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456fr", "/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456fr",
"/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456fr", "/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456fr",
"/Textures(NW4R)/strapA_608x456": "strapA_608x456fr", "/Textures(NW4R)/strapA_608x456": "strapA_608x456fr",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456fr" "/Textures(NW4R)/strapB_608x456": "strapA_608x456fr"
}, },
"Boot/Strap/us/French.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456fr",
"/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456fr",
"/Textures(NW4R)/strapA_608x456": "strapA_608x456fr",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456fr"
},
"Boot/Strap/eu/German.szs": { "Boot/Strap/eu/German.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456ge", "/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456ge",
"/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456ge", "/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456ge",
@ -72,6 +90,12 @@
"/Textures(NW4R)/strapA_608x456": "strapA_608x456es", "/Textures(NW4R)/strapA_608x456": "strapA_608x456es",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456es" "/Textures(NW4R)/strapB_608x456": "strapA_608x456es"
}, },
"Boot/Strap/eu/Spanish_US.szs": {
"/Textures(NW4R)/strapA_16_9_832x456": "strapA_16_9_832x456es",
"/Textures(NW4R)/strapB_16_9_832x456": "strapA_16_9_832x456es",
"/Textures(NW4R)/strapA_608x456": "strapA_608x456es",
"/Textures(NW4R)/strapB_608x456": "strapA_608x456es"
},
"Boot/": "savebanner.tpl", "Boot/": "savebanner.tpl",
"thp/*/*.thp": "video.thp", "thp/*/*.thp": "video.thp",

View file

@ -73,11 +73,12 @@ def __init__(self):
if not(os.path.exists(self.path_mkwf)): break if not(os.path.exists(self.path_mkwf)): break
directory_name, i = f"MKWiiFaraphel ({i})", i + 1 directory_name, i = f"MKWiiFaraphel ({i})", i + 1
if os.path.exists(self.path_mkwf + "/DATA/"): self.path_mkwf += "/DATA/"
self.Progress(show=True, indeter=True, statut=self.translate("Extraction du jeu...")) self.Progress(show=True, indeter=True, statut=self.translate("Extraction du jeu..."))
subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name] subprocess.call(["./tools/wit/wit", "EXTRACT", get_nodir(path), "--DEST", directory_name]
, creationflags=CREATE_NO_WINDOW, cwd=get_dir(path)) , creationflags=CREATE_NO_WINDOW, cwd=get_dir(path))
if os.path.exists(self.path_mkwf + "/DATA"): self.path_mkwf += "/DATA"
self.Progress(show=False) self.Progress(show=False)
else: else: