Difference between revisions of "IWAD"
From DoomWiki.org
[unchecked revision] | [checked revision] |
Diabolución (talk | contribs) m (→Unofficial: Revise.) |
|||
(39 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
− | The acronym '''IWAD''' is generally interpreted as " | + | The acronym '''IWAD''' is generally interpreted as "internal [[WAD]]"<ref>Matt Fell (1994), [http://www.gamers.org/docs/FAQ/DOOM.FAQ.Specs.Chapters.2.html Unofficial DOOM Specs v1.3], Chapter 2. Retrieved on April 16, 2008.</ref> and refers to a WAD file which contains all of the external data for a complete game. In order to be identified as IWAD, a file must contain the "IWAD" <span style="white-space: nowrap;">({{c|49 57 41 44}})</span> [[Wikipedia:Magic number (programming)|magic]] identifier as the first four bytes in its header. An IWAD file is required for execution of any of the stock [[Doom engine]] games. This is in contrast to [[PWAD]]s, which are "patch" WADs intended to replace or augment the content found in the IWAD. |
− | A complete IWAD file usually contains the following: | + | ==Resources== |
+ | A complete IWAD file usually contains the following, along with other types of resources: | ||
− | * Levels for each level in the game | + | * [[Levels]] for each level in the game |
* [[PLAYPAL]], [[COLORMAP]] and [[ENDOOM]] [[lumps]] | * [[PLAYPAL]], [[COLORMAP]] and [[ENDOOM]] [[lumps]] | ||
− | * TEXTURE and [[PNAMES]] lumps for the game's texture information | + | * [[TEXTURE1 and TEXTURE2|TEXTURE]] and [[PNAMES]] lumps for the game's texture information |
− | * A complete set of | + | * A complete set of [[sound]]s |
− | * A complete set of music | + | * A complete set of [[MUS|music lump]]s |
− | * Graphics for the [[menu]], [[status bar]], [[heads-up display]], font, intermission and finale | + | * Graphics for the [[menu]], [[status bar]], [[heads-up display]], font, [[intermission]] and [[Text screen|finale screen]]s |
− | * A complete set of | + | * A complete set of [[sprite]]s |
− | * A complete set of | + | * A complete set of [[patch]]es (matching those found in PNAMES) |
− | * A complete set of floor textures ( | + | * A complete set of floor textures ([[flat]]s) |
− | When the game executable | + | When the game's [[executable file]] is started, one of the first things it does is attempt to locate an IWAD file. This is done based on file name; the executable has the names of the [[Doom]], [[Heretic]], [[Hexen]], or [[Strife]] IWAD files stored in an internal list. |
− | + | 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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 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. | + | 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. (The Final Doom IWAD, however, could be renamed to doom2.wad, or loaded as a PWAD.) |
− | == | + | ==IWAD files== |
+ | ===Official=== | ||
+ | The following table lists the canonical file names of officially licensed [[commercial games|games']] IWAD files. | ||
+ | {| {{prettytable}} | ||
+ | |- | ||
+ | ! File !! Game(s) | ||
+ | |- | ||
+ | | [[DOOM1.WAD]] || [[Doom]] [[shareware]] version | ||
+ | |- | ||
+ | | [[DOOM.WAD]] || Doom registered version; [[Ultimate Doom]] | ||
+ | |- | ||
+ | | [[DOOM2.WAD]] || [[Doom II]] | ||
+ | |- | ||
+ | | [[DOOM2F.WAD]] || Doom II French-language version | ||
+ | |- | ||
+ | | [[DOOM64.WAD]] || [[Doom 64 (2020 version)|Doom 64 (2020 port)]] | ||
+ | |- | ||
+ | | [[TNT.WAD]] || [[Final Doom]] - [[TNT: Evilution]] | ||
+ | |- | ||
+ | | [[PLUTONIA.WAD]] || Final Doom - [[The Plutonia Experiment]] | ||
+ | |- | ||
+ | | [[HERETIC1.WAD]] || [[Heretic]] shareware version | ||
+ | |- | ||
+ | | [[HERETIC.WAD]] || Heretic registered version; Heretic: Shadow of the Serpent Riders | ||
+ | |- | ||
+ | | [[HEXEN.WAD]] || [[Hexen]] demo and commercial versions | ||
+ | |- | ||
+ | | [[HEXDD.WAD]] || [[Hexen: Deathkings of the Dark Citadel]]; not a full IWAD, requires HEXEN.WAD to be played | ||
+ | |- | ||
+ | | [[STRIFE0.WAD]] || [[Strife: Quest for the Sigil]] demo version | ||
+ | |- | ||
+ | | [[STRIFE1.WAD]] || Strife commercial version; [[Strife: Veteran Edition]] | ||
+ | |- | ||
+ | | [[VOICES.WAD]] || Strife commercial version or Veteran Edition; optional, contains voice sound effects only | ||
+ | |- | ||
+ | | [[CHEX.WAD]] || [[Chex Quest]] | ||
+ | |} | ||
− | + | ===Unofficial=== | |
+ | Since the release of the [[Doom source code]] and development of advanced [[source port]]s, the creation of custom IWAD files which implement new games has become viable. | ||
+ | {| {{prettytable}} | ||
+ | |- | ||
+ | ! File !! Game | ||
+ | |- | ||
+ | | [[CHEX3.WAD]] || [[Chex Quest 3]] | ||
+ | |- | ||
+ | | [[HACX.WAD]] || [[Hacx]] v1.2 stand-alone edition | ||
+ | |- | ||
+ | | [[freedoom1.wad]] || [[Freedoom]]: Phase 1 | ||
+ | |- | ||
+ | | [[freedoom2.wad]] || [[Freedoom]]: Phase 2 | ||
+ | |- | ||
+ | | [[freedm.wad]] || [[Freedoom|FreeDM]] | ||
+ | |} | ||
== See also == | == See also == | ||
+ | * [[Doom files]] | ||
− | * [[ | + | == External links == |
+ | * [[zdoom_wiki:IWAD|IWAD]] — [[ZDoom]] supports additional IWADs. | ||
+ | |||
+ | == References == | ||
+ | <references /> | ||
[[Category:Resources]] | [[Category:Resources]] |
Revision as of 05:13, 26 December 2021
The acronym IWAD is generally interpreted as "internal WAD"[1] and refers to a WAD file which contains all of the external data for a complete game. In order to be identified as IWAD, a file must contain the "IWAD" (49 57 41 44) magic identifier as the first four bytes in its header. An IWAD file is required for execution of any of the stock Doom engine games. This is in contrast to PWADs, which are "patch" WADs intended to replace or augment the content found in the IWAD.
Contents
Resources
A complete IWAD file usually contains the following, along with other types of resources:
- 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 game's executable file is started, one of the first things it does is attempt to locate an IWAD file. This is done based on file name; the executable has the names of the Doom, Heretic, Hexen, or Strife IWAD files stored in an internal list.
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. (The Final Doom IWAD, however, could be renamed to doom2.wad, or loaded as a PWAD.)
IWAD files
Official
The following table lists the canonical file names of officially licensed games' IWAD files.
File | Game(s) |
---|---|
DOOM1.WAD | Doom shareware version |
DOOM.WAD | Doom registered version; Ultimate Doom |
DOOM2.WAD | Doom II |
DOOM2F.WAD | Doom II French-language version |
DOOM64.WAD | Doom 64 (2020 port) |
TNT.WAD | Final Doom - TNT: Evilution |
PLUTONIA.WAD | Final Doom - The Plutonia Experiment |
HERETIC1.WAD | Heretic shareware version |
HERETIC.WAD | Heretic registered version; Heretic: Shadow of the Serpent Riders |
HEXEN.WAD | Hexen demo and commercial versions |
HEXDD.WAD | Hexen: Deathkings of the Dark Citadel; not a full IWAD, requires HEXEN.WAD to be played |
STRIFE0.WAD | Strife: Quest for the Sigil demo version |
STRIFE1.WAD | Strife commercial version; Strife: Veteran Edition |
VOICES.WAD | Strife commercial version or Veteran Edition; optional, contains voice sound effects only |
CHEX.WAD | Chex Quest |
Unofficial
Since the release of the Doom source code and development of advanced source ports, the creation of custom IWAD files which implement new games has become viable.
File | Game |
---|---|
CHEX3.WAD | Chex Quest 3 |
HACX.WAD | Hacx v1.2 stand-alone edition |
freedoom1.wad | Freedoom: Phase 1 |
freedoom2.wad | Freedoom: Phase 2 |
freedm.wad | FreeDM |
See also
External links
References
- ↑ Matt Fell (1994), Unofficial DOOM Specs v1.3, Chapter 2. Retrieved on April 16, 2008.