Markemp / Cryengine-Converter

A c# program to convert Crytek files to Collada (XML) format
https://www.heffaypresents.com/GitHub/
GNU General Public License v2.0
208 stars 53 forks source link

Version 831 of ChunkController is not supported #175

Open Dizcordum opened 3 months ago

Dizcordum commented 3 months ago

Describe the bug While cgf works as intended, converter does not converting New World caf animation

** Sample Model with the issue

Screenshots image

Additional context Here is the caf file i used roleply_chair_sitting_idle.caf.txt

Markemp commented 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. :(

Dizcordum commented 3 months ago

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!

Dizcordum commented 2 weeks ago

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

Markemp commented 2 weeks ago

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?

Soreepeong commented 2 weeks ago

Check these out:

Dizcordum commented 2 weeks ago

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//