action colors conversion tool
Moderator: Graphics Moderators
action colors conversion tool
To help out those that face the arduous task of making NFO's to go along with sprites and then find that your new vehicle blinks like an ADHD patient on a sugar rush, I wrote a small tool.
It replaces all action colors in a pcx by the same non-action color.
run on a command line without parameters to view usage.
Replacement color credits go to Broodje
[update] Fixed! ready for use
It replaces all action colors in a pcx by the same non-action color.
run on a command line without parameters to view usage.
Replacement color credits go to Broodje
[update] Fixed! ready for use
- Attachments
-
- palconvert.zip
- palconvert.exe - executable
- (14.34 KiB) Downloaded 418 times
-
- palconvert_source.zip
- Source - ANSI C
- (1.7 KiB) Downloaded 329 times
Last edited by Korenn on 29 Apr 2004 14:05, edited 1 time in total.
Creator of the Openttd Challenge Spinoff, Town Demand patch
After action reports: The path to riches, A dream of skyscrapers
After action reports: The path to riches, A dream of skyscrapers
Cool! Maybe it can be integrated in the the GRF encoder to do it automatically?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Sorry for digging this up, but I was in a rush when this was a new post and so didn't get around to saying thank you.
This is really useful because I was sure there was still the odd flashing colour in the US set and so I've run the USSet PCX through it.
Now that I've copied the flashing ETD back in I've got rid of all those annoying flashes.
Thanks again!
This is really useful because I was sure there was still the odd flashing colour in the US set and so I've run the USSet PCX through it.
Now that I've copied the flashing ETD back in I've got rid of all those annoying flashes.
Thanks again!
US Train Set v0.87.1 now released: http://www.tt-forums.net/viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: action colors conversion tool
now THIS is a bump...
they say in Estonia that never is too late...So when I started to organize the 8bpp graphics replacement for OpenTTD, Korenn gave me this link....Thank you Korenn very much. It has halped to solve one big problem I had about the action colours. So I thank you maybe even few years later, but I still thank you
BTW, one suggestion.(yea I know I'm a bit late ). Is it possible to make this tool to add the ttd palette first and then remove action? I mean another commandline option ->
palconvert source.pcx output.pcx -C -p 2
would add windows palette to picture (similar when you load a 32bpp layer to and indexed image in Gimp) and then remove action colours.
And once again, thanks and sorry for a three year topic bump
they say in Estonia that never is too late...So when I started to organize the 8bpp graphics replacement for OpenTTD, Korenn gave me this link....Thank you Korenn very much. It has halped to solve one big problem I had about the action colours. So I thank you maybe even few years later, but I still thank you
BTW, one suggestion.(yea I know I'm a bit late ). Is it possible to make this tool to add the ttd palette first and then remove action? I mean another commandline option ->
palconvert source.pcx output.pcx -C -p 2
would add windows palette to picture (similar when you load a 32bpp layer to and indexed image in Gimp) and then remove action colours.
And once again, thanks and sorry for a three year topic bump
Re: action colors conversion tool
A worthy bump, IMO. I myself recently found this thread in the depths of the forum, and have found it to be a handy little tool. So a belated "thanks" to Korenn from me also.
My projects: New Town Names | Snow Aware Arctic Buildings | Custom Buildings | Funny Cars | Mini GRFs | Bits & Bobs
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Re: action colors conversion tool
Its good to know the existence of this wonderful tool:)PaulC wrote:A worthy bump, IMO. I myself recently found this thread in the depths of the forum, and have found it to be a handy little tool. So a belated "thanks" to Korenn from me also.
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: action colors conversion tool
Useful dig, useful applet.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Re: action colors conversion tool
For those who don't know; GRFMaker got a similar tool built-in.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Re: action colors conversion tool
Good to see it's still useful. That suggestion isn't as easy as it sounds, converting 32 bpp to the right indexed colors can be quite tricky. Especially because which color is the 'correct' replacement is subjective.lordazamath wrote:BTW, one suggestion.(yea I know I'm a bit late ). Is it possible to make this tool to add the ttd palette first and then remove action? I mean another commandline option ->
palconvert source.pcx output.pcx -C -p 2
would add windows palette to picture (similar when you load a 32bpp layer to and indexed image in Gimp) and then remove action colours.
And once again, thanks and sorry for a three year topic bump
Creator of the Openttd Challenge Spinoff, Town Demand patch
After action reports: The path to riches, A dream of skyscrapers
After action reports: The path to riches, A dream of skyscrapers
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: action colors conversion tool
I prefer error diffusion. Replacing with most fit will not give nice result.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Re: action colors conversion tool
It turns out more than 4 years after I wrote this it's still being used occasionally, so I thought it was time to add what I forgot in the original post: The code for this tool is released to the public, you can do whatever you want with it, no strings attached.
Creator of the Openttd Challenge Spinoff, Town Demand patch
After action reports: The path to riches, A dream of skyscrapers
After action reports: The path to riches, A dream of skyscrapers
Who is online
Users browsing this forum: GarryG and 35 guests