1dot13 / gamedir

Game assets for the Jagged Alliance 2 v1.13 project
14 stars 12 forks source link

Missing animations #93

Open ansverr opened 1 month ago

ansverr commented 1 month ago

I've had two separate crashes that both referred to missing animations.

The missing animations in question were: ANIMS\S_MERC\S_DIEFWD.STI ANIMS\M_MERC\M_DIEFWD.STI

Both crashes happened when killing an enemy in tactical battle.

I see the animations are mentioned in the source code, Animation Data.cpp, but I can't seem to find the animation files anywhere.

I'm playing the Steam version of JA2 with the latest unstable version of 1.13, v1-146-gc32d09b.

kitty624 commented 1 month ago

Those are inside subdirectories of Anims.slf

The .slf are part of the original JA2 Animations in question are for "falling forward" (hence the FWD in name). Merc is slowly falling first to knees then to ground

So, they ain't missing. But, iirc, it isn't the first time that specifically those seem to cause issues (I recall simular reports on discord)

Just, whatever the issue might be, the reason is not them missing. If you could provide a save and description how to reliable reproduce the crash, that might could prove helpfull to track it down

kitty624 commented 1 month ago

Anim_Merc_Die_Falling_Forward.zip

I unpacked them from the .slf You can try to place them into Data/Anims/S_MERC and Data/Anims/M_MERC

No guarantee, but might worth a try to further narrow down the issue

ansverr commented 1 month ago

Thanks for the explanation. I have a better understanding of what to look for now. After a little bit of testing it's clear that the animations work under normal circumstances, both with and without the loose files you provided. Fortunately, the crash is very rare, but it's hard to reproduce. In tens of hours of gameplay I've had it happen twice. If I run into it again I'll do some more focused testing and hopefully I can narrow it down a little more.