Author Topic: Palette converter?  (Read 1251 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1747
  • The Gate is open.
    • View Profile
Palette converter?
« on: April 21, 2024, 07:52:54 pm »
Hi.
Anyone know how to convert photoshop/gimp/any other modern palette format to UFO palette? Or maybe to palette ruleset?
If no - maybe someone have full (256) ruleset list for geoscape colors?
Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9101
    • View Profile
Re: Palette converter?
« Reply #1 on: April 21, 2024, 08:01:08 pm »
I don't understand the question.
There is no such thing as a "modern palette".
All palettes are "old".
"Modern" images don't use palettes.

1/ If you are looking for UFO palettes in a format that can be loaded into photoshop or other programs, you can find them in the OXCE distribution directly.

For example ACT format palettes (for Photoshop) are in /common/Palettes/UFO-ACT-SAFE/*.act  for example PAL_GEOSCAPE_SAFE.act

2/ If you want to know raw RGB codes, you can read them as plain text in the JASC format files...

... they are in /common/Palettes/UFO-JASC/*.pal  for example PAL_GEOSCAPE.pal

The file contains 259 rows, the first 3 rows is the header and the next 256 rows are the color RGB codes

Offline Nord

  • Commander
  • *****
  • Posts: 1747
  • The Gate is open.
    • View Profile
Re: Palette converter?
« Reply #2 on: April 21, 2024, 09:19:20 pm »
... they are in /common/Palettes/UFO-JASC/*.pal  for example PAL_GEOSCAPE.pal
Thanks, that's what i search. Did not know that they are there.