Emulator Issues #9496
Using savestates with Metroid Prime 3 crashes Dolphin (again)
Metroid Prime 3: Corruption
Game ID? (right click the game in the game list, properties, info tab)
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
What's the problem? Describe what went wrong.
According to the wiki page, savestates work from Dolphin 4.0-5615 onward. I've done a great deal of testing and have confirmed that they did appear to work for quite a while (with one caveat that I will describe later), but they stopped working again in starting in version 4.0-6970 and remain broken through 4.0-9237 (the latest version available when I logged this). See reproduction steps for details.
What steps will reproduce the problem?
These steps are quick to follow and always cause a crash starting with Dolphin version 4.0-6970.
- Start Dolphin, and start Metroid Prime 3
- As soon as you reach the title screen, create a savestate
- Restore the savestate you just created
- Close the emulation window (but not Dolphin itself)
- Restart Metroid Prime 3. A series of error dialogs will appear, and the game will finally crash.
The very first error message appears to always be this:
I don't claim to be familiar with the dolphin codebase at all, but the description on this pull request and the first error dialog look related to me.
The dialogs after this point are different. Here is a sample from one particular round:
When I get a dialog like this one, I click no:
After I click no, Dolphin crashes:
- Assuming you have an existing savestate, completely restart Dolphin, and start Metroid Prime 3
- Restore the save state
- Wait a few seconds. (Attempt to play the game). Before long (if not immediately), an error dialog will pop up, but this time, it is not the "could not create new file" message, but an "invalid read" message (just like one of the above dialogs). These messages keep popping up until Dolphin finally crashes.
Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
All versions I tested prior to 4.0-6970 did not display this behavior.
- 4.0-6970 <-- The error being described in this issue starts happening here
What are your PC specifications? (CPU, GPU, Operating System, more)
- Windows 10 Pro 64 bit
- Intel Core i7-2600K CPU @ 3.4 GHz
- 16GB RAM
- nvidia GeForce GTX 770 with 2GB RAM
- real wiimote connected via a MayFlash DolphinBar
Is there any other relevant information? (e.g. logs, screenshots,
I mentioned a "caveat" above. Here are the details (and an explanation of why I haven't logged a second issue).
- On the versions of Dolphin that don't crash, savestates appear to work fine within a single session of playing. For example, this works just fine: start Dolphin, start Metroid Prime 3 from one of the game's native save points, and then create and restore savestates during that session.
- If I stop the game and start it again, and attempt to load a savestate I made during a previous session, the game acts like buttons on the nunchuck are stuck. Samus walks by herself, turns into a morphball and rolls in a circle, etc. I can press buttons and they do things, but the game is not playable as the erratic behavior will not stop.
- On the dolphin versions that actually crash, I have once or twice seen the game actually start for a second or 2 after restoring a savestate. Prior to crash, Samus begins moving erratically.
I think once whatever is causing the crash is resolved, this behavior will still be a problem. I haven't logged another issue for this, because at the moment savestates completely crash, so you can only reproduce it on a dolphin version that is over a year old. I'm not sure if it possibly is possibly related to the fact that I am using a DolphinBar. (I don't currently own a bluetooth dongle to try another way of connecting).
#8 Updated by JosJuice over 3 years ago
More specifically, it was fixed by 4.0-9257. https://dolphin-emu.org/download/dev/3d375592a21a5052d5d1e404871b4d16558796dd/