WWE Day of Reckoning TEX: Difference between revisions
Jump to navigation
Jump to search
| Line 69: | Line 69: | ||
=== Supported by Programs === | === Supported by Programs === | ||
<!-- Insert programs that open the format here --> | <!-- Insert programs that open the format here --> | ||
* [[MultiEx Commander]] | |||
Revision as of 22:10, 3 July 2005
Choose archive extension:
TEX
- Format Type : Archive
- Endian Order : Little Endian
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.