nipkownix / re4_tweaks

Fixes and tweaks for the "UHD" port of Resident Evil 4
zlib License
340 stars 33 forks source link

Random crashes when opening doors to other areas after extended playtime #510

Open ShadowOne333 opened 1 year ago

ShadowOne333 commented 1 year ago

Validation

Describe your issue here (drag+drop ZIP to attach it)

Updated yesterday to the most recent v1.9.1 version of re4_tweaks. I played yesterday for an exact amount of 69 minutes (seen from the playtime record in Steam for the current week), from the end of chapter 1-2 all the way up to the Bitores Mendez fight and defeating him.

After defeating Mendez, I tried to exit the area where the area to move to the cliff area with the trolley, but I got a crash upon trying to open the door with the following message:

Fatal error (0xC0000005) at 0x0095B729.

A crash log has been saved to "Z:\home\deck.local\share\Steam\steamapps\common\Resident Evil 4\Bin32\CrashDumps\bio4.exe.20230322185057.zip".

And here's the corresponding crash dump: bio4.exe.20230322185057.zip

The crash seems to be at random in different places of the game, and it only seems to happen when I've been playing for a while, from around 30 mins and above is when the crash seems to occur the most.

I am currently playing on a Steam Deck, and haven't had any issues with RE4HD nor re4_tweaks, but this issue has been carrying over from v1.8 and onwards. I haven't fully tried version 1.7.7.6 of re4_tweaks on an extended playtime, but I haven't had crashes with it so far, the only issue is that it has a bug with making the "Press Start" and "Loading..." texts really big.

If there's any more information required, please let me know.

Mister-Curious commented 1 year ago

@ShadowOne333 out of curiosity, are you using any other DLLs while playing the game (besides RE4Tweaks)?

ShadowOne333 commented 1 year ago

As far as I know, no. I redownloaded RE4 and verified the integrity of the clean vanilla files once the latest update of February was released, and then I continued and installed RE4HD into the fresh install of RE4, verifying this one with SFV as well, followed by the updated re4_tweaks yesterday into the Bin32 folder. Do you need a picture of a specific folder or file to make sure?

Mister-Curious commented 1 year ago

Can you screenshot your Bin32 folder? Thanks!

ShadowOne333 commented 1 year ago

Sure thing, here is my Bin32 folder. Let me know if there's anything else that might be needed Screenshot_20230323_205835

Mister-Curious commented 1 year ago

ok good to know. Other users have had this issue for a long time, but have attributed it to other DLLs, however it seems in your case (and in other I imagine too), that this happens regardless. Thanks for taking the time to help me a little.

I do have a mod that I made that improves the information displayed in the Typewriter, and some users have said that one side effect of this mod is that it actually improves these game crashes that occur after playing extended periods of time. You can check that out HERE. (be sure to read the beginning of the document to understand how installing this type of mod works).

ShadowOne333 commented 1 year ago

Oh I see, so you recommend using the Typewriter mod mitigate the issue? Does the crash still tend to happen with it? (How do I implement such mod btw? Haven't modded RE4 before so I'm on the dark on this)

Has there been a research between what got added to v1.8 compared to v1.7.7.6 of re4_tweaks to determine which feature could be at fault for this?

It seems like v1.8 specifically is the one that introduced this problem.

Mister-Curious commented 1 year ago

I really don't know if the typewrite mod works to fix this as I have not really spent the time to investigate, only reporting what others have told me. I guess for now I would not recommend it as it's a little complicated to install for a new user. That being said, I would suggest you roll back to pre-1,8 and see if that really fixes things. Im interested to know!

leon861107 commented 1 year ago

我真的不知道打字模组是否可以解决这个问题,因为我并没有真正花时间去调查,只是报告其他人告诉我的内容。我想现在我不推荐它,因为为新用户安装它有点复杂。话虽如此,我建议您回滚到 1,8 之前,看看这是否真的可以解决问题。我很想知道! Random crashes have persisted for long periods of play, and there have been issues with versions prior to 1.8. Especially the bell tower.

Mister-Curious commented 1 year ago

Crashes that occur after extended periods of time can be indicative of memory leaks. We recently discovered that the use of the Companion DLL's side-chaining function with custom .pack files causes memory leaks. Fortunately we were able to isolate the cause and find a solution to the memory leaks. In your case though, you are not using the Companion DLL (this is why I asked about other DLLs), so its tough to say. CrashDump files when this happen can certainly be useful to help understand crash causes.