WAD WAD3: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 47: Line 47:


* [[Game Extractor|Game Extractor]]
* [[Game Extractor|Game Extractor]]
* [http://www.telefragged.com/wally/index.shtml Wally - freeware texture editing program]<br>
* [[MultiEx_Commander|MultiEx Commander]]<br><br>
* [[MultiEx_Commander|MultiEx Commander]]<br><br>


=== Other Games ===  
=== Other Games ===  


These games also use this file format<br>
These games use this file format<br>
* Counterstrike
* Counterstrike
* Half-Life
* Half-Life
* Quake
* Quake
* Quake 2
* Quake 2
[[Category:File Format]]

Latest revision as of 14:59, 3 January 2021

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