Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.51k stars 164 forks source link

Saves lost when "incorrectly" exiting Lemuroid #594

Open LuanHimmlisch opened 1 year ago

LuanHimmlisch commented 1 year ago

On any ROM (from GBA at least) when Lemuroid is exited in any other way that is not from the "Exit" option, the native ROM saves are lost and when opening the same ROM again, it loads the data from the last time the ROM was "correctly" exited.

You can try reproduce this very easily by just removing the app from processes or trying the very concerning, disastrous and deadly combo with issue #593

cjseaslug commented 1 year ago

This is happening to me with a GBC game, coupled with freezing of Lemuroid after phone sleep (game still running, sound still playing but virtual buttons and UI unresponsive) which means i have no chance to exit properly.

jonsayer commented 1 year ago

I am experiencing a similar issue.

To reduce the chance of a lost save, better behavior would be to resume where the user was when the app was minimized.

This is on a Google pixel 3a, app version 1.14.4.

This issue alone is keeping me from adopting Lemuroid as my daily-driver emulator! I have lost too many game states!

FoxBlocks commented 1 year ago

I am having the same issue, and it's becoming frustrating. I wish there were an all-in-one emulation app that had touch controls as good as Lemuroid's that I could use in the meantime, but there isn't.

EmberHeartshine commented 1 year ago

This issue persists through 1.15.0 (F-Droid version). It really makes no sense why memory card saves are wiped in this way. Memory cards shouldn't get touched at all unless the game is preforming am operation.

Save states getting messed up, sure. But memory card saves too?

rodrigozangelmi commented 10 months ago

Same, and it's so easy to leave by accident on a phone 🥲

FoxBlocks commented 10 months ago

Same, and it's so easy to leave by accident on a phone 🥲

Sometimes the app will softlock on a black screen when I unlock my phone, forcing me to close the app.

lveillard commented 8 months ago

Faced the same issue, lost two savegames already because of this. I had to uninstall lemuroid and use pizzaboy instead :(

FoxBlocks commented 8 months ago

I switched to playing my games with RetroArch on my modded Switch with Android. It's been working great!

seriouslyunderappreciated commented 3 months ago

This is such an excellent emulator, please fix this.

zachHixson commented 3 months ago

Just chiming in that I experienced this myself. Opened the emulator after months and multiple phone restarts, and the game started up with a save state right where I left off. Played the game for a while, manually saved multiple times, but after exiting "incorrectly," the next time I started the game my save was all the way back at the beginning.

seriouslyunderappreciated commented 3 months ago

So I built the latest Lemuroid from Swordfish90's project page, but added this commit from newhinton:

https://github.com/Swordfish90/Lemuroid/pull/545/commits/ff49b7db8a0bc5819eafe2498652d721afa388e0

And I can say that everything has been working absolutely perfectly for me.