Extracting NES Games from Multirom file (TANK -II - 1991)

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
rahulsteel
Posts: 1
Joined: Wed Dec 22, 2021 8:53 pm

Extracting NES Games from Multirom file (TANK -II - 1991)

Post by rahulsteel »

Hello All,

There is a particualr versin of a game - TANK - II - 1991. I'm just not able to find the NES rom, but was able to find it in a Multirom. is there any way I can extract just this game from the Multi ROM.

Attached is the 1200 NES Roms for reference.

Thanks
User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Extracting NES Games from Multirom file (TANK -II - 1991)

Post by Dwedit »

You may need to learn how to use a hex editor.

Run FCEUX
Run the multicart
Pick the game
Debug -> Hex Editor
File -> Dump to File -> 6502 64K (Save this as 'cpu.bin')
File -> Dump to File -> PPU Memory (Save this as 'ppu.bin')
Close FCEUX

Open CPU.bin in a hex editor
Delete the first 0x8000 bytes, save it

Open PPU.bin in a hex editor
Delete everything after 0x2000 bytes, save it

Make a new file in a hex editor
Set the first 16 bytes to 4E 45 53 1A 02 01 00 00 00 00 00 00 00 00 00 00 (that's "NES", 1A, 02, 01, then zeroes to fill 16 bytes)
Copy-paste the remaining contents of CPU.bin at the end of your new file
Copy-paste the remaining contents of PPU.bin at the end of your new file
You now have a NES file.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Post Reply