This isn't in bug reports because it isn't a problem with the game itself, as my modified GZDoom version will run fine every time if Reshade isn't installed. I have no idea what causes this, either, so it'd be a bad bug report.
Basically, I can remember I was changing settings to make Reshade's alpha 0.75 but as I was typing the number into the text field, the game crashed with a "very fatal error", not the one in the attached crash report. I was in the save game menu because SHIFT+F2 makes it appear when Reshade's menu appeared. Here's a picture of that dialog I still have, though:
Now, every time the game tries to start and Reshade's DLL is included, the game crashes but it didn't before. The crash report that's attached is the very fatal error that appears right before the 3D view or title screen would appear. Not sure what Reshade set off that makes GZDoom always crash with it... Still, just in case anyone can spot a bug in this to fix, if there is one, here's the crash report from my TC's modified GZDoom version.
I also tried typing "0.75" in the Save Game screen but it doesn't crash. Reshade must be causing it, obviously, but I'd like to use it with my game as someone converted Sonic Mania's CRT filters and I think they look cool on my game...it'd be nice if they could be converted to GZDoom's shader format instead, because then I wouldn't need Reshade. Is there anything I can try to get Reshade working again?
Modified GZDoom crashes at startup with Reshade
Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers
Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
-
Xane123
- Posts: 165
- Joined: Tue Nov 24, 2015 1:58 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Inwood, WV
Modified GZDoom crashes at startup with Reshade
You do not have the required permissions to view the files attached to this post.
-
Rachael
- Posts: 13977
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Modified GZDoom crashes at startup with Reshade
This crash is in Reshade, itself.
You should run this to their development team, with your GZDoom crash report (it should be fine to use the one posted here, it contains plenty of debugging info they can use), so they can take a look at it.
You should run this to their development team, with your GZDoom crash report (it should be fine to use the one posted here, it contains plenty of debugging info they can use), so they can take a look at it.
-
Xane123
- Posts: 165
- Joined: Tue Nov 24, 2015 1:58 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Inwood, WV
Re: Modified GZDoom crashes at startup with Reshade
Gotcha. When I saw the "ZDoom Very Fatal Crash" dialog, I thought it was the engine crashing, not Reshade, though if it was GZDoom, it would still be crashing. I guess I should report it to Reshade to see if they could fix it...as I've said, running Sonic Mania's CRT filter was cool while it lasted.
EDIT: Yep, not sure what Reshade does to make GZDoom read invalid memory or whatever, but the initial configuration file it generates only has shader and texture paths but lets the game start. Otherwise, it crashes if it's like the other INI file. Not sure how I'll tell it to Reshade themselves other than to download my whole game then try messing with their alpha setting only to see the game crash...or to just modify the paths in opengl32.ini to their installed directory then run it and see it crash.
EDIT: Yep, not sure what Reshade does to make GZDoom read invalid memory or whatever, but the initial configuration file it generates only has shader and texture paths but lets the game start. Otherwise, it crashes if it's like the other INI file. Not sure how I'll tell it to Reshade themselves other than to download my whole game then try messing with their alpha setting only to see the game crash...or to just modify the paths in opengl32.ini to their installed directory then run it and see it crash.
You do not have the required permissions to view the files attached to this post.
Last edited by Xane123 on Mon Sep 25, 2017 1:28 pm, edited 1 time in total.
-
Rachael
- Posts: 13977
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Modified GZDoom crashes at startup with Reshade
GZDoom is able to catch exceptions in external code due to the way exception handling works. When code is passed off to an external DLL the crash logger is still set in the CPU as the error trap. So when the processor throws an error, the trap is triggered and the crash logger goes off.
That's okay, though, because it still generates debug info about what caused the crash - and in this case it's OpenGL32.dll which GZDoom does not control. Considering you're using Reshade, though, that means that your alternate OpenGL DLL was loaded, so therefore that's where the crash lies.
That's okay, though, because it still generates debug info about what caused the crash - and in this case it's OpenGL32.dll which GZDoom does not control. Considering you're using Reshade, though, that means that your alternate OpenGL DLL was loaded, so therefore that's where the crash lies.
-
Xane123
- Posts: 165
- Joined: Tue Nov 24, 2015 1:58 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Inwood, WV
Re: Modified GZDoom crashes at startup with Reshade
Ah, it makes sense! I reinstalled Reshade and its default .ini doesn't cause GZDoom to crash, so something new it added to opengl32.ini made it try something GZDoom didn't like. I'll have to find out what causes it then give them the info (and maybe the .ini) so they can fix it.