mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-24 07:05:34 -07:00
Update extract_assets.py
This commit is contained in:
parent
712cebc76a
commit
a37c2ddf39
1 changed files with 3 additions and 0 deletions
|
@ -64,9 +64,11 @@ def checkChecksum(rom):
|
||||||
print("Compatible roms:")
|
print("Compatible roms:")
|
||||||
for compat in CompatibleChecksums:
|
for compat in CompatibleChecksums:
|
||||||
print(compat.name+" | 0x"+compat.value)
|
print(compat.name+" | 0x"+compat.value)
|
||||||
|
input("Press Enter to quit the program")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
print("Wrong rom! No valid checksum found")
|
print("Wrong rom! No valid checksum found")
|
||||||
|
input("Press Enter to quit the program")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -81,6 +83,7 @@ def main():
|
||||||
|
|
||||||
if not (roms):
|
if not (roms):
|
||||||
print("Error: No roms located, place one in the OTRExporter directory", file=os.sys.stderr)
|
print("Error: No roms located, place one in the OTRExporter directory", file=os.sys.stderr)
|
||||||
|
input("Press Enter to quit the program")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if (len(roms) > 1):
|
if (len(roms) > 1):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue