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

Evolve Legacy Model Issues #177

Open SmartDonkey0000 opened 3 months ago

SmartDonkey0000 commented 3 months ago

Hey there! I was exporting some Evolve legacy monster models from .skin to .dae format, everything was going pretty well until I imported them into Blender. All of the monster models except one seem to have issues with the armature and vertex groups. I was using v1.5.0 for this. I also tried exporting with .chr instead but it did not work.

Game: Evolve (Legacy) Sample: https://mega.nz/file/hCtGSKQQ#Kgd1EDI2ftU8NcD5CB_J-7X1h6p9lbOwOCRp642adj8 Path: objects\characters\monsters\goliath\goliath1_body.skin

If you need more samples, I'll be more than glad to send the rest of the assets over.

Bug 1 The armature appears to be offset.

Bug 2 But the vertex groups are pretty bizarre, most of the bones does not cause the mesh to move except for a few as seen in the screenshot.

Bug 3 Regarding the vertex groups, there are certain parts of the mesh being selected that should not be selected.

I apologize if this is a duplicate of the other evolve related threads but I thought I would make a new one since a lot of the evolve monster models aren't working as they should.

Markemp commented 2 months ago

Hm... this is very weird. The skeleton looks like it is in the right position, but the geometry is off. The cryengine file has it set a bit away. image

This matches the data in the game file, so I'm not really sure what it going on here. The m14, m24, m34 are traditionally the transform, and those are 0,0,0. I guess I could use those values, but then it doesn't feel like I'm using it correctly. One is the transform and the other is the scale, so either way something isn't right in this node.

The bone mapping I still need to track down. I suspect it's just a unique datastream for indices that I need to take into account.

Anyway, still working on it.

Markemp commented 2 months ago

I can't find anything wrong with how the models are being read. The geometry is offset just like it looks in Blender, and the bone weight mapping matches the data and what's in blender & the .dae file.

If you have the .skin file that you said was working, I'd like to check that. I'm not sure if they are doing some post importing in the game itself to fix up the geometry, but.. yah. Weird case.