HavokLib icon indicating copy to clipboard operation
HavokLib copied to clipboard

Custom animations wont convert.

Open donksa opened this issue 3 months ago • 2 comments

Basically tested it with custom animations from Fallout 4, but it also might be the case for Skyrim SE.

Problem is, for some reason any custom animations which are made for F4 cant be converted using program.

Program getting stuck like on the screenshot.

Image

I've also tried converting them into x32 bit versions, using 3ds max havok tools, but to no success.

Speaking of, even 3ds max plugin seem to have problems with importing them in. Original animations from the game work just fine for both max HKX importer and gltf but not those ones. As a test I also tried testing other community made animations from different authors, and results are pretty much the same.

Here is the example files I did my testings on. https://drive.google.com/file/d/13lWquSdPpXeAZM9G1KeYITLVjEc0pe5l/view?usp=sharing

donksa avatar Oct 19 '25 17:10 donksa

Alright, seems like I kinda found the work around which seems to be working from a few tests I've done.

What I did, I converted custom and original animation to XML using HKX unpack.

Then I compared 2 files, one being original animation, one being custom one, and what the problem was in "transformTrackToBoneIndices"

Image

Left one being original, right one being custom one. For some reason, custom animations have this block empty. There are other differences but it seems like, they affect nothing. At the same time just simply copy pasting "transformTrackToBoneIndices" to the custom animation to make it match the original fixes the problem. After this change animation converts just fine to glb

donksa avatar Oct 19 '25 18:10 donksa

I cannot test it but it could be fixed in v1.10.15

PredatorCZ avatar Oct 24 '25 17:10 PredatorCZ