Herdy+Gerdy



Models are store in some CLU files.

Objects have the header MESH and contain one or more PRIM submeshes

MESH format: MESH+Unknown20Bytes+4ByteInteger#SubMeshes.

PRIM Format: These have the header PRIM (which is "50 52 49 4D" in hex)

After 0X100 bytes is: 1ByteType 00 00 00 2ByteIntegerVertexSize

PRIM type 83: 36ByteArrays per vertex: {4ByteFloatVertexes(X,Y,Z)+4ByteFloatNormalMappings(X,Y,Z)+4ByteUnknown+4ByteFloatTextureMappings(U,V)}

PRIM type 95: 64ByteArrays per vertex: {4ByteFloatVertexes(X,Y,Z)+4ByteFloatNormalMappings(X,Y,Z)+32ByteUnknown+4ByteFloatTextureMappings(U,V)}