euan-forrester / save-file-converter

Converter for retro console save files to and from MiSTer, flash cartridges, Nintendo Switch Online, and save states from online emulation websites. Convert .srm to .sav and .sav to .srm. Convert files found around the Internet: All common formats for NES/SNES/GBA/N64/TG16/SMS/Genesis/Neo Geo/PS1 supported. Decrypt PSP saves.
https://savefileconverter.com
GNU General Public License v3.0
144 stars 5 forks source link

Different save states are generated by other emulation site #313

Closed euan-forrester closed 2 months ago

euan-forrester commented 4 months ago

The site is www[.]retrogames[.]onl

Example save state for Pokemon Leaf Green: 38.state.zip

This file is shorter than the 0x93010 offset we usually use for GBA games, so our site at least correctly displays an error.

It's hard to tell from Pokemon games whether the in-game save is contained within this. We'll have to test with something more obvious like Zelda.

euan-forrester commented 3 months ago

Tried this site for GB games and got this file: legend-zelda-link-awakening-dx.state.zip

Which contains this in-game save: legend-zelda-link-awakening-dx.sav.zip

Save is at offset 0x74F. Offset 0x747 contains the text sram. Offset 0x74D appears to contain the save size in bytes. More testing needed for different save sizes to confirm.

euan-forrester commented 3 months ago

Tried the site for GBA games and got this file: zelda-minish-cap.state.zip

Which contains this in-game save: zelda-minish-cap.sav.zip

Save is at offset 0x61030. Save size is potentially at offset 0x61005 or 0x61000, or maybe not.