Earth WD Archive

From XentaxWiki
Jump to: navigation, search


Format Specifications

byte {33}    - Compressed Archive Header (24 bytes decompressed)
byte {X}     - File Data
byte {X}     - Compressed Directory
uint32 {4}   - Compressed Directory Length

Uncompressed header has the following format:
byte {8}  - file format identifying header = 0xff,0xa1,0xd0,"1WD",0x00,0x02
byte {6}  - Unknown
byte {10} - Unknown (note: has the same value at least in most WWIII: Black Gold WD files)

// When the directory is decompressed (ZLib) it has this structure

uint64 {8}   - Unknown
uint16 {2}   - Number of Files

// for each file
byte {1}     - Filename Length
char {X}     - Filename
byte {1}     - null
uint32 {4}   - File Offset
uint32 {4}   - File Length
uint32 {4}   - File Length

MultiEx BMS

Not written yet

Notes and Comments

NOTE: Not sure which is the compressed file length, but undoubtedly the compression used would be ZLib, the same as used for the compression of the header and directory

Supported Programs

Other Games

These games also use this file format

  • Earth 2150: The Moon Project *.wd
  • Earth 2160 *.wd
  • Frontline Attack: War Over Europe *.wd