American Idol WD2
WD2
- Format Type : Archive
- Endian Order : Little Endian
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)
- uint32 {4} - File Length
// FILE DATA
- // for each file
- byte {X} - File Data
- byte {0-3} - null Padding to a multiple of 4 bytes
- byte {X} - File Data
// 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)
- uint64 {8} - Unknown (187,7,136,4,128,130,0,0)
- // 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)
- char {X} - Filename (full, including drive letter and path)
// FOLDER DIRECTORIES
- // for each folder
- char {4} - Header (DIRA)
- uint32 {4} - Number Of Files
- uint32 {4} - Number Of Files
- uint32 {4} - null
- char {4} - Header (DIRA)
- // for each file in this folder
- uint32 {4} - File/Directory ID (1=Directory,2=File)
- uint32 {4} - File/Directory ID (1=Directory,2=File)
- // for each file in this folder
- if (file){
- uint32 {4} - File ID? (id of the file that this filename belongs to)?
- }
- uint32 {4} - File ID? (id of the file that this filename belongs to)?
- if (file){
- else if (directory) {
- uint32 {4} - Sub-directory ID (ie offset to the contents for this sub-directory is 2048*thisValue)
- }
- uint32 {4} - Sub-directory ID (ie offset to the contents for this sub-directory is 2048*thisValue)
- else if (directory) {
- uint32 {4} - Filename Offset (relative to the first filename)
- 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
- char {X} - Filename
- // for each file in this folder
- byte {X} - null Padding to a length of 2048 bytes
- byte {X} - null Padding to a length of 2048 bytes
MultiEx BMS
Not written yet