Introduction
The game Quake uses the extension .lmp for several kinds of file. One of
them is a flat two-dimensional picture, the same format as most of the pictures packed
inside the game’s gfx.wad, stored as a separate file. Another,
palette.lmp, holds the palette the pictures refer to.
Structure
A picture is two 32-bit integers, the width and the height, followed by the pixels row
by row, one byte each, indexing the global palette. In id Software’s source code the
record is qpic_t. The palette file has no header and holds 768 bytes of
palette data.
Not described
Known, not yet covered
- Reference: this page is a summary; the other kinds of
.lmpfile are not yet described on this site. - Viewer: the site has no viewer for Quake pictures.