Palette Qs

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
SomeIndianGuy
Engineer
Engineer
Posts: 18
Joined: 19 Nov 2018 19:26
Location: Somewhere in India

Palette Qs

Post by SomeIndianGuy » 16 Mar 2019 10:16

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:
Nothing to put here!

User avatar
kamnet
Moderator
Moderator
Posts: 6637
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Palette Qs

Post by kamnet » 16 Mar 2019 10:40

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.

SomeIndianGuy
Engineer
Engineer
Posts: 18
Joined: 19 Nov 2018 19:26
Location: Somewhere in India

Re: Palette Qs

Post by SomeIndianGuy » 16 Mar 2019 10:53

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.
Nothing to put here!

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5383
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Re: Palette Qs

Post by PikkaBird » 16 Mar 2019 11:43

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.

peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1646
Joined: 30 Mar 2005 09:43

Re: Palette Qs

Post by peter1138 » 16 Mar 2019 13:04

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
Last edited by peter1138 on 16 Mar 2019 14:35, edited 1 time in total.
He's like, some kind of OpenTTD developer.

User avatar
kamnet
Moderator
Moderator
Posts: 6637
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Palette Qs

Post by kamnet » 16 Mar 2019 14:00

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

Tony Pixel
Route Supervisor
Route Supervisor
Posts: 406
Joined: 14 Oct 2017 11:06
Location: Ukraine

Re: Palette Qs

Post by Tony Pixel » 16 Mar 2019 15:18

You also can use a GRFMaker sprite editor, which has the integrated TTD palette, DOS/Windows-compatibility and some good tools.
Image
Sprite artist and NewGRF developer, NML coder. My projects:
Screenshots: New York City Subway Episodes
NewGRFs: Not Enough Subways Set | North American Passenger Railroads | Elevated Subway Bridge | Over-sized Train Set | Tony Pixel's Subway Equipment Set

I use GPLv2+ license.

SomeIndianGuy
Engineer
Engineer
Posts: 18
Joined: 19 Nov 2018 19:26
Location: Somewhere in India

Re: Palette Qs

Post by SomeIndianGuy » 17 Mar 2019 04:40

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!
Nothing to put here!

Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: iAxlandia and 2 guests