Wrong Colours

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
User avatar
RSpeed tycoonfreak
Transport Coordinator
Transport Coordinator
Posts: 349
Joined: 02 Feb 2006 13:17
Location: Azewijn The netherlands
Contact:

Wrong Colours

Post by RSpeed tycoonfreak »

I made some terminal with a train station for the fake airport set.
But when I replaced the old sprites It came out very weird.
I know that when you decode a .grf file replace the sprites and encode it that the colours look like crap.
So based on other grf sets I made this:Image
But not all coulours work as you can see in the attachement.
Does someone know a solution?
Attachments
Wrong colours.PNG
Wrong colours.PNG (99.35 KiB) Viewed 981 times
Visit The Fake Airport Website
Image
Hobbys: being 18 years old, soccer, go karting, and transport tycoon.
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Seems like windows and dos palette are mixed up. Whichever one you used, try using the other one. :)
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
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."
User avatar
RSpeed tycoonfreak
Transport Coordinator
Transport Coordinator
Posts: 349
Joined: 02 Feb 2006 13:17
Location: Azewijn The netherlands
Contact:

Post by RSpeed tycoonfreak »

I'll check it but I don't think it is the wrong pallette, I always use the pallette from you site
Visit The Fake Airport Website
Image
Hobbys: being 18 years old, soccer, go karting, and transport tycoon.
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

When coding a GRF, you have to choose between coding with DOS or Win palette. Try the other one. I assume you're using a thing like grfcodec?

Another possibility is, decode the GRF, paste the sprites over it again, and code again. Did the track for me at times.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
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."
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

As long as the .pcx file is paletted correctly, grfcodec will compile it with no complaints (or warnings).
The "-p ?" parameter only applies to when decoding if my memory is right.
You can use the "-m ?" parameter to convert between the palettes.

I believe some of the newer versions of grfcodec can check the palette, although I'm not sure. DaleStan will know more about that. ;)

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

Lakie wrote:I believe some of the newer versions of grfcodec can check the palette, although I'm not sure. DaleStan will know more about that. ;)
They do. It will complain and fail to compile if the pallette is not recognised, unless you encode with -f.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Semrush [Bot], SwissFan91 and 19 guests