Thunderhawk WAD

From XentaxWiki
Jump to: navigation, search

WAD


Format Specifications

// for each file

uint32 {4}   - Filename Offset
uint32 {4}   - File Offset
uint32 {4}   - File Length


uint32 {4}   - null
// for each file

char {X}     - Filename (null)


byte {1}     - null
byte {X}     - File Data

MultiEx BMS Script

Get DUMMYL Long 0 ;
ReverseLong DUMMYL ;
Set FILECNTL Long DUMMYL ;
Math FILECNTL /= 12 ;
Set FILESTART Long 0 ;
Do ;
GoTo FILESTART 0 ;
Get DUMMYL Long 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
ReverseLong DUMMYL ;
ReverseLong FILEOFF ;
ReverseLong FILESIZE ;
GoTo DUMMYL 0 ;
GetDString FILENAME 9 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs


Other Games

These games also use this file format

  • Firestorm: Thunderhawk 2 *.wad
  • Thunderhawk *.wad