KiaraGale / Sonic-Mania-Addendum

Source code for Sonic Mania Addendum, a full game overhaul + expansion for Sonic Mania Plus.
Other
6 stars 4 forks source link

crashes when loading title screen... #11

Open Maxur13 opened 4 months ago

Maxur13 commented 4 months ago

Issue: opening the game from the rsdk mod manager with many mods installed but just the addendum activated (idk if that affects the mod in anything but i think it shouldnt) with some graphic bugs like the sega screen colors distorted and before the title screen appears it closes without any warning... Target Version: RSDKv5U (x64) Graphics API: idk... i just decompiled it using the gamebanana guide... i just hope it uses DX11... Addendum Version Used: the one at its SHC release page... Expected Behaviour: sega screen should be blue or idk and then the game should show the title screen ready for me to start playing with the mod...

i just hope you can help me before this monday because i got visit of someone from another country and i want to show them this game with this mod before they gone... my discord in anycase is @MuLp1875...

Eggmanplant commented 3 months ago

Replace the Game static library with the Addendum one. If still not working, build Addendum yourself.

Double5S commented 2 months ago

I am now also having this issue, but I'm unsure how to build Addendum. I've built the Game.dll to match the v5U that I also built but have tried other dlls and each of the mod releases still with no success.

Eggmanplant commented 2 months ago

Try with DX9. And copy the SonicManiaAddendum folder to mods, it's the latest version of the mod.

Double5S commented 2 months ago

As far as I can see, I am using DX9, at least it says this in the Dev Menu. Have also copied in the newest version and still no luck

KiaraGale commented 2 months ago

None of these are the issue. Addendum's SHC2023 version does not work with current RSDKv5 executables due to its code not reflecting important engine changes made in the last few months.

BigheadSMZ commented 2 months ago

I have just found this and played around with it, it's incredible work. It does indeed crash using the latest RSDKv5U, but it does seem to work with the latest RSDKv5. I was trying to track down and fix some of the changes that caused crashes, but it's probably way beyond me. Beyond C# and PowerShell I'm pretty useless. Aside from that, as an example, I was thinking one of the updates that broke stuff would be this being changed to a unsigned 8-bit integer, since this was around the time (from my research) that people started reporting crashes on both this and extra slot Amy. https://github.com/RSDKModding/RSDKv5-Decompilation/commit/1e4fe6a332121a978c9288744b688b48419f3fe3

Unfortunately, changing it in this repository didn't actually get past the title screen. There was also this one which swaps the values around, but this bit is probably a bit beyond me as I have no idea how it reflects in this code base. https://github.com/RSDKModding/RSDKv5-Decompilation/commit/8f6f0c573dfc35186b18a7c1fd2d19ae105e86da

I imagine I am undercutting how much work it will take to fix this. Do you know exactly what it is that broke? Is it multiple things that broke? It is a shame that this masterful modification isn't functioning with the current builds. I've though about trying to hunt down which commit broke things, but I haven't bothered because I figured I wouldn't have the knowledge to fix it anyway. And if it's multiple commits, well yeah...

Pepi2011 commented 1 month ago

None of these are the issue. Addendum's SHC2023 version does not work with current RSDKv5 executables due to its code not reflecting important engine changes made in the last few months.

Is there a new version compatible with RSDKv5U?

Pepi2011 commented 1 month ago

I have no idea on how to build it...

KiaraGale commented 1 month ago

The only other version available is an in-development version found in my modding thread in the Retro Engine Modding Server on Discord.

Double5S commented 1 month ago

Can confirm that the build from Discord worked when using RSDKv5, but not v5U. For those still having problems, grab the build from the discord and review the decomp guide on GameBanana to explain how to build v5 instead of v5U.