Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of ".lmp"
From Quake Wiki
(→Palette.lmp) |
(tools) |
||
Line 12: | Line 12: | ||
== 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]]. | ||
+ | |||
+ | == Tools == | ||
+ | * [[AdQuedit]] | ||
+ | * [[Fimg]] |
Revision as of 15:21, 1 January 2022
.lmp (pronounced "lump") is a file extension used for several file formats in Quake.
Contents
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.