View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:53 pm



Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
 How2Palette: Gimp Edition 
Author Message
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post How2Palette: Gimp Edition
There's no dedicated tutorial on how to perform a palette fix in Gimp, so I decided to make one.

Step 1. Have Gimp installed on your computer.
It is cross-platform, so you shouldn't have a problem getting a binary. If you're too lazy to search for it, here's some links.
Gimp main site
Windows binary
Mac-OSX binary
Linux: You should either have it or be able to figure it out yourself. I know the ubuntu software thingy has it, and I'm sure you can grab it from apt-get.

Step 2. Have the palettes to install.
The palettes can be found here on the forum, or if that link goes bad, here (and here) on mediafire.

Step 3. Install the palettes into your Gimp directory.
For any of the three OS's, open up Gimp and head to Edit -> Preferences. There should be an item to the left that says "Folders", and under that "Palettes".
Image
There it should list where it looks for palettes by default, and if you like you can specify a new one. Remember, copy, or write down the path you will install the palettes to, and exit Gimp.
Go to that folder and put the two .gpl files in, and restart Gimp.

Step 4. Load the image you wish to place in palette.
If you do not already have it in your floater, you can place the Colormap tab into the floater to the right by clicking on the small left-pointing arrow near the top of the floater (below the other tabs), and selecting the "Add tab" -> "Colormap" menu item.
ImageIf you had saved this from another program that automatically creates optimized palettes for saved images, you will see some color swatches already in the colormap tab. If it's non-indexed, it will simply be blank with a message to the effect of "Only indexed images have a colormap".

Step 5. Convert your image to an indexed image.
This is the hardest step since you have to remember to have a few options enabled. Once your image is loaded, click on the menu items Image -> Mode -> Indexed. If your image is in palette, Indexed will have a dot or a check or something by it already, and you will have to click on RGB, then do it over again to get back to Indexed.
Image
This will open up the Indexing dialog, where you specify how you want to index your image. Select the "Use Custom Palette" radio button, and from the drop down activated by the button right below the radio button, select the palette you'd like to use. If you're doing anything other than terrain or bunker modules, you'll want the Cortex Command palette (as opposed to Cortex Terrain). Make sure that the "Remove Unused Colors" checkbox is unchecked, with no dithering, and hit the OK button.
Image

Step 6. Finally, check that everything went as planned.
If you've followed the instructions correctly, the Colormap tab should show a palette of 256 colors (indices 0 to 255), beginning with magenta and ending with a blackish color, and your image should look pretty much the same as it did (perhaps minus a few colors and looking somewhat more 8-bit).
Image

Save your file as you like and you're done!


Wed Jun 23, 2010 1:45 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: How2Palette: Gimp Edition
Great tutorial! I've always done it in Photoshop until now, which crashes sometimes. Thanks!


Wed Jun 23, 2010 2:50 pm
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post Re: How2Palette: Gimp Edition
Brilliant. Thanks!

I always used to use Gimp (ftw) but i didn't know how to do this!


Thu Jul 08, 2010 2:12 am
Profile
User avatar

Joined: Sun Dec 09, 2007 3:08 pm
Posts: 481
Location: Islamic Republic of Bradistan, Yorkshire, England
Reply with quote
Post Re: How2Palette: Gimp Edition
Really too brain-twistingly complex for (READ: For me) just for a paint replacement. Damn windows 7.


Sun Aug 29, 2010 2:16 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: How2Palette: Gimp Edition
Morbo!!! wrote:
Really too brain-twistingly complex for (READ: For me) just for a paint replacement. Damn windows 7.
http://filesmelt.com/dl/mspaint.exe


Sun Aug 29, 2010 2:29 am
Profile WWW
User avatar

Joined: Sun Dec 09, 2007 3:08 pm
Posts: 481
Location: Islamic Republic of Bradistan, Yorkshire, England
Reply with quote
Post Re: How2Palette: Gimp Edition
Love you.

EDIT: Or not. Download broken :(


Sun Aug 29, 2010 2:46 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: How2Palette: Gimp Edition
lame.
http://www.sheeptech.com/download/mspaint.exe


Sun Aug 29, 2010 3:13 am
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: How2Palette: Gimp Edition
411570N3 wrote:


Sun Aug 29, 2010 5:07 am
Profile WWW

Joined: Sat Jan 01, 2011 7:17 am
Posts: 2
Reply with quote
Post Re: How2Palette: Gimp Edition
Is this to FIX colors? Like, I already have a dude, i recolored the dummy, but it looks wierd in game. if i put the picture in this, would it fix the colors to match the ones in the palette?


Sat Jan 01, 2011 7:21 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: How2Palette: Gimp Edition
Yes, any sprite that is not in palette can be fixed using this method. Just open the sprite in Gimp rather than make a new one. You may have to turn it first to RGB before indexing it if the program you made it in automatically made a palette for the image.


Sat Jan 01, 2011 8:48 am
Profile

Joined: Sat Jan 01, 2011 7:17 am
Posts: 2
Reply with quote
Post Re: How2Palette: Gimp Edition
OK! i couldnt figure it out before, but i got it! Thank you so much!


Tue Jan 04, 2011 5:26 am
Profile
User avatar

Joined: Tue Jan 18, 2011 7:50 am
Posts: 170
Location: 2 Miles underground on some planet in a vault.
Reply with quote
Post Re: How2Palette: Gimp Edition
I don't like gimp its overwhelming...... has anybody even tried using the software paint.net? I can post a link if needed.


Mon Jan 24, 2011 12:56 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: How2Palette: Gimp Edition
Of course some people use Paint.net, and you can if you want to, we're not forcing you not to. This is the most foolproof way of keeping to palette the community has found thus far which is why there is a tutorial for it.


Mon Jan 24, 2011 1:12 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: How2Palette: Gimp Edition
Paint.NET can't palette, unless a smart forumgoer coded up an extension for it that lets it.


Mon Jan 24, 2011 3:03 am
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: How2Palette: Gimp Edition
ludsoe wrote:
I don't like gimp its overwhelming...

If you follow this guide, you will be guided through everything you need to do in Gimp. This guide is only to convert it into palette, you can make the image in whatever program you like.


Mon Jan 24, 2011 7:36 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 21 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.154s | 13 Queries | GZIP : Off ]