Page 1 of 1

Palette Qs

Posted: 16 Mar 2019 10:16
by SomeIndianGuy
Hello,
I am asking about the way to implement the 256 colour palette for openttd as I am facing a nightmare to implement it in GIMP.
Any reply would be highly appreciated from any new GRF developer.
I would give credits to all who will help me in this in the future IRTrains set.
:bow: :bow: :mrgreen: :roll:

Re: Palette Qs

Posted: 16 Mar 2019 10:40
by kamnet
SomeIndianGuy wrote:Hello,
I am asking about the way to implement the 256 colour palette for openttd as I am facing a nightmare to implement it in GIMP.
Any reply would be highly appreciated from any new GRF developer.
I would give credits to all who will help me in this in the future IRTrains set.
:bow: :bow: :mrgreen: :roll:
There's nothing you need to set up in GIMP if you want to use 32bpp color palette. It uses the entire RGB range from 000,000,000 to 255,255,255. All you need to do is specify that you're using 32bpp in your code.

Re: Palette Qs

Posted: 16 Mar 2019 10:53
by SomeIndianGuy
kamnet wrote:
SomeIndianGuy wrote:Hello,
I am asking about the way to implement the 256 colour palette for openttd as I am facing a nightmare to implement it in GIMP.
Any reply would be highly appreciated from any new GRF developer.
I would give credits to all who will help me in this in the future IRTrains set.
:bow: :bow: :mrgreen: :roll:
There's nothing you need to set up in GIMP if you want to use 32bpp color palette. It uses the entire RGB range from 000,000,000 to 255,255,255. All you need to do is specify that you're using 32bpp in your code.
Sir, I mean to make 8bpp.

Re: Palette Qs

Posted: 16 Mar 2019 11:43
by PikkaBird
kamnet wrote:There's nothing you need to set up in GIMP if you want to use 32bpp color palette.
You still need correctly paletted 8 bit sprites if you want to use company colours or other remapping effects in 32bpp.

I still use a 20-year-old version of Paint Shop Pro to make OpenTTD sprites. It's very hard to find a modern graphics editor which has decent tools for manipulating and applying 8 bit palettes.

Re: Palette Qs

Posted: 16 Mar 2019 13:04
by peter1138
You can import this palette in to gimp. I don't remember if it's the DOS or Windows version of the palette, though.

EDIT: vv better link below

Re: Palette Qs

Posted: 16 Mar 2019 14:00
by kamnet
SomeIndianGuy wrote:Sir, I mean to make 8bpp.
My apologies, I misread your comment. :oops:
peter1138 wrote:You can import this palette in to gimp. I don't remember if it's the DOS or Windows version of the palette, though.
Here's a link with GIMP profiles for both Windows and DOS palettes (I suggest using DOS), and profiles for GIMP, PaintShopPro and Photoshop.

https://dev.openttdcoop.org/documents/1

Re: Palette Qs

Posted: 16 Mar 2019 15:18
by Tony Pixel
You also can use a GRFMaker sprite editor, which has the integrated TTD palette, DOS/Windows-compatibility and some good tools.

Re: Palette Qs

Posted: 17 Mar 2019 04:40
by SomeIndianGuy
Tony Pixel wrote:You also can use a GRFMaker sprite editor, which has the integrated TTD palette, DOS/Windows-compatibility and some good tools.
Thank you, legendary NewGRF developer and Mr. Kamnet, legendary moderator for your insight!