typo2
parent
d09df67d39
commit
bf52b51426
|
@ -4674,13 +4674,13 @@ def patch_game():
|
||||||
apply_to_files(patch, source, target)
|
apply_to_files(patch, source, target)
|
||||||
except:
|
except:
|
||||||
target.close()
|
target.close()
|
||||||
os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName))
|
os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
||||||
print('Error: failed to patch game with base patch!')
|
print('Error: failed to patch game with base patch!')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
checksum = fileHash(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
checksum = fileHash(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
||||||
if checksum != 2455114263:
|
if checksum != 2455114263:
|
||||||
os.remove(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
os.unlink(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
||||||
print('Error: Base patch file has been modified. Please go to https://metroidconstruction.com/ and re-download MFOR.')
|
print('Error: Base patch file has been modified. Please go to https://metroidconstruction.com/ and re-download MFOR.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
# WARNING: Decompyle incomplete
|
# WARNING: Decompyle incomplete
|
||||||
|
|
Loading…
Reference in New Issue