eukara’s WWW-zone

• News
• About
• Contact
• Hardware
• Projects
• Q1-Tools
• Travels
• TXT-Files

Quake Tools

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

Their usage is pretty consistent - they take one parameter, which is the input file.
PAL2TGA wants a .lmp palette file, TGA2PAL wants a .tga image file - and so on.

They are all released under the MIT License. Binaries probably out of date.

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

TGA2PAL
Imports a 16x16 24bit Targa (can be 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

TGA2LMP
Converts a 24bit Targa into a Quake graphic lump file.
Allows use of a custom palette.lmp file for non-standard modifications/games.
tga2lmp.c

TGA2SPR
Converts 24bit Targas into a Quake sprite lump file.
Allows use of a custom palette.lmp file for non-standard modifications/games, like the others...
Arguably the most complex one, README instructions required!
tga2spr.c
readme file

Binaries
Win32
Compiled with MSVC6