Saved State Format

Share saved states and game save files for the Retron 5 and Retro Freak.
Forum rules
Retron 5 and it's predecessors are trademarked Hyperkin, Inc. Retron name is copyright Hyperkin, Inc. Retro Freak is trademarked CYBER Gadget Corporation. Retro Freak name is copyright CYBER Gadget Corporation. Content found in these forums may be copyright the respective developers and studios which said content is associated with. Retro5.net makes no claim legal or otherwise to this content and user submitted content is not screened. That being said, please refrain from posting or linking to full rom files so that everyone leaves us alone. Sometimes dogs are round.

Saved State Format

Postby eltoddo » September 21st, 2014, 11:36 am

Just wondering if anyone has had a look at the saved state files. Is is possible to use these saved states in another emulator? I sent my RetroN5 back for RMA repair/replacement and want to continue playing my Final Fantasy IV GBA saved state in an emulator on my PC until my system is back. I was only a couple hours from finishing the game...

I've posted the saved state if anyone wants to have a look. Had to add .txt to the extension for it to attach.

I opened one of the .snapX in a text editor and found it starts with "RTN5" then the rest of the file is cryptic binary formatted data. Doesn't seem to be anything plain text in the save, but that's what I'd expect of a system RAM and Register dump.

Anyone figured out if their emulator is proprietary? It might help to know if they've reused existing emulator code.
Attachments
Final Fantasy IV Advance (USA, Australia).snap0.txt
Remove the .txt extension from the file to get it back to original name.
(87.55 KiB) Downloaded 228 times
eltoddo
 
Posts: 1
Joined: September 21st, 2014, 11:22 am

Re: Saved State Format

Postby Failrunner » September 21st, 2014, 12:49 pm

I tried using these save states and the cart saves on retroarch but it didn't work. It would be awesome if it did. Never tried it on pc though.
User avatar
Failrunner
 
Posts: 30
Joined: September 14th, 2014, 7:00 pm

Re: Saved State Format

Postby 1pil » December 31st, 2014, 3:32 pm

That's right. Save states used in R5 do NOT work on PC emulators. I can confirm that right now. Even the normal "SAV" files do nothing on pc emulators. Which is funny considering ".sav" extension is the exact same extension on most emulators....I can't even explain why emulators can't read it since it looks exactly the same. I even made sure the name of the file is the same as the rom file in order to attempt to load the save. But no. No luck....
User avatar
1pil
 
Posts: 67
Joined: December 31st, 2014, 3:15 pm

Re: Saved State Format

Postby hikaricore » December 31st, 2014, 5:55 pm

I can only speculate that the format is altered in some way to make it incompatible. *shrug*
User avatar
hikaricore
Site Admin
 
Posts: 167
Joined: May 22nd, 2014, 7:36 am
Location: United States

Re: Saved State Format

Postby Retron Tèch » January 14th, 2015, 12:01 am

We use a custom file format for saves, not to intentionally make it incompatible but rather to add compression and integrity protection. I'm happy to explain the format if anyone would like to work on PC-side tools.
User avatar
Retron Tèch
Hyperkin
 
Posts: 10
Joined: September 18th, 2014, 6:09 am
Location: Inside your RetroN 5

Re: Saved State Format

Postby 1pil » January 15th, 2015, 2:18 pm

Probably would be a waste of your time. I doubt there is a way to make them compatible with pc emulators. It's either they can be or can't be. I think its as simple as that. And even if there was a way to allow conversion to pc emulator, I don't know if there would be any way to convert it back to allow R5 to read it again, it'll probably end up corrupting the file.
User avatar
1pil
 
Posts: 67
Joined: December 31st, 2014, 3:15 pm

Re: Saved State Format

Postby hikaricore » January 15th, 2015, 4:25 pm

I'd like to see any details available on the format to be quite honest. Waste of time or not the more information the better
User avatar
hikaricore
Site Admin
 
Posts: 167
Joined: May 22nd, 2014, 7:36 am
Location: United States

Re: Saved State Format

Postby R9delta » January 15th, 2015, 5:25 pm

Same. Any information when it comes to the inner workings of the Retron 5 is valued and always appreciated "fruitless" as it may be seen (can't say i agree with that at all anyway) especially when it's offered up by someone who has worked extremely hard on the Retron themselves and played a huge part in making it what it is.
User avatar
R9delta
Patch Master
 
Posts: 467
Joined: September 14th, 2014, 12:07 pm

Re: Saved State Format

Postby Retron Tèch » January 15th, 2015, 10:46 pm

The Retron save format is simply a wrapper for any arbitrary data. We deal with two types of saves: snapshots, which are not trivially portable, and SRAM saves which can be used with PC emulators etc. The same Retron save wrapper is used for both types, so any PC tool would inherently be able to deal with both - although I think only the SRAM saves would be of any value.

I'll post some further info when time permits.
User avatar
Retron Tèch
Hyperkin
 
Posts: 10
Joined: September 18th, 2014, 6:09 am
Location: Inside your RetroN 5

Re: Saved State Format

Postby R9delta » January 15th, 2015, 11:28 pm

I had a feeling SRAM data wouldn't be too hard to convert over, thanks! Yeah any more info about it would be awesome if and when you get the time :) Thanks again so much
User avatar
R9delta
Patch Master
 
Posts: 467
Joined: September 14th, 2014, 12:07 pm

Next

Return to Save Data

Who is online

Users browsing this forum: No registered users and 1 guest

cron