mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-11 12:05:09 -05:00
Fixed bug in extract_assets.py that caused wrong XML folder to be used
Also removed duplicate python script in soh folder.
This commit is contained in:
parent
53e45e879e
commit
caebcc4f9a
@ -132,13 +132,13 @@ def main():
|
|||||||
else:
|
else:
|
||||||
romToUse = roms[0]
|
romToUse = roms[0]
|
||||||
|
|
||||||
match checkChecksum(romToUse).name:
|
match checkChecksum(romToUse):
|
||||||
case Checksums.OOT_PAL_GC:
|
case Checksums.OOT_PAL_GC:
|
||||||
xmlVer = "GC_NMQ_PAL_F"
|
xmlVer = "GC_NMQ_PAL_F"
|
||||||
case Checksums.OOT_PAL_GC_DBG1:
|
case Checksums.OOT_PAL_GC_DBG1:
|
||||||
xmlVer = "GC_MQ_D"
|
|
||||||
case _: # default case
|
|
||||||
xmlVer = "GC_NMQ_D"
|
xmlVer = "GC_NMQ_D"
|
||||||
|
case _: # default case
|
||||||
|
xmlVer = "GC_MQ_D"
|
||||||
|
|
||||||
if (os.path.exists("Extract")):
|
if (os.path.exists("Extract")):
|
||||||
shutil.rmtree("Extract")
|
shutil.rmtree("Extract")
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user