Lucent 2023-10-11 12:31:13 +02:00
parent bf52b51426
commit 28f2adc3d1
1 changed files with 2 additions and 0 deletions

View File

@ -4664,6 +4664,8 @@ def patch_game():
for x in HashValue: for x in HashValue:
FileName = FileName + ' {}'.format(x) FileName = FileName + ' {}'.format(x)
if Debug: if Debug:
# FIXME: whenever Kazuto decides to drop the original ASM reintroduce debug mode
# armips is FOSS and further documentation should be provided on how to build it
os.system('.\\armips\\armips.exe "Metroid Fusion Open Randomizer.asm" -root ".\\data\\asm" -sym ".\\temp.sym"') os.system('.\\armips\\armips.exe "Metroid Fusion Open Randomizer.asm" -root ".\\data\\asm" -sym ".\\temp.sym"')
os.replace('.\\data\\MFOR.gba', '.\\seeds\\{}.gba'.format(FileName)) os.replace('.\\data\\MFOR.gba', '.\\seeds\\{}.gba'.format(FileName))
else: else: