Futurama XBox IMG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 33: Line 33:
<font color="blue"> ''' // FILE DATA ''' </font> <br>  
<font color="blue"> ''' // FILE DATA ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
:: byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - null Padding to a multiple of 2048 bytes <br>  
:: byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - null Padding to a multiple of 2048 bytes <br>  
</b></tt>
</b></tt>
Line 47: Line 47:
=== Supported Programs ===  
=== Supported Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]
* [https://github.com/JayFoxRox/futurama-tools Futurama toolset]
 
 
[[Category:File Format]]

Latest revision as of 13:05, 6 January 2021

IMG


Format Specifications

// DIRECTORY

uint32 {4}   - Directory Length


// for each file and folder
char {X}     - Filename
byte {1}     - null Filename Terminator
byte {0-3}   - null Padding to a multiple of 4 bytes


if (bit#1 of the filename is =1){
// directory
uint32 {4}   - Number Of Files In This Folder?
}


else {
// file
uint32 {4}   - File Length
uint32 {4}   - File Offset
}


uint16 {2}   - null


byte {0-2047}      - null Padding to a multiple of 2048 bytes

// FILE DATA

// for each file
byte {X}     - File Data
byte {0-2047}      - null Padding to a multiple of 2048 bytes

MultiEx BMS

Not written yet

Notes and Comments

  • The bit#1 of the filename determines whether the entry is a file or a folder. If it is a folder, the first character of the filename will need to have bit#1 removed.

Supported Programs