Land Of Legends

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

WAD


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - Header? (206,202,239,190)
uint32 {4}   - Version (1)
uint32 {4}   - Unknown (158)
byte {1}     - Reader Package Name Length (41)
byte {41}    - Reader Package Name (System.Resources.ResourceReader, mscorlib)
byte {1}     - Resource Set Package Name Length (115)
byte {115}   - Resource Set Package Name (System.Resources.RuntimeResourceSet, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
uint32 {4}   - Unknown (1)
uint32 {4}   - Number Of Files
uint32 {4}   - Unknown (1)
byte {1}     - Byte Array Package Name Length (93)
byte {93}    - Byte Array Package Name (System.Byte[], mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
uint32 {4}   - Padding to Offset 280 (using repeating string "PAD");


// HASH DIRECTORY

// for each file
uint32 {4}   - Hash?


// UNKNOWN DIRECTORY

// for each file
uint32 {4}   - Unknown


uint32 {4}   - First File Offset

// DIRECTORY

// for each file
byte {1}     - Filename Length
char {X}     - Filename (unicode text)
uint32 {4}   - File Offset (relative to the start of the //FILE DATA)


// FILE DATA

// for each file
uint16 {2}   - null
uint32 {4}   - Unknown (1)
uint32 {4}   - Padding (all 255's)
uint32 {4}   - Unknown (1)
uint32 {4}   - null
uint32 {4}   - Unknown (271)
byte {1}     - null
uint32 {4}   - File Length
byte {1}     - File Start Marker (2)
byte {X}     - File Data
byte {1}     - File End Marker (11)

MultiEx BMS

Not written yet

Supported Programs