Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of ".lmp"
From Quake Wiki
(→Lmp images) |
(→Palette.lmp) |
||
Line 8: | Line 8: | ||
== Palette.lmp == | == Palette.lmp == | ||
− | A file with no header, simply contains 768 of palette data. See [[palette.lmp]]. | + | A file with no header, simply contains 768 bytes of palette data. See [[palette.lmp]]. |
== Colormap.lmp == | == Colormap.lmp == | ||
A file with no header, simply contains 16384 (or 16385) bytes of colormap data. See [[colormap.lmp]]. | A file with no header, simply contains 16384 (or 16385) bytes of colormap data. See [[colormap.lmp]]. |
Revision as of 03:07, 27 May 2019
.lmp (pronounced "lump") is a file extension used for several file formats in Quake.
Lmp images
Quake stores some 2D UI graphics in files with .lmp extensions. These image lmps contain a small header consisting of just 32bit width then height values, the image data is then densely packed in top-down left-right order. The image data itself is 8-bit paletted using the global palette. This is the same format as most of the lumps within gfx.wad, just separated into their own files.
Palette.lmp
A file with no header, simply contains 768 bytes of palette data. See palette.lmp.
Colormap.lmp
A file with no header, simply contains 16384 (or 16385) bytes of colormap data. See colormap.lmp.