shinyquagsire23 / OpenJKDF2

A cross-platform reimplementation of JKDF2 in C
Other
493 stars 39 forks source link

Custom SP levels crashing after less than a minute #276

Open jerrysl opened 11 months ago

jerrysl commented 11 months ago

Please forgive me if this is out of the scope of the project. I attempted to play a few custom SP levels I downloaded from Massassi. They all tend crash within a minute or so. I attached my RPT file, which contains one crash report for two different custom levels. I did a diff and the only differences between them are a few addresses and params.

It's hard to determine what's causing the crashes. I've tried a number of custom levels, some with a decent amount of new assets, and some without. They all seem to crash almost at random. It might be related to firing my weapon since it sometimes crashes as soon as I shoot. Other times though I can get a few shots off before it crashes (regardless of the custom level). openjkdf2-64.RPT.txt

This is weird to me since the base game (both JK and MotS) worked flawlessly when I played through the SP campaigns. I'm using OpenJKDF2 v0.9.0 64-bit Debug. Has anyone else messed with custom SP levels?

jerrysl commented 11 months ago

I just checked and this is happening in JK custom SP levels as well, not just MotS

shinyquagsire23 commented 11 months ago

Sorry for the late reply, I've been moving apartments lol. Do you have a link to a mod which crashes? Crashes in mods are definitely something I'm interested in looking at, I ended up fixing a bunch of renderer bugs with the TODOA expansion.

jerrysl commented 11 months ago

Hi, sorry for my late reply. I have an update! Originally I tried all this on vanilla OpenJKDF2, no Remaster or enhancement mods. I recently setup JK Remastered, and noticed that the SP levels were suddenly working. To test whether the enhancements somehow changed something I reverted to vanilla and found that the levels are all still working.

I can't explain it. Sorry I don't have anything more substantial. It could've been some edge case specific to my setup. Still, if you'd like to try some of the SP levels for yourself, here are some of the levels that definitely crashed for me initially.

Jedi Knight: Imperial Siege on Derra IV Life of a Merchant Imperial Pumping Station

MotS: Boc's Survival Streets of Mos Eisley