mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
pal-final: Get closer to fully matching
This commit is contained in:
1 parent
e34fab7ab2
commit
297a658088
5 files changed
+21
-11
No files matched your search
+1
-1
@@ -458,7 +458,7 @@ class Extractor:
|
||||
vals = {
|
||||
# ntsc-beta ntsc-1.0 ntsc-final pal-beta pal-final jpn-final
|
||||
'game': [0x43c40, 0x4fc40, 0x4fc40, 0x4fc40, 0x4fc40, 0x4fc40, ],
|
||||
'garbage1': [0x0, 0x2ea22, 0x2ea6c, 0x0, 0x2ea6c, 0x0, ],
|
||||
'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, ],
|
||||
|
||||
+3
-1
@@ -107,7 +107,9 @@ def write_garbage_part(fd, addr, filename):
|
||||
fd.write(binary)
|
||||
|
||||
def write_garbage(fd):
|
||||
if os.environ['ROMID'] == 'ntsc-final':
|
||||
if os.environ['ROMID'] == 'pal-final':
|
||||
write_garbage_part(fd, 0x2eb21, 'garbage1.bin')
|
||||
elif os.environ['ROMID'] == 'ntsc-final':
|
||||
write_garbage_part(fd, 0x2ea6c, 'garbage1.bin')
|
||||
write_garbage_part(fd, 0x157800, 'garbage2.bin')
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user