WWE Day of Reckoning

From XentaxWiki
Revision as of 23:09, 3 July 2005 by 82.73.251.51 (talk) (MultiEx BMS)

Jump to: navigation, search

Back to index

Choose archive extension:

TEX


Format Specifications

// General structure

char{16}	Header
char{n}		Resource Info
char{n}		Resource Data

// Header


uint32{4}	Number of resources
uint32{4}	Colour depth of textures (256?)
uint32{4}	Unknown (0, no compression?)
uint32{4}	Size of filename strings?/offset of resource info data/extra padding?

// Resource info, per resource:

char{16}	Resource name (Null-terminated (may have junk in pad))
char{4}		Resource id? ('tpl' + 0x0)
uint32{4}	Resource Size
uint32{4}	Resource Offset (absolute)
uint32{4}	Unknown

// Resource data


MultiEx BMS

ImpType Standard ;
Get FNum Long 0 ;
SavePos S 0 ;
Math S += 12 ;
GoTo S 0 ;
For T = 1 To FNum ;
GetDString FN 16 0 ;
Get D Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get D Long 0 ;
Log FN FO FS FOO FSO ;
Next T ;

Notes and Comments

The file I investigated had an extra 16 bytes at the end of the Resource Info block.

Supported by Programs

None