LMP

An LMP is a lump that is usually referenced externally as a demo. The term LMP comes from the file extension that the original MS-DOS Doom engine uses when recording gameplay demonstrations (see demos), as file extensions under this operating system were strictly limited to three characters; LMP was the most logical shortening of "lump".

In the MS-DOS version of Doom, players could make a recording of their gameplay by typing:

at the DOS console, where demoname was the name of the file to record the demo to. This was restricted (again, by the operating system) to eight characters. Doom would append the .LMP extension to the file, and regurgitate any attempt to record or play a demo with an alternate file extension, effectively setting the LMP extension in stone. The LMP files that Doom created were of exactly the same format as the internal demo files. These demo files could be uploaded to BBSes and FTP servers to aid other players in the completion of the game, or to show off tricks or reveal secrets.

LMP files contain a sequence of commands which tell the game what actions will the player do - e.g. when will he do a step forward, turn around, shoot, switch weapons, etc.

Most modern source ports, such as ZDoom, cannot record demos in Doom's original LMP format, as their movement code requires the recording of extra data, such as Y-axis viewpoints and trajectories, and jumping, even if these features are not being utilised. Doom .lmp files can only be played back with the same version of the doom wad and doom executable or source port as the one used by the original recorder of the demo. If a demo is played on a different source port, using a different WAD or using a different version of doom, it may refuse to play, or the actions of the player in the demo may appear nonsensical, with the player running into walls and shooting randomly. This is known as desynch, and indicates that the demo is not compatible with the playback method being used.