Jump to content

GIMP pallete: Difference between revisions

From Kingpin Wiki
Created page with "<div class="subtitle"><strong>This just 1of options to fix colors in Kingpin textures. Result can be diffrent depending on texture.</strong></div> <div class="subtitle"><strong>It's convert from <a href="http://maps.rcmd.org/tutorials/q2_palette_textures/" target="_blank">Quake2.</a></strong></div> <div class="subtitle"><strong>FREDZ</strong></div> <div class="subtitle"> </div> <div class="subtitle"><strong>How to convert a RGB texture to the Kingpin palette in GIMP..."
 
No edit summary
Line 1: Line 1:
<div class="subtitle"><strong>This just 1of options to fix colors in Kingpin textures. Result can be diffrent depending on texture.</strong></div>
<div class="subtitle"><strong>This just 1of options to fix colors in Kingpin textures. Result can be diffrent depending on texture.</strong></div>
<div class="subtitle"><strong>It's convert from <a href="http://maps.rcmd.org/tutorials/q2_palette_textures/" target="_blank">Quake2.</a></strong></div>
<div class="subtitle"><strong>It's convert from [http://maps.rcmd.org/tutorials/q2_palette_textures/ Quake2.]</strong></div>
<div class="subtitle"><strong>FREDZ</strong></div>
<div class="subtitle"><strong>FREDZ</strong></div>
<div class="subtitle">&nbsp;</div>
<div class="subtitle"><strong>How to convert a RGB texture to the Kingpin palette in GIMP</strong></div>
<div class="subtitle"><strong>How to convert a RGB texture to the Kingpin palette in GIMP</strong></div>
<div class="subtitle">&nbsp;</div>
<div class="subtitle">&nbsp;</div>

Revision as of 16:36, 20 February 2025

This just 1of options to fix colors in Kingpin textures. Result can be diffrent depending on texture.
It's convert from Quake2.
FREDZ
How to convert a RGB texture to the Kingpin palette in GIMP
 

Kingpin uses some times textures that have a fixed palette of 256 colors. This is known as Indexed Mode in most image manipulation programs. To properly convert a texture you have as a jpg file to Kingpin pcx, tga format you will have to convert the file to Indexed Mode using the Kingpin palette. Let's now have a look at how to do that in the great and free image manipulation software GIMP.

Step 1: Importing the Kingpin palette into GIMP

You only need to do this once for your installation of GIMP.

The Kingpin palette is saved in the file main/pics/colormap.pcx of your Kingpin installation. If you do not have this file in that location you will have to extract if from main/pak0.pak with a tool like PakScape. If this is too annoying you can also grab the file here.

Now that you have the file it's time to import this palette into GIMP. Open GIMP and load the file colormap.pcx. Let's first make sure that you have the Palettes tab in your GIMP toolbox. If you do, your toolbox should look similar to this one:

GIMP Pallette
GIMP Pallette

If you don't have the tab, add it now by pressing the small arrow marked with a red circle in the image above and clicking Add Tab > Palettes. Now that you have that tab, switch to it and press the small arrow again but this time click Palettes Menu > Import Palette...:

GIMP Import Pallette
GIMP Import Pallette

In the new window under Select source click Image. You can give the palette a better name, I named it Kingpin here:

GIMP Import a New Pallette
GIMP Import a New Pallette

Click Import and you're done.

Step 2: Converting an image with the Kingpin palette

Open your first  image in GIMP. Now click Image > Mode > Indexed.... In the new window under Colormap select Use custom palette. Then click on the tiny palette preview image and chose the Kingpin palette your imported in step 1. Uncheck the option Remove unused colors from colormap and click Convert

GIMP Indexed Color Conversion
GIMP Indexed Color Conversion

Save the image in pcx or tga (After you put it back in 32bit colors) format and you're done.