bubble2k16 / snes9x_3ds

SNES9x Port for 3DS / 2DS
458 stars 63 forks source link

Support for Super Metroid / A Link to the Past crossover randomized roms #94

Closed justinweiss closed 4 years ago

justinweiss commented 5 years ago

The Super Metroid / A Link to the Past crossover randomizer (https://smalttp.speedga.me/randomizer) smashes both roms together and scatters the items in between the two games. I think it creates a 48 megabit ExHiROM, with SRAM extended to fit both games.

It works under RetroArch 3ds' snes9x 1.52.4, but at about 30-40FPS. Under snes9x 1.43-based emulators (including this one), it won't proceed past starting a new game through Super Metroid -- you get a black screen with the music continuing to play.

I don't know if fixing whatever is causing that problem is possible, but if it is, it'd be awesome to be able to play it on the 3ds!

justinweiss commented 5 years ago

I think I've figured this out -- the ROM uses a0/a1 for SRAM data. According to fullsnes.txt and later versions of snes9x, HiROM can store data in 20-3f and a0-bf, so that should be OK. But this version only allows 30-3f and b0-bf.

It's an easy fix, and I'll send a PR after I've had a chance to try the ROM out a little bit more with the change.