GTA Series IMG DIR

From XentaxWiki
Revision as of 03:07, 12 December 2005 by imported>WATTO
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IMG


Format Specifications

char {4}     - Header (VER2)
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - File Offset [*2048]
uint32 {4}   - File Length [*2048] (includes padding at the end of the file)
char {X}     - Filename
byte {1}     - null Filename Terminator
byte {0-3}   - null Padding so filenameLength+1 is a multiple of 4 bytes


// repeat until this file entry has length 32 bytes
uint16 {2}   - Unknown ID (incremental from 166 (from start of filename))


// for each file

byte {X}     - File Data
byte {X}     - Padding to a multiple of 2048 bytes

MultiEx BMS

Not written yet

Supported Programs