diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2025-04-12 22:17:27 -0400 |
|---|---|---|
| committer | louist103 <35883445+louist103@users.noreply.github.com> | 2025-04-12 22:17:27 -0400 |
| commit | a7336048705a0814d65c63435cdabcb70bcc27c7 (patch) | |
| tree | 68dd5ffb3b4c14ac3edcdcec7272e34c0fa1efe8 | |
| parent | 461ab19a36cde807591543397e136cae19aa6e7c (diff) | |
Fix for MM
| -rwxr-xr-x | extract_assets.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extract_assets.py b/extract_assets.py index 78578ab..b3551bf 100755 --- a/extract_assets.py +++ b/extract_assets.py @@ -14,13 +14,13 @@ def BuildOTR(xmlRoot, xmlVersion, rom, isMM, zapd_exe=None, genHeaders=None, cus xmlPath = os.path.join(xmlRoot, xmlVersion) exec_cmd = [zapd_exe, "ed", "-i", xmlPath, "-b", rom, "-fl", "assets/extractor/filelists", "-o", "placeholder", "-osf", "placeholder", "-rconf"] + configFileStr = "assets/extractor/Config_" + xmlVersion + ".xml" + exec_cmd.extend([configFileStr]) + otrFileName = "oot.o2r" if isMM: - exec_cmd.extend(["CFG/Config_MM.xml"]) otrFileName = "mm.o2r" - else: - configFileStr = "assets/extractor/Config_" + xmlVersion + ".xml" - exec_cmd.extend([configFileStr]) + # generate headers, but not otrs by excluding the otr exporter if genHeaders: |
