Quake 1 LMP manipulation tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marco Hladik 1dc3f089e1
Add wav2loop, which just makes sure a WAV file loops from the beginning.
3 weeks ago
README dump 1 month ago
lmp2tga.c dump 1 month ago
pal2tga.c dump 1 month ago
tga2lmp.c dump 1 month ago
tga2pal.c dump 1 month ago
tga2spr.c dump 1 month ago
tga2spr.txt dump 1 month ago
wav2loop.c Add wav2loop, which just makes sure a WAV file loops from the beginning. 3 weeks ago

README

Quake Tools

Each one of them is a single C file that should compile OOTB on any platform.
E.g. gcc -o pal2tga pal2tga.c

Their usage is pretty consistent - you supply the input files.
PAL2TGA wants a .lmp palette file, TGA2PAL wants a .tga image file - and so on.

They are all released under the MIT License. Binaries for Win32 are outdated but usable.

TrueVision Targa seems to be one of the saner image formats. The GIMP handles those fine.
Most advanced editors do...

PAL2TGA
Converts a Quake palette file into a 24bit TrueVision Targa file for direct editing.
pal2tga.c

TGA2PAL
Imports a 16x16 24bit Targa (like one generated by PAL2TGA) and converts it into a Quake palette file.
tga2pal.c

LMP2TGA
Convert Quake graphic lump files (.lmp) into a TrueVision Targa for editing.
Allows use of a custom palette.lmp file for non-standard modifications/games.
Note: colormap.lmp and palette.lmp are no typical graphic lumps - opening them
will most likely result in an error when validating the header.
lmp2tga.c

TGA2LM