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

Star Citizen: Glaive model "Object reference not set to an instance of an object" #137

Closed scorg-tools closed 1 year ago

scorg-tools commented 1 year ago

Extracting the Glaive model (Data\Objects\Spaceships\Ships\VNCL\Glaive\VNCL_Glaive.cga) from Star Citizen, running via StarFab export., gives the following error:

VNCL_Glaive: ERROR: model conversion failed for G:\StarCitizenTools\game-data\Data\Objects\Spaceships\Ships\VNCL\Glaive\VNCL_Glaive.cga:


There was an error rendering G:\StarCitizenTools\game-data\Data\Objects\Spaceships\Ships\VNCL\Glaive\VNCL_Glaive.cga

Object reference not set to an instance of an object.

at CgfConverter.CryEngineCore.ChunkBoneNameList_745.Read(BinaryReader b) at CgfConverter.CryEngineCore.Model.ReadChunks(BinaryReader reader) at CgfConverter.CryEngineCore.Model.Load(String fileName) at CgfConverter.CryEngine.ProcessCryengineFiles() at CgfConverterConsole.Program.Main(String[] args)

Markemp commented 1 year ago

Found a weird bonename structure for this model. Got a fix and it seems to be working for the geometry, although I don't see the armature. Will try to sort that out, but until then...

image

scorg-tools commented 1 year ago

Thanks @Markemp, I know a few people who's only missing ship is the Glaive, will be great to get this rendered to finish the whole lot! Thanks for the great tool!

Markemp commented 1 year ago

Closing issue.