HavokLib icon indicating copy to clipboard operation
HavokLib copied to clipboard

Corrupted GLB?

Open acyc070 opened this issue 5 months ago • 4 comments

Hkx files import properly with Blender. Hka files appears to be corrupted.

Version of hkx, hka files: 2014.1.0-r1

Image

acyc070 avatar Aug 02 '25 16:08 acyc070

Video of the issue.

Video_3.zip (Had to put video in ZIP file because of some GitHub glitch with uploading videos directly)

acyc070 avatar Aug 02 '25 16:08 acyc070

I also tried specifying skeleton with "-s" parameter, still file appears corrupted.

acyc070 avatar Aug 02 '25 16:08 acyc070

Crash_hkx_hka.zip

acyc070 avatar Aug 02 '25 16:08 acyc070

The only problem I see here are animation bindings, they contain duplicate node indices. For example binding for 2nd animation contains a lot of 1s pointing to node (BehaviorHack). This triggers ANIMATION_DUPLICATE_TARGETS exception when importing GLTF. It appears that Blender V5 no longer supports loading such files, since I used V4.4.0 and file loaded okay.

PredatorCZ avatar Aug 03 '25 14:08 PredatorCZ