pal-final: Get ROM fully matching

This commit is contained in:
Ryan Dwyer 2021-03-26 11:43:20 +10:00
parent 075ff177e4
commit 9583d0146e
3 changed files with 68 additions and 5 deletions

View File

@ -461,7 +461,7 @@ class Extractor:
'garbage1': [0x0, 0x2ea22, 0x2ea6c, 0x0, 0x2eb21, 0x0, ],
'files': [0x29160, 0x28080, 0x28080, 0x29b90, 0x28910, 0x28800, ],
'data': [0x30850, 0x39850, 0x39850, 0x39850, 0x39850, 0x39850, ],
'garbage2': [0x0, 0x1574a0, 0x157800, 0x0, 0x157800, 0x0, ],
'garbage2': [0x0, 0x1574a0, 0x157800, 0x0, 0x158038, 0x0, ],
'animations': [0x155dc0, 0x1a15c0, 0x1a15c0, 0x18cdc0, 0x18cdc0, 0x190c50, ],
'mpconfigs': [0x785130, 0x7d0a40, 0x7d0a40, 0x7bc240, 0x7bc240, 0x7c00d0, ],
'firingrange': [0x79e410, 0x7e9d20, 0x7e9d20, 0x7d5520, 0x7d5520, 0x7d93b0, ],

File diff suppressed because one or more lines are too long

View File

@ -109,6 +109,7 @@ def write_garbage_part(fd, addr, filename):
def write_garbage(fd):
if os.environ['ROMID'] == 'pal-final':
write_garbage_part(fd, 0x2eb21, 'garbage1.bin')
write_garbage_part(fd, 0x158038, 'garbage2.bin')
elif os.environ['ROMID'] == 'ntsc-final':
write_garbage_part(fd, 0x2ea6c, 'garbage1.bin')
write_garbage_part(fd, 0x157800, 'garbage2.bin')