typo2
parent
d09df67d39
commit
bf52b51426
|
@ -4674,13 +4674,13 @@ def patch_game():
|
|||
apply_to_files(patch, source, target)
|
||||
except:
|
||||
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!')
|
||||
sys.exit(1)
|
||||
|
||||
checksum = fileHash(os.path.join('.', 'seeds', '{}.gba'.format(FileName)))
|
||||
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.')
|
||||
sys.exit(1)
|
||||
# WARNING: Decompyle incomplete
|
||||
|
|
Loading…
Reference in New Issue