-
Notifications
You must be signed in to change notification settings - Fork 118
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
Game freezes when collecting question mark powerup in SPZ Encore Mode #264
Comments
After further testing in gdb, it appears that this loop here https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation/blob/master/SonicMania/Objects/Global/ItemBox.c#L608 never exits. |
Not getting this crash on Windows DX9. Might be platform sepecific. |
Here is my SaveData.bin file, since that may be relevant. |
fwiw, I can only reproduce this bug on cam's save data. |
Your save is just broken. Is this from the steam version, or did this file get created from the decompilation? |
In what way is it broken? I copied it from the Steam version and then played through encore mode up to this point with the decompilation. |
From what i can tell, it could potentially be a slight save data problem setup issue, but i'd need to see if this is reproducible on steam. using the save file you provided crashes the steam release the same way, so im wondering what could be happening |
I tried copying my save file over to the Steam version, and it froze as well, so it doesn't look like this is a bug with the decomp. I still have no idea how this happened. |
Ok, there must be some other bug that caused this save file inconsistency. I swear I didn't use cheats or mods. |
i'm using jcfields' Sonic Mania Save Editor to view the save data. You had Tails unlocked at a certain point in your gameplay, so do you remember what happened to him? |
I do remember using tails in Chemical Plant. I think I died playing as him or something, can't remember. I'll reset back to my original Steam save file (from before I messed with the decomp) and see if I run into this again. I'm going to close this issue for now, unless I figure out a reliable way to reproduce it. |
For what it's worth, I believe that Steam save files may not be 100% compatible with the decomp because Steam Mania is 32bit and the decomp is usually built for 64bit. |
Yeah, I can see that being a problem. We should byte swap on big endian platforms if we want save files to be interchangeable. The |
According to gdb, it seems to always be in
Objects/Global/ItemBox.c:ItemBox_GivePowerup()
when I press Ctrl+C during the freezeVideo demonstration:
https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation/assets/155208115/3cc6159d-7b00-4ccc-b322-60bee8f5b51d
Platform: Linux x86-64, GLFW, OpenGL
The text was updated successfully, but these errors were encountered: