Difference between revisions of "IWAD"

From DoomWiki.org

[unchecked revision][unchecked revision]
Line 13: Line 13:
 
* A complete set of floor textures ([[flat]]s)
 
* A complete set of floor textures ([[flat]]s)
  
When the game executable starts, one of the first things it does is attempt to locate an '''IWAD''' file.  This is done based on name; the executable has the names of the [[Doom]], [[Heretic]] or [[Hexen]] '''IWAD''' files stored in an internal list.  Valid names are:
+
When the game executable starts, one of the first things it does is attempt to locate an '''IWAD''' file.  This is done based on name; the executable has the names of the [[Doom]], [[Heretic]] or [[Hexen]] '''IWAD''' files stored in an internal list.  Valid names (compatible with [[zDoom]]) are:
  
 
* [[DOOM1.WAD]] ([[Doom]] [[Shareware]])
 
* [[DOOM1.WAD]] ([[Doom]] [[Shareware]])

Revision as of 02:44, 17 October 2012

The acronym IWAD is generally interpreted as "Internal WAD"[1] and refers to a WAD file which contains all of the game data for a complete game. The first four bytes of an IWAD file are the ASCII characters, "IWAD".

A complete IWAD file usually contains the following:

When the game executable starts, one of the first things it does is attempt to locate an IWAD file. This is done based on name; the executable has the names of the Doom, Heretic or Hexen IWAD files stored in an internal list. Valid names (compatible with zDoom) are:

IWAD-File aliases in zDoom


The executable sets an internal "mode" dependent on the IWAD it finds; because of this, what constitutes "a complete set" in the above lists depends on the name of the IWAD. For example, different music lumps will be used depending on whether the executable is configured to play Doom or Doom II. The executable also behaves differently in other ways: for example, loading of PWADs is disabled when loading a shareware IWAD.

Because of this, it is possible to use the executable from one Doom game with the IWAD file of another, although there are some exceptions to this due to version issues. For example, the Doom II executable cannot be used with a Final Doom IWAD, as that executable was created before Final Doom was released.

Notes

  1. Matt Fell (1994), Unofficial DOOM Specs v1.3, Chapter 2. Retrieved on April 16, 2008.

See also