WAD WAD3

From XentaxWiki
Jump to: navigation, search

WAD


Format Specifications

char {4}     - Header (WAD3)
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - Offset
uint32 {4}   - Compressed File Size
uint32 {4}   - Uncompressed File Size
byte {1}     - File Type
byte {1}     - Compression Type
byte {2}     - Padding
char {16}    - Filename (null)


MultiEx BMS Script

ImpType Standard ;
IDString 0 WAD3 ;
Get FC Long 0 ;
SavePos TailOffOff 0 ;
Get TO Long 0 ;
GoTo TO 0 ;
For TE = 1 To FC ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
GetDString FN 8 0 ;
Log FN FO FS FOO FSO ;
Next TE ;

Compatible Programs

Other Games

These games use this file format

  • Counterstrike
  • Half-Life
  • Quake
  • Quake 2