Lump

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 friendly reminder about piracy, displayed at the MS-DOS console (or on Win32 consoles on source ports) 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 DEMO3, the internal gameplay demonstration recordings, which are played in a loop when the player is not actually playing the game.

Trivia
During development of the Doom games id Software created many of the contents of the IWADs as separate lump files 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 Lumpy, the lump merging tool.