-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System freezes if a save state from a DraStic game is loaded immediately after booting up #1406
Comments
Since users may get stuck on boot, and one of the main features of 4.3.0 is DraStic support, I believe this should be investigated before the general availability of 4.3.0. I'd be happy to provide more details and test any patches. |
Thanks for your feedback, however I can't reproduce this bug following the given steps on my miyoo mini.
|
I'm on the Miyoo Mini+, if that helps. It does not seem to happen every time. I'll go back to using GameSwitcher as my "Start application" for the next few days to see if I can gather more information and keep this thread updated.
I'm not sure. It only happened to me with this game. Since a different user on Reddit ran into the same bug, I find it unlikely that we were playing the same game, but that's possible.
Sure. I've also included network services and date/time settings as they also influence things that can start on boot. SystemStartup
Date and time
Network
|
Thanks for your detailed report. |
I think I might be the other person on reddit that is also having this issue. I have a regular mini so I dont think its a mmp issue. I tried flashing to a different sd card but that did not help. I have experienced it on Mario Kart DS (USA, Australia) (En,Fr,De,Es,It).nds, and a pokemon platinum romhack made from Pokemon - Platinum Version (USA) (Rev 1).nds. Im trying to test other games but my Miyoo is stuck in the frozen loop and I am having trouble getting it out. Will update if I get more info. |
Well I was able to get out of the boot loop by deleting my drastic save states using my pc, so it definitely seems to be an issue with it loading the save state. |
Just also reproduced it with Dragon Quest IX - Sentinels of the Starry Skies (USA) (En,Fr,Es).nds. And it doesn't happen every time. I had to let it shut down and boot it 4 or 5 times before it froze. |
I haven't been able to reproduce it again in the past few days. @Biscuits25 If you do run into a loop again, could you please upload the broken save states? |
I am confused, because the gameswitcher does not manage saves at all. If the gameswitcher is freezing, it can't be because of a save file. |
Right. @Biscuits25, any chance you've also deleted a |
Dragon Quest IX - Sentinels of the Starry Skies (USA) (En,Fr,Es)_10.zip
No I just tested and I only need to delete the number 10 save state to fix the boot freeze. I've uploaded the most recent one but I can upload others if needed.
I don't think the gameswitcher itself is freezing, Drastic is freezing when loading the autosave. I think theres an issue with Drastic making auto saves while the device is in sleep mode. |
@Biscuits25 So in your case the device only freezes when you attempt to launch the game from GameSwitcher? When I ran into this, I couldn't even change to a title in GameSwitcher. Can you try this: after turning the device off while DraStic was running, turn the device on and when GameSwitcher appears, press the arrow keys to go to a different game, then go back to the DraStic game, and press A. If it freezes by this point, we can rule out most of the Game Switcher initialization code. |
I think we might be having different issues. I just checked and I actually don't have gameswitcher set as my start application. I have it set to Auto-resume last game, but my start application is set to the MainUI. I was confused when you said to try switching to a different game, with Auto-resume you don't get a chance to switch games during boot. |
The drastic auto save corruption should be fixed it the 4.3 RC 👍 |
So, since @Biscuits25 said he was not using Game Switcher, but instead "Auto-resume last game", I went ahead and set my device to "Auto-resume last game" as well. I tried turning it off in the middle of Mario Kart DS (USA, decrypted, matches Redump) and then turning it back on for a few times, but nothing abnormal happened. Then after a couple of days without playing I turned it on again and lo and behold, I booted into a frozen Mario Kart DS. I suppose what could have happened earlier was that I did press A to launch DraStic from Game Switcher before it froze. Or maybe what causes the device to freeze is something that DraStic does on shut down, not on start up. Not sure. I've updated the thread with this new information. |
Thanks a bunch for sharing your thoughts! It looks like the problem might not be the game switcher after all, but possibly due to state corruption or instability. We'll definitely keep an eye out for similar game switcher freezing situations, although yours is the only one reported so far. Your detailed reports have been super helpful, and if you've got any more insights to share, we're all ears. |
I've had this happen a few times. It seems to happen when I let the device auto shutdown with a NDS game paused in the background. |
This issue should be fixed in the last 3 versions 👍 |
I was running 4.3 official when it happened again yesterday. This did happen a few times with the 4.3RC though. Could it be something residual from the RC? |
Having the same problem on a fresh 4.3.0 install, goes straight into Drastic, presumably trying to restore a bad save state and everything there is frozen. Any way to prevent booting into the broken save state or exiting out of it? Some workaround here would be great. Somehow this happened after I reinstalled (by copying a fresh download on the sd card) because I had another issue beforehand: I would boot in a black screen with 4 small horizontally laid out rectangles on the lower left end of the screen with a My next step is to downgrade to 4.2.3 and wait for 4.3.1 I think, unless you have other suggestions. |
Had this happen with 4.3.0 stable as well. This probably shouldn't have shipped :/ @mistercrunch Try mashing the Menu button when booting up to exit DraStic before it loads the corrupted save. I don't think your previous issue is related, I didn't run into it. No need to downgrade, just delete the save file and avoid DS games. |
Downgraded to previous stable and things are working. Trying to load that one Drastic bad save state crashes, so I'll go and delete that one from my PC. For the record and for other people thinking about downgrading, Drastic still works after downgrading to 4.2.3. Note that reinstalling 4.3.0 with the SD method would have worked too I believe (while deleting the bad save state), but I decided to downgrade because of the other issue I mentioned earlier where I wouldn't even make it to the bad Drastic state (black screen with 4 rectangles) I also changed the boot settings to the main UI as opposed to resuming the last game played, which should prevent this particular issue that effectively soft bricked my device. Given this issue and general nature of emulator and their save states being potentially unstable, I would suggest changing the global default to boot in the main UI. At least as the default, preventing a bad save state from soft bricking the device. |
Oh man this just happened to me too. Stuck in a soft brick loop. Reboot, Drastic freezes on load, repeat. 4.3.0. I was able to finally get out of it by holding the menu button on powerup which took me to Game Switcher instead of launching Drastic. |
Hello, I had this issue on my MMP and my cousin did as well. The fix is to delete the save state that is corrupted that the game switcher keeps failing to load. Go into the file explorer app, and navigate to saves/currentprofile/states/drastic and delete all the names of the game that’s frozen. For me that was ff3 and for my cousin that was advanced wars days of ruin. If you save periodically within the games you’ll be fine this just deletes the corrupted game switcher save state it keeps bricking while loading. Edit: if your stuck on an auto resume soft lock you can either 1) turn off and turn on while quickly pressing the menu button as the device powers on to get to game switcher and follow the above steps to delete the corrupted drastic save state or 2) unplug and replug in the battery to get it to boot to menu and follow the above steps to delete the frozen/corrupted drastic save state |
If you want to keep playing drastic nds I would disable the auto resume under apps/tweaks/system/startup/ and toggle off auto resume. When I made additional MMP for family/friends I always disable this now since the drastic freeze happens a lot more often when this is enabled. |
This is a bit in the future, but for anyone looking back at this post (4.3.0). You could either stop this soft brick loop by loading the SD card on a PC and then:
|
Just happened to me. I was playing Mario Kart DS even after disable the auto resume under apps/tweaks/system/startup/ and toggle off auto resume. Now it started happening to almost all games.
|
I just got the same thing as the last post, more frecuent than not the console gets bricked when playing a ds game if i power it off and then power it back on. After that i cant play any ds game. |
Same issue for me on 4.3.1-1 |
Checklist
Onions OS Version
4.3.0-RC b66469d
Miyoo Firmware Version
202305052130
Provide a clear and concise description of the issue
If you turn the console off while playing a game through DraStic, creating a save state, then turn it back on and quickly resume playing, the system freezes. You have to reboot the device to continue. You may get stuck in a loop if you have "Auto-resume last game" turned ON.
Previous, outdated description, kept for archival
If Game Switcher is set to be launched on boot, and the last played game is from DraStic, it shows the game and freezes. You have to reboot the device to continue. You may get stuck in a loop.
Steps to Reproduce
In order to continue, you must shut down the device forcefully by holding down the Power button until it turns off.
Previous, outdated instructions, kept for archival
Make sure Game Switcher is set to open on boot. This was the default when I first installed Onion, but you may have changed it.In order to continue, you must shut down the device forcefully by holding down the Power button until it turns off. After powering up the device, it may either repeat steps 3-6 (at which point you should try again) or it may launch Game Switcher, but with a different first entry (in my case it was the game I was playing previously, Celeste, on Fake-08). If it does so, it should be unfrozen.
Provide any additional context or information that may help us investigate your issue
I was playing Phoenix Wright - Ace Attorney (USA), decrypted, matches No-Intro, but it should happen to any DraStic game.
I was in range of my Wi-Fi network when booting up. Not sure if this is required to reproduce.
First reported and corroborated on this /r/MiyooMini thread.
May be related to #1350 and #1283.
The text was updated successfully, but these errors were encountered: