View unanswered posts | View active topics It is currently Fri Jan 10, 2025 12:16 am



Reply to topic  [ 11 posts ] 
 Palette Color Swap? 
Author Message
User avatar

Joined: Fri Jul 18, 2008 9:18 pm
Posts: 131
Location: Sacramento, CA
Reply with quote
Post Palette Color Swap?
So I've decided to attempt undertaking a module of a sorts; I did LordTim's little MyFirstGun thing, but I'd really like to get beyond that.

As such the first thing I am attempting to make for this module is a Crab type actor/unit. However I have recently come to find that if images are going to be used in CC, they must use the color palette for CC, correct?

I spent all last night and some of this morning just finishing up with the model before discovering this.
So my question is: Is there any way I can take my model, and swap out the colors in it for ones that match closest from the CC palette?

Because I'm really happy with the way it all turned out, and I don't want to have to go color-matching pixel by pixel. :(

EDIT: Sorry for being a bit dense...I just saw the sticky for this very thing. :x


Fri Apr 10, 2009 9:29 pm
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: Palette Color Swap?
1. Open your sprite
2. Ctrl+A
3. Ctrl+C
4. Go into Base.rte
5. Open Pallette.bmp
6. Ctrl+C ssshhhhh
6. Ctrl+V
7. File>Save As...
8. Save over old, out of pallette sprite


Last edited by 411570N3 on Tue Apr 21, 2009 11:40 am, edited 2 times in total.



Sat Apr 11, 2009 3:56 am
Profile WWW
User avatar

Joined: Sat May 24, 2008 5:10 am
Posts: 167
Location: In Belgium!!!!
Reply with quote
Post Re: Palette Color Swap?
I always wondered,why is there a palette?


Sat Apr 11, 2009 10:20 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: Palette Color Swap?
It saves memory.
Alot of it.
Like a ridiculously huge amount of it.


Sat Apr 11, 2009 10:23 am
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Palette Color Swap?
Prom seems to dislike it... Its rather terrible, and badly organized.


Sat Apr 11, 2009 12:28 pm
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: Palette Color Swap?
Yeah, but it's a ridiculous amount of lag saved. I really don't think you understand.

Okay, the pallette has 225 colours, a 15x15 square. Your screen will have 24 to 32 bit colour. 24 bit colour requires 16,777,216 colours to be loaded, 32 bit requires upwards of 4 billion. Compare: 225, >16 million, >4 billion. Now how much laggier do you think it will be?

When I sprite, I get the colours I'm using and make gradient bars, you should start doing the same if the pallette is that confusing to you.


Sat Apr 11, 2009 12:37 pm
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Palette Color Swap?
I get the whole memory saving thing. I was just pointing out something. I also ain't confused by the palette, I'm saying the choice of colors on that thing is terrible. (Especially when it comes to blacks, most of them are almost exactly the same)


Sat Apr 11, 2009 2:32 pm
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: Palette Color Swap?
Ah, I see. Well I suppose I sort of agree with you, some more greys would be nice... but I don't really mind that much.


Last edited by 411570N3 on Tue Apr 21, 2009 11:39 am, edited 1 time in total.



Sat Apr 11, 2009 2:36 pm
Profile WWW

Joined: Thu Apr 16, 2009 12:03 pm
Posts: 8
Reply with quote
Post Re: Palette Color Swap?
411570N3 wrote:
1. Open your sprite
2. Ctrl+A
3. Ctrl+C
4. Go into Base.rte
5. Open Pallette.bmp
6. Ctrl+V
7. File>Save As...
8. Save over old, out of pallette sprite


Typo spotted, my friend.


Tue Apr 21, 2009 11:06 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Palette Color Swap?
Palette is used because allegro 24 and 32 bit applications run much slower with relatively little benefit graphically.

Palette was autogenerated by selecting median colors from a few of Prom's development sketches, and took him a damn long time. Just because you don't like it (and he says he doesn't) doesn't mean it's going to change, seeing as how that would require changing ALL native art assets as well as all mod content.


Tue Apr 21, 2009 3:18 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Palette Color Swap?
Prom did mention some color changing program thing he made some time ago:
Quote:
I just lazily run the ♥♥♥♥ through my batch processing program which uses my own palettizing routine

But I think all it does is what MSPaint does when you copy and paste.

(I also remember a DL link in the old "Media" forum)

Oh well, Data will obviously never change the palette so making this post was rather pointless...
*Sigh*


Tue Apr 21, 2009 4:20 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

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.044s | 14 Queries | GZIP : Off ]