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) |
(→Tools) |
||
(3 intermediate revisions by 3 users not shown) | |||
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 == | ||
− | 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]]. | ||
+ | |||
+ | == Tools == | ||
+ | * [[AdQuedit]] | ||
+ | * [[Fimg]] | ||
+ | * [[QPakMan]] |
Latest revision as of 15:26, 1 January 2022
.lmp (pronounced "lump") is a file extension used for several file formats in Quake.
Contents
Lmp images[edit]
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[edit]
A file with no header, simply contains 768 bytes of palette data. See palette.lmp.
Colormap.lmp[edit]
A file with no header, simply contains 16384 (or 16385) bytes of colormap data. See colormap.lmp.