Page 1 of 1

Where are the newgrf palette files?

Posted: 12 Oct 2023 08:47
by lukasz1985
Hi. Since I want to try myself at making some sprites for OpenTTD, I'm looking for the palette files.
The problem I'm having is that files linked at this address: https://newgrf-specs.tt-wiki.net/wiki/NML:Graphic_files give me 502 bad gateway error.

Re: Where are the newgrf palette files?

Posted: 12 Oct 2023 09:01
by lukasz1985

Re: Where are the newgrf palette files?

Posted: 13 Oct 2023 06:06
by PikkaBird
For future reference, both the DOS palette and comparative palette images on https://newgrf-specs.tt-wiki.net/wiki/P ... oordinates are 256 colour pngs with the DOS palette applied.

Re: Where are the newgrf palette files?

Posted: 13 Oct 2023 08:13
by kamnet
lukasz1985 wrote: 12 Oct 2023 09:01 Ok I found the dos palette here: https://web.archive.org/web/20121115112 ... rf-dos.gpl
Now I coulda sworn that I updated this wiki some years ago with the alternate links to Internet Archive, but I think I updated a different one instead. Oh well, that reminds me that I should just update this one too. :)

Re: Where are the newgrf palette files?

Posted: 14 Oct 2023 07:32
by lukasz1985
kamnet wrote: 13 Oct 2023 08:13
lukasz1985 wrote: 12 Oct 2023 09:01 Ok I found the dos palette here: https://web.archive.org/web/20121115112 ... rf-dos.gpl
Now I coulda sworn that I updated this wiki some years ago with the alternate links to Internet Archive, but I think I updated a different one instead. Oh well, that reminds me that I should just update this one too. :)
Is there no way to just upload the palette files to the wiki?

Re: Where are the newgrf palette files?

Posted: 14 Oct 2023 11:00
by Eddi
a wiki and a file hoster are probably two separate bits of software/infrastructure.

Re: Where are the newgrf palette files?

Posted: 07 Feb 2024 16:36
by le_harv
I am a little new to the coding of this game but is there a list of colours and corresponding numbers in lieu of the palletes being available? (That web archive GPL file wasn't recognised by GIMP for some reason.)

For example, an industry has map_colour "174"... where can I look this up to see what colour that is?

Re: Where are the newgrf palette files?

Posted: 07 Feb 2024 18:25
by peter1138

Re: Where are the newgrf palette files?

Posted: 07 Feb 2024 18:53
by le_harv
peter1138 wrote: 07 Feb 2024 18:25 You might find https://github.com/OpenTTD/OpenTTD/tree ... s/palettes of use.
Marvelous, exactly what I need. Thanks so much.

Re: Where are the newgrf palette files?

Posted: 09 Feb 2024 18:54
by _dp_
If it's just for coding and not drawing this is probably more convenient https://newgrf-specs.tt-wiki.net/wiki/P ... oordinates

Re: Where are the newgrf palette files?

Posted: 09 Feb 2024 22:23
by le_harv
Thanks for that link. I find the github link super easy to reference for coding because I can easily see what colour '127' is for example. Whereas I wouldn't know how to look up '127' on the wiki link. Unless I am missing something?

Re: Where are the newgrf palette files?

Posted: 10 Feb 2024 01:05
by _dp_
You need to look up in hex :) 127 is 7F so last in 8th row

Re: Where are the newgrf palette files?

Posted: 10 Feb 2024 01:06
by _dp_
Oh, there is a similar image in that github, nvm then. I didn't notice it at first and thought it's only editor palette files.

Wiki page does a better job at explaining what colors are safe to use though.