WWE Day of Reckoning TEX: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[GRAFs|Back to index]]
* [[GRAFs|Return to the list of games]]


Choose archive extension:
Choose archive extension:  


<!-- insert the extension of the file here -->
== TEX ==  
== TEX ==  


Line 11: Line 10:


=== Format Specifications ===  
=== Format Specifications ===  
<!-- Insert format specs here using <pre></pre> -->
<pre>
// 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
</pre>


<tt><b>
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Color Depth? <font color="purple">(256)</font> '' </font> <br>
uint32 {4}&nbsp;&nbsp; - null <br>
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Padding Size? '' </font> <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null, filled with junk)</font> <br>
: uint32 {4}&nbsp;&nbsp; - File Extension <br>
: uint32 {4}&nbsp;&nbsp; - File Size <br>
: uint32 {4}&nbsp;&nbsp; - File Offset <br>
: uint32 {4}&nbsp;&nbsp; - null <br>
<br>
byte {16}&nbsp;&nbsp;&nbsp; - null Padding <br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
</b></tt>


=== MultiEx BMS ===  
=== MultiEx BMS ===  
<!--  Insert BMS script here using <pre></pre> -->


<pre>
<pre>
Line 62: Line 48:
</pre>
</pre>


=== Notes and Comments ===  
=== Supported Programs ===  
<!-- Insert comments here -->
 
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander]]


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


=== Supported by Programs ===
[[Category:File Format]]
<!-- Insert programs that open the format here -->
None

Latest revision as of 17:12, 25 January 2021

Choose archive extension:

TEX


Format Specifications

uint32 {4}   - Number Of Files
uint32 {4}   - Color Depth? (256)
uint32 {4}   - null
uint32 {4}   - Padding Size?

// for each file

char {16}    - Filename (null, filled with junk)
uint32 {4}   - File Extension
uint32 {4}   - File Size
uint32 {4}   - File Offset
uint32 {4}   - null


byte {16}    - null Padding
byte {X}     - File 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 ;

Supported Programs