Anbernic RG35XXSP deleted my in-game save

Hello! I was playing Pokemon Fire Red for a few days using in-game saving without Retroarch save states. My sleep function was on “Sleep until wake” and I think I didnt close the game at all (with Menu + Start), but I made a lot of in-game saves.

Yesterday I left handheld in sleep mode for night. Today I booted the game and found out that my in-game save was deleted and the game loaded save from few days earlier. Checked the sd card, thats right, there was no save that I made yesterday. (I checked all folders)

Anbernic version is RG35XXSP with latest muOS.
1st SD card is stock
2st SD card is Sandisk 128gb (I keep saves here)

Please help, advice is needed:

Can I somehow revert it? How should I use this handheld to prevent such issue (save deletion) in the future?

UPD: Tried to recover lost data from SD card with WonderShare Recoverit, but old save is somehow gone.

UPD 2: Did some testing, save deletion happens when you 1) make in-game save; 2) reboot the handheld (press the R button) without closing game. Guess thats because in-game save is stored inside the game and is written on SD card, when the game shutdowns.
Can you fix this issue please?

Hi. If I understood correctly, you are using the RESET button while in game. This is not how it is supposed to be used. Check the following info in the FAQ:

thanks, I didnt know that reset button is so bad

1 Like

This is not an issue. That’s how retroarch works. The in game save is only written to disk when you properly close the game, via the menu+start shortcut, via the retroarch quick menu or via the sleep to shutdown function.
Unfortunately, you can’t recover a save that was never written to your storage.

Pressing reset or losing the battery charge while sleep both have the same outcome: you hard cut power to the running system/game and nothing is shutdown properly, so on top of not writing your saves to disk, you can even corrupt system files.
These devices are not smartphones with proper hardware that supports advanced sleep functions as we’re used too, so it is best not to rely on sleep for longer periods of time.

That can also be prejudicial for the gameplay, as if you never properly close the game and relaunch it, there’s a big chance that the emulated console ram will overflow, also breaking your playthrough. Again, nothing to do with muOS, that’s true even for real hardware, it is not an emulation quirk. It is just more commonly seen in emulation because you would rarely leave a real console on for more than 20 hours. :sweat_smile:

There are a couple of routes you may take to have a similar experience but prevent the losing of your data from happening in the future:
Use the sleep to shutdown function instead of sleep until wake, that way after the designed amount of time, if you’re not using the device again, the system will automatically shutdown, saving your current in game save to disk. You can pair it with the resume game boot option, so when you turn on the console, it will boot directly to the game that was being played when shutdown. You can also enable auto load state and auto save state in retroarch, so when it shuts down it create a save state of that point, and when you turn the console on, it boots to the game and loads that state, and you’ll be in the exact same state where you left, as if you just had the console set to sleep. To do that open retroarch via the applications menu, go to settings>saving and turn on the auto save state and auto load state options, then get back to retroarch’s main menu and go to configuration file and save current config.

Another option you can tweak in retroarch to assure you’re in game save is sporadically written to disk even without closing the content is the SaveRAM Autosave Interval in the same Settings>Saving menu in retroarch. This is not the best option as it will consume resources while playing and wear out your sd card faster than really necessary, but if you set something like a half an hour time it may not be a big hassle.

Sorry for the long ass essay, but I thought having it all set out in one post can help future users with similar issues to understand what’s happening and find alternative paths. :grinning_face_with_smiling_eyes:

2 Likes

thanks for explaining it so clear. I simply switched from sleep until wake to instant shutdown. didnt know about “SaveRAM Autosave Interval”, will look into it!

2 Likes