Skip to content
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 Crashes on Dungeon 4 1st Quest with Original HUD #23

Open
RodimusPrimal opened this issue Aug 29, 2024 · 4 comments
Open

Game Crashes on Dungeon 4 1st Quest with Original HUD #23

RodimusPrimal opened this issue Aug 29, 2024 · 4 comments

Comments

@RodimusPrimal
Copy link

With the original HUD, the game will crash on the first quest when trying to enter the second room in Dungeon 4.

@ShadowOne333
Copy link
Owner

ShadowOne333 commented Aug 30, 2024

Oh my thank you SO much for this report.
I've been getting reports about a crash when entering Dungeon 4 for years, and I wasn't able to reproduce it because (from what I recall) no one mentioned before that they were using the Original HUD as optional patch.

That's the culprit of the issue, now I can reproduce it every time. Not only that, but the game also crashes on Dungeon 5 for 2nd Quest with this patch as I found out by mistake.

I'll check what the issue could be with the Original HUD code, shouldn't take long now that I have reproduced it consistently.

@ShadowOne333
Copy link
Owner

ShadowOne333 commented Aug 30, 2024

Update:
After some testing, it seems like the Original HUD optional patch is working just fine, so that one is not the issue itself.
The problem however comes from the Dungeon Automap hack, which is implemented into the main Redux patch. Seems like the Dungeon Automap combined with the Original HUD optional patch is what's triggering the crash.

That one seems to be the one causing the crash when changing rooms in both Dungeon 4 of 1st Quest and also Dungeon 5 of 2nd Quest. I still haven't figured out exactly what part of that code is causing the crash, but if I comment that specific code out, the Original HUD optional patch works out just fine.

So guess this will require some heavy debugging, since this code was made by an user that's long gone from the scene.

@RodimusPrimal
Copy link
Author

Someone on RHDN seemed to find the root cause of the error. The bomb graphic is in the name table.

@RodimusPrimal
Copy link
Author

Copying my response on RHDN in case you don't see it there -
Just tested it after changing the Hex value and it seems to fix it. At least for Level 4 on the 1st Quest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants