Difference between revisions of "Enter The Matrix DCX"

From XentaxWiki
Jump to: navigation, search
 
(Format Specifications)
Line 10: Line 10:
 
uint32 {4}&nbsp;&nbsp; - null <br>  
 
uint32 {4}&nbsp;&nbsp; - null <br>  
 
char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
 
char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
byte {24}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
+
byte {16}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
+
uint32 {4}&nbsp;&nbsp; - Number Of Bones <br>
 +
byte {4}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
 +
uint32 {4}&nbsp;&nbsp; - Number Of Textrure Files <br>  
 
byte {48}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
 
byte {48}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
 
<br>
 
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
+
<font color="blue"> ''' // for each textrure file ''' </font> <br>  
 
: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
 
: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
+
: uint32 {4}&nbsp;&nbsp; - Texture Width <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(same as above unknown)</font> '' </font> <br>  
+
: uint32 {4}&nbsp;&nbsp; - Texture Height <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Type? '' </font> <br>  
+
: uint32 {4}&nbsp;&nbsp; - Compression type ( =5 or =105 - DTX5 else DTX1 )<br>  
 
: uint32 {4}&nbsp;&nbsp; - File Size <br>  
 
: uint32 {4}&nbsp;&nbsp; - File Size <br>  
 
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID or Timestamp? '' </font> <br>  
 
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID or Timestamp? '' </font> <br>  
: byte {12}&nbsp;&nbsp;&nbsp; - null <br>  
+
: byte {8}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>  
<br>
+
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown. Often 0 or CDCDCDCDh. Transparency ?'' </font><br>  
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
 
 
<br>
 
<br>
 +
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Texture File Data. One by one for each file.<br>
 +
<br>
 +
<font color="blue"> ''' // for each bone ''' </font> <br>
 +
: char {32}&nbsp;&nbsp;&nbsp; - Bonename <font color="purple">(null)</font> <br>
 +
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Child bones count? ''</font><br>
 +
: byte {38}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknonw ''</font><br>
 +
 
</b></tt>
 
</b></tt>
  

Revision as of 01:01, 4 October 2007

DCX


Format Specifications

uint32 {4}   - null
char {16}    - Filename (null)
byte {16}    - Unknown
uint32 {4}   - Number Of Bones
byte {4}     - Unknown
uint32 {4}   - Number Of Textrure Files
byte {48}    - Unknown

// for each textrure file

char {32}    - Filename (null)
uint32 {4}   - Texture Width
uint32 {4}   - Texture Height
uint32 {4}   - Compression type ( =5 or =105 - DTX5 else DTX1 )
uint32 {4}   - File Size
uint32 {4}   - File ID or Timestamp?
byte {8}     - null
uint32 {4}   - Unknown. Often 0 or CDCDCDCDh. Transparency ?


byte {X}     - Texture File Data. One by one for each file.

// for each bone

char {32}    - Bonename (null)
uint32 {4}   - Child bones count?
byte {38}    - Unknonw

MultiEx BMS Script

Not written yet

Notes and Comments

If a filename is too long to fit in the 32-bytes allocated for it, it is cut off at 32 bytes

Compatible Programs