WWE Day of Reckoning TEX: Difference between revisions
Jump to navigation
Jump to search
| Line 44: | Line 44: | ||
<!-- Insert BMS script here using <pre></pre> --> | <!-- Insert BMS script here using <pre></pre> --> | ||
<pre> | |||
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 ; | |||
</pre> | |||
=== Notes and Comments === | === Notes and Comments === | ||
Revision as of 22:09, 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.
Supported by Programs
None