WAD IWAD: Difference between revisions
Jump to navigation
Jump to search
imported>NjcPof mNo edit summary |
imported>Captain |
||
| Line 8: | Line 8: | ||
<tt><b> | <tt><b> | ||
char {4} | char {4} - Header <font color="purple">(IWAD)</font> <br> | ||
uint32 {4} - Number Of Files <br> | |||
uint32 {4} - Directory Offset <br> | |||
<br> | |||
byte {X} - File Data <br> | |||
<br> | |||
<font color="blue"> ''' // Directory ''' </font> <br> | |||
: <font color="blue"> ''' // for each file ''' </font> <br> | |||
:: uint32 {4} - File Offset <br> | |||
:: uint32 {4} - File Length <br> | |||
:: char {8} - Filename <br> | |||
<br> | |||
</b></tt> | |||
=== MultiEx BMS Script === | |||
<pre>ImpType Standard ; | |||
IDString 0 IWAD ; | |||
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 ; | |||
</pre> | |||
=== Compatible Programs === | |||
* [[MultiEx Commander]] | |||
* [[Game Extractor|Game Extractor]] | |||
* [[Fusepak]] | |||
* [[zWad]] | |||
=== Other Games === | |||
These games use this file format<br> | |||
* Doom *.wad | |||
* Doom 2 *.wad | |||
* Duke Nukem 3D *.wad | |||
* Heretic *.wad | |||
* Hexen *.wad | |||
* Quake 2 *.wad | |||
* Shadow Warrior *.wad | |||
* Strife *.wad | |||
Revision as of 13:57, 14 June 2007
WAD
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (IWAD)
uint32 {4} - Number Of Files
uint32 {4} - Directory Offset
byte {X} - File Data
// Directory
- // for each file
- uint32 {4} - File Offset
- uint32 {4} - File Length
- char {8} - Filename
- uint32 {4} - File Offset
MultiEx BMS Script
ImpType Standard ; IDString 0 IWAD ; 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
- Doom *.wad
- Doom 2 *.wad
- Duke Nukem 3D *.wad
- Heretic *.wad
- Hexen *.wad
- Quake 2 *.wad
- Shadow Warrior *.wad
- Strife *.wad