Open Dizcordum opened 3 months ago
Animations aren't supported yet. They are close, but it's such fiddly work. The glTF exports does seem to work with some animation files, but I haven't tested these yet.
I think the way it's going to work is that you don't convert the .caf
/.dba
files directly. Instead you find the model's .chr
file, which should have a .chrparams
file right next to it. That params file points to where the animation files, and those will be imported right into the output. No need to convert the .caf
files directly.
But this is still a work in progress, so no timeline on it yet. Sorry. :(
Alright, also dba seems doesnt load at all from same game, maybe for same reasons you mentioned Thank you for explanation, ill try to fiddle with .chr!
Sadly the converter cant get anything from caf since its unsuported chunk, we tried to add one but failed to understand how the file reding of a chunk is structured to get animation data. Can you get a hint on how to properly implement reading .skin or caf? thatd be helpful
I've spent a ton of time trying to figure it out myself, without luck. Right now, animation support is on hold until I take another run at it.
Skin files should work fine though. Are they not working for New World?
Check these out:
The .cgf and .skin works fine, the model and weights is okay, materials heavily fd up in some places due layering and reuse of some materials from different directories, but thats can be worked out all i ask for is animations support o//
Describe the bug While cgf works as intended, converter does not converting New World caf animation
** Sample Model with the issue
Screenshots
Additional context Here is the caf file i used roleply_chair_sitting_idle.caf.txt