Rollcage 2 IMG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
No edit summary
Line 15: Line 15:
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - Compressed File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - Decompressed File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown ID '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - '' Unused '' <br>  
<br>
<br>
<font color="blue"> ''' // IMG FILE ''' </font> <br>
<font color="blue"> ''' // IMG FILE ''' </font> <br>
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - File Header <font color="purple">(GT20)</font> <br>  
:: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - File Header <font color="purple">(GT20)</font> <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(Same as the Unknown field in the IDX File)</font> '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - Decompressed File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown ID <font color="purple">(Same as the Unknown ID field in the IDX File)</font> '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - '' Unused <font color="purple">(Same as the Unknown ID field in the IDX File)</font> '' <br>  
:: uint32 {4}&nbsp;&nbsp; - null <br>  
:: uint32 {4}&nbsp;&nbsp; - Length of additional Information <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(sometimes null)</font> '' </font> <br>  
:: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Additional Information <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - Compressed Data <br>  
</b></tt>
</b></tt>



Revision as of 13:02, 21 October 2011

Choose archive extension:

IMG + IDX


Format Specifications

// IDX FILE

// for each file
uint32 {4}   - File Offset
uint32 {4}   - Compressed File Length
uint32 {4}   - Decompressed File Length
uint32 {4}   - Unused


// IMG FILE

// for each file
char {4}     - File Header (GT20)
uint32 {4}   - Decompressed File Length
uint32 {4}   - Unused (Same as the Unknown ID field in the IDX File)
uint32 {4}   - Length of additional Information
char {X}     - Additional Information
byte {X}     - Compressed Data

MultiEx BMS

Not written yet

Notes and Comments

  • The *.IDX file contains the directory, the *.IMG file contains the data


Supported Programs