Futurama XBox IMG

From XentaxWiki
Jump to: navigation, search

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