The files are made up of chunks starting with a fourcc at the beginning followed by the size of the whole chunk.
Code: Select all
struct {
char fourcc[4];
int size;
byte data[size-8];
} CHUNK;Code: Select all
KMSH
int version; // 17
HEAD
int format; // ?? 1=mesh 2=anim
int uk; // always 1 ?
MATL
int NumMaterials;
MAT2* // Material Entry
string uk;
int uk;
string Texturename; // file name
...
MESH
HEAD
string meshname;
int NumSPRS;
...
CTRL
SPRS
SPHD*
SPRS*
GEOM
ANIM
HEAD
CTRL
SPRS
SPHD*
SPRS*
POLY
VERT
ITAB
GEOM
VGEO
http://uploaded.to/?id=6qjw59
Any help appreciated.
Might even be of help if someone could guess what SPRS (HD could mean header and RS resource, but what is SP) ITAB or VGEO stands for.

