Difference between revisions of "Bone TTARCH"

From XentaxWiki
Jump to: navigation, search
 
m (Format Specifications)
Line 6: Line 6:
  
 
=== Format Specifications ===  
 
=== Format Specifications ===  
 +
 
<tt><b>
 
<tt><b>
uint32 {4}&nbsp;&nbsp; - Number of directory strings <font color="purple">(These seem to be redundant)</font> <br>  
+
uint32 {4}&nbsp;&nbsp; - Number Of Directories <font color="purple">(These seem to be redundant)</font> <br>
<font color="blue"> ''' // For each dir string ''' </font> <br>  
+
<br>
: uint32 {4}&nbsp;&nbsp; - Length of dir string <br>  
+
<font color="blue"> ''' // for each directory ''' </font> <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Directory string <br><br>
+
: uint32 {4}&nbsp;&nbsp; - Directory Name Length <br>  
 
+
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Directory Name <br>  
uint32 {4}&nbsp;&nbsp; - Number of files <br>  
+
<br>
<font color="blue"> ''' // For each file ''' </font> <br>  
+
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - Length of filename <br>  
+
<br>
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>
+
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - Null <br>  
+
: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
: uint32 {4}&nbsp;&nbsp; - File offset <br>  
+
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
: uint32 {4}&nbsp;&nbsp; - File length <br><br>  
+
: uint32 {4}&nbsp;&nbsp; - null <br>  
 
+
: uint32 {4}&nbsp;&nbsp; - File Offset <font color="purple">(relative to the start of the file data)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Archive data offset <br>  
+
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
uint32 {4}&nbsp;&nbsp; - Archive data length <br>  
+
<br>
 +
uint32 {4}&nbsp;&nbsp; - Data Offset <br>  
 +
uint32 {4}&nbsp;&nbsp; - Data Length <br>
 +
<br>
 +
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
 
</b></tt>
 
</b></tt>
 
  
 
=== MultiEx BMS ===  
 
=== MultiEx BMS ===  

Revision as of 09:10, 20 December 2005

TTARCH


Format Specifications

uint32 {4}   - Number Of Directories (These seem to be redundant)

// for each directory

uint32 {4}   - Directory Name Length
char {X}     - Directory Name


uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Filename Length
char {X}     - Filename
uint32 {4}   - null
uint32 {4}   - File Offset (relative to the start of the file data)
uint32 {4}   - File Length


uint32 {4}   - Data Offset
uint32 {4}   - Data Length

byte {X}     - File Data

MultiEx BMS

Not written yet


Notes and Comments

Original file format analysis by Counting Pine.
The files inside this archive are xor'ed with 0xFF, however it appears that parts of the files may be xor'ed with a different value. This is most visable with the .dds images where areas of the image appear corrupted. For more information see this thread.

Supported by Programs