VOB FILE SPECS LIFE FOR SPEED VOB FILE HEADER: 14 bytes, must contain SREOBJ model1 model2 model3 .... EACH MODEL HAVE 7 sesscions: header objects vertes data faces data texture files names texture info materials -------------------- START OF MODEL MODEL HEADER: 0000: 4 bytes unknown: 20 bytes num of models: 2 bytes[WORD] signature: 5 bytes num of vertes: 2 bytes [WORD] num of faces : 2 bytes [WORD] unknow : 1 byte unknow: 23 bytes 0100 : 4bytes num of objects : 2 bytes [WORD] --------- Objects secsion for each object (counter in num of objects) have this info, each objt have 16 bytes RGBA: 4 bytes NAME: 8 bytes UNK : 2 bytes Material ID : 2 bytes[WORD] : index of material used for this object in sesscion MATERIALS --------- VERTEX DATA, for each vertex have this info, each vertez have 32 bytes TExture info: 4 bytes, only the first is relevant X: 4 bytes , Integer ( 0xffff= 1meter) Y: 4 bytes , Integer ( 0xffff= 1meter) Y: 4 bytes , Integer ( 0xffff= 1meter) ----------------- FACE DATA, each face have 12 bytes 1 byte: flags, use binary AND for read , 16: don't mirror this face 1 byte: unknow flag 1 byte: Object for this face ( in relation for Object session ) 1 byte: collision flag: 0:normal 3:colision on (dont render) 1 byte: type of this face (i belive that is related a model ) 1 byte: UNK 2 bytes[WORD]: vertex 1 index 2 bytes[WORD]: vertex 2 index 2 bytes[WORD]: vertex 3 index, all vertex indices, can have an flag 0xc000, this flag is relatet a polygon geometry --------------------- 0: 26 zero bytes num tex_files: 2 bytes[WORD] unk: 2bytes --------------------- Texture file names, for each texture have this info data: 4 bytes name: 16 bytes ----------------- num textures: 2 bytes WORD UNK: 2 bytes ------------------ TEXTURE name: 16 bytes data: 8 bytes, Unknow, but direct afect texture alignment, i belive that is an matrix ----------------- Material, eacha material have 44 bytes, I donr reach for research this part name: 15 bytes data: 29 bytes , all unknow for me -------END OF OBJECT