serpentiem / ddmk

Extensive gameplay mods and more for the Devil May Cry PC games.
zlib License
242 stars 13 forks source link

DMC3 crashes upon multiple mission restarts #196

Closed Zaphero1 closed 3 years ago

Zaphero1 commented 3 years ago

I'm not sure if it's an issue with the texture injection or just in general (I am using texture fixes for transparency and widescreen menus), but it seems like there's a memory leak upon reloading a level. After 2 or 3 mission restarts there's a high chance that the game will crash upon loading the opening cutscene of a mission or crash upon loading the mission after that cutscene. If I flat out just quit out of the mission and reload it that way, the crash never comes.

cowboytanaka commented 3 years ago

I'm pretty sure I have the same problem as you do but sometimes I've been able to play the mission a little bit before it crashes when loading an area. The first log is loading into the entranceway before the Enigma room in M4 and the second one is after the opening cutscene of M5. Mary 1.txt Mary 2.txt

serpentiem commented 3 years ago

Huh, interesting. I never considered that the cutscenes can cause leaks. I'll look into it!

Zaphero1 commented 3 years ago

Yeah the crash still seems to be here on the newest version. The thing is that the cutscenes don't cause a leak they just seem to speed it up, which is why I think it's an issue with loading in in general, both for cutscenes and for the game. (For clarification I have done 0 saves as vergil in this dante save, and even then I still reset the weapon values and the crashes still happen.) In 4 restarts of mission 1 here the game crashed for example, whereas mission 20 crashes in 2 or 3. Those are especially a problem because there's no advantage to continuing on those levels over restarting. Mary.txt

cowboytanaka commented 3 years ago

I've been restarting M18 a lot (DMD 😔) on the newest version and it seems to always be after about 5 or 6 restarts. Mary.txt Mary 2.txt

serpentiem commented 3 years ago

Should be fixed with the latest nightly.

Zaphero1 commented 3 years ago

Doesn't seem like it is. Mission 20 still crashed after 3-5 (game over) restarts. Did the fix include the game over restart mission option? That's usually what I use. Mary.txt

serpentiem commented 3 years ago

Pikachu

serpentiem commented 3 years ago

Hopefully no Pikachu this time. Latest Nightly

Zaphero1 commented 3 years ago

Yep, no Pikachu! Game Over Restart has the workaround too and no crashes are happening. Thank you very much!

serpentiem commented 3 years ago

Glad it works!