IWAD

An IWAD file is 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:


 * Levels for each level in the game
 * PLAYPAL, COLORMAP and ENDOOM lumps
 * TEXTURE and PNAMES lumps for the game's texture information
 * A complete set of sounds
 * A complete set of music lumps
 * Graphics for the menu, status bar, heads up display, font, intermission and finale screens.
 * A complete set of sprites
 * A complete set of patches (matching those found in PNAMES)
 * A complete set of floor textures (flats)

When the Doom 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 IWAD files stored in an internal list. Valid names are:


 * doom.wad (Registered Doom 1)
 * doom1.wad (Shareware Doom 1)
 * doom2.wad (Doom 2)
 * tnt.wad (TNT:Evilution - Final Doom)
 * plutonia.wad (The plutonia experiment - Final Doom)

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