Carmageddon 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Size <br>  
: uint32 {4}&nbsp;&nbsp; - File Size <br>  
: char {56}&nbsp;&nbsp; - Filename <font color="purple">(null terminated)</font> <br>  
: char {56}&nbsp;&nbsp; - Filename <font color="purple">(null terminated)</font> <br>  
<br>
<br>
File Data starts from offset "(56 * (FileIndex - 1)) + 64", where FileIndex is 1
File Data starts from offset <font color="purple">"(56 * (FileIndex - 1)) + 64"</font>, where FileIndex is 1 <br>
Second File is stored at "(56 * (FileIndex - 1)) + 64",where FileIndex is 2
Second File is stored at <font color="purple">"(56 * (FileIndex - 1)) + 64" </font>,where FileIndex is 2 <br>
... and so on, until reading all files
... and so on, until reading all files <br>


char {X}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' File Data '' </font> <br>  
char {X}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' File Data '' </font> <br>  

Revision as of 13:34, 23 August 2006

Choose archive extension:

TWT


Format Specifications

uint32 {4}   - Archive Size
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - File Size
char {56}   - Filename (null terminated)


File Data starts from offset "(56 * (FileIndex - 1)) + 64", where FileIndex is 1
Second File is stored at "(56 * (FileIndex - 1)) + 64" ,where FileIndex is 2
... and so on, until reading all files

char {X}     - File Data
It also seems that every File Data is null terminated (just not sure)

MultiEx BMS

Not written yet

Supported Programs