goweiwen / Allium

A custom launcher for the Miyoo Mini and Miyoo Mini Plus handheld devices
GNU General Public License v3.0
129 stars 13 forks source link

Stuck in a weird resume loop #57

Open tomh79 opened 5 months ago

tomh79 commented 5 months ago

While playing Chrono Trigger, I tried to save a state. But the „saving xx%“ message never completed. So I tried to quit the game which did not work. Force power off worked but any time I power on the device, I‘m back in the game which I cannot quit. Quit does nothing. Going to the Retroarch Menu and select „Quit Retroarch“ freezes everything and I habe to force quit again. Which File do I have to delete to nake the OS boot normally and not directly into the game? Thanks!!

bderenzo commented 5 months ago

I had the same problem recently, I deleted the following files and everything went back to normal:

/mnt/sdcard/.allium/state/current_game
/mnt/sdcard/.allium/state/allium-launcher.json
tomh79 commented 5 months ago

Thanks a lot! I suspect it could be a faulty SD which somehow made the save state progress fail. And force quitting it made it stuck in this loop.

goweiwen commented 5 months ago

I'm not too sure, but the saving issue might be caused by the device running out of memory as well.

I'll try to add a method to detect such boot failures and fallback to not resuming the game.

bderenzo commented 5 months ago

I had the same problem but in a different case. It wasn't related to disk space but to a problem with a (probably) non-functional ROM. It was a ROM for PICO-8 that wouldn't start up correctly, I kept getting stuck on the PICO-8 emulator configuration screen, Allium's menu only displaying 3 choices:

The quit choice returned me to the PICO-8 emulator configuration screen.