Lump
From DoomWiki.org
A lump is any section of data within the structure of a WAD file, or a file containing such a portion of a WAD file. Each lump has a name (up to 8 characters), which is not necessarily unique. Lumps contain data such as:
- Graphics
- Sounds
- Music
- Demos
- Sprites
- Wall textures
- Wall patches
- Flats
- Level maps and associated data (REJECT tables, NODES, etc.)
Some lumps have specific reserved names. Examples of these are (from DOOM.WAD):
- The PLAYPAL and COLORMAP entries, which define the colour palettes and the lighting level adjustments respectively;
- ENDOOM, the 80x25 DOS screen containing credits and a humorous reminder about piracy, displayed at the console after quitting Doom;
- DMXGUS, an ASCII text lump that maps the instrument patches used by Doom's music for the Gravis Ultrasound (GUS) soundcard.
- DEMO1 through up to DEMO4, the internal gameplay demonstration recordings, which are played in a loop when the player is not actually playing the game. The total number of demos depends on the IWAD: three for Doom, Doom II, both halves of Final Doom, Heretic and Hexen; four for Ultimate Doom and Chex Quest; just one for Strife.
Trivia
During development of the Doom games id Software created many of the contents of the IWADs as separate lumps which could be merged into the WAD files, or loaded separately. Using DeHackEd or a hex editor to read Doom's executable, it's possible to see development mode loading commands that read some data, such as TEXTURE1, directly from a lump file. Not long after the release of Doom's source code, the developers released the sources for the utilities with which they handled lumps and wads, including Wadlink, their lump merging tool.
Sources
- The Doom Bible, especially appendix C