Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of ".lmp"
From Quake Wiki
(meh) |
(→Lmp images) |
||
Line 3: | Line 3: | ||
== Lmp images == | == Lmp images == | ||
Quake stores some 2D UI graphics in files with .lmp extensions. | 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 == | == Palette.lmp == |
Revision as of 14:28, 18 March 2014
.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 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.