c47edit icon indicating copy to clipboard operation
c47edit copied to clipboard

C5_1 and C2_2 crashing when new mesh is imported

Open ArchDome opened this issue 1 year ago • 4 comments

When I import in a different ZSTDOBJ mesh I've noticed that C5_1 crashes upon loading in and that C2_2 crashes when 47 gets close to the ship.

I'm specifically trying to replace the weapon models, but I've noticed that any new object mesh causes this crash. Strangely I haven't had any issues with any other levels.

ArchDome avatar Dec 27 '24 04:12 ArchDome

I've found the same issue for the Lee Hong Assassination, the game crashes when I try to enter Agent Smith's torture room in the basement.

ArchDome avatar Dec 28 '24 08:12 ArchDome

Thanks for reporting! It is indeed a problem that for some levels when modded the game crashes. I suspect there's some offset/reference in the spk file that is not updated correctly by the editor.

AdrienTD avatar Dec 30 '24 17:12 AdrienTD

Would you be able to make a fix? I'd love to release the mod I've been working on that updates every weapon model, but it would be a shame to leave those levels untouched.

ArchDome avatar Mar 02 '25 22:03 ArchDome

@ArchDome I will see if I can find the reason, though I'm not sure right now what it could be, and depending on what I find it might be either very easy or very difficult to fix.

AdrienTD avatar Mar 03 '25 21:03 AdrienTD

All levels crashes should be fixed now.

C1_4 and C2_2 per #14 .

As for C5_1, the game crashed while loading the object named "PoolCaustic", at the fountain. This object was using two texture animations at the same time, which the editor didn't know before, and would load/save them incorrectly. This is fixed.

AdrienTD avatar Mar 21 '25 00:03 AdrienTD

Latest release v0.1.109 contains the fix to the level crashes.

AdrienTD avatar Apr 01 '25 21:04 AdrienTD