RSDKModding / RSDKv5-Decompilation

A complete decompilation of Retro Engine (v5)
Other
408 stars 140 forks source link

[Android] Backup shaders crashing on reload #174

Open SombrAbsol opened 1 year ago

SombrAbsol commented 1 year ago

Every time I open the app on my phone, I have to specify the path to the game, but it always crashes right after the "Mod loading done!" message. The app then closes and I return to the home menu of my phone.

My phone is a Samsung Galaxy A33 5G. Its CPU is Octa-core (2x2.4 GHz Cortex-A78 and 6x2.0 GHz Cortex-A55) and its GPU is Mali-G68 (ARM).

I use the Data.rsdk file from the Steam version of Sonic Mania.

stxticOVFL commented 1 year ago

What mods are active? Can you provide a log file?

SombrAbsol commented 1 year ago

I use the Mania Touch Control, Ultrawide Mania and the shader mods. I also tested without any mod and it produces the same result.

The attached log file is the one of the loading attempt with the mods. log.txt

stxticOVFL commented 1 year ago

It looks like you're missing your shaders, and although that shouldn't cause a crash, better safe than sorry. Make sure a mod is implementing the OGL shaders. (It was GL3 in the past, but it got moved. Make sure the shaders are up to date as well.)

SombrAbsol commented 1 year ago

Well, it worked a while ago with a folder named "GL3" in the shader mod. I just tried it out of curiosity by renaming this folder to "OGL", and it works. I will update later these shaders.

Thanks for giving me this hint 👍

stxticOVFL commented 1 year ago

Re-opening for personal use; as stated before, this really shouldn't be crashing.

SombrAbsol commented 1 year ago

Ah, sorry, I thought that when you said that the shaders had moved to OGL, I thought that meant that GL3 was no longer supported and that this crash was normal.

godreborn commented 1 year ago

where do you get the actual shaders from if not renaming gl to ogl? the folder for ogl is void of shaders. a friend of mine said he also had crashing until he renamed the shaders.