American Idol WD2

From XentaxWiki
Jump to: navigation, search

WD2


Format Specifications

char {4}     - Header (HHWD)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown (3)
char {4}     - Data Header (DATA)
uint32 {4}   - Files Directory Offset (40)
char {4}     - Information Header (INFO)
uint32 {4}   - Information Directory Offset
char {4}     - Directory Header (DIR )
uint32 {4}   - Folders Directory Offset

// FILES DIRECTORY

uint32 {4}   - Number Of Files


// for each file
uint32 {4}   - File Length
uint32 {4}   - File Offset (Relative to the start of the file data)


// FILE DATA

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


// INFORMATION DIRECTORY

uint32 {4}   - Number Of Files (same as before)


// for each file
uint64 {8}   - Unknown (187,7,136,4,128,130,0,0)
uint32 {4}   - Unknown (1)
uint32 {4}   - Filename Length (including the null terminator)


// for each file
char {X}     - Filename (full, including drive letter and path)
byte {1}     - null Filename Terminator
byte {0-3}   - Padding to a multiple of 4 bytes (using (byte)204)


// FOLDER DIRECTORIES

// for each folder
char {4}     - Header (DIRA)
uint32 {4}   - Number Of Files
uint32 {4}   - Number Of Files
uint32 {4}   - null


// for each file in this folder
uint32 {4}   - File/Directory ID (1=Directory,2=File)


if (file){
uint32 {4}   - File ID? (id of the file that this filename belongs to)?
}


else if (directory) {
uint32 {4}   - Sub-directory ID (ie offset to the contents for this sub-directory is 2048*thisValue)
}


uint32 {4}   - Filename Offset (relative to the first filename)


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


byte {X}     - null Padding to a length of 2048 bytes

MultiEx BMS

Not written yet


Supported Programs