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
-
SomeIndianGuy
- Engineer

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

Nothing to put here!
-
kamnet
- Moderator

- Posts: 6888
- Joined: 28 Sep 2009 17:15
- Location: Eastern KY
-
Contact:
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.

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

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

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!
-
PikkaBird
- Graphics Moderator

- Posts: 5400
- Joined: 13 Sep 2004 13:21
- Location: The Moon
-
Contact:
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

- Posts: 1646
- Joined: 30 Mar 2005 09:43
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.
-
kamnet
- Moderator

- Posts: 6888
- Joined: 28 Sep 2009 17:15
- Location: Eastern KY
-
Contact:
Post
by kamnet » 16 Mar 2019 14:00
SomeIndianGuy wrote:Sir, I mean to make 8bpp.
My apologies, I misread your comment.
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

- Posts: 431
- Joined: 14 Oct 2017 11:06
- Location: Ukraine
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.
-
SomeIndianGuy
- Engineer

- Posts: 18
- Joined: 19 Nov 2018 19:26
- Location: Somewhere in India
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!
Users browsing this forum: Snail and 10 guests