AuthorTopic: Extracting a Color Pallet  (Read 2215 times)

Offline Mnots

  • 0001
  • *
  • Posts: 37
  • Karma: +0/-0
    • @_Mnots
    • http://pixeljoint.com/pixels/profile.asp#iv
    • View Profile
    • Livingston Games

Extracting a Color Pallet

on: May 11, 2016, 08:33:53 pm
I'm looking for Symphony of the Night's full color pallet. Haven't been able to find it online, yet. I've been going through every available sprite sheet, pulling out each pallet there, but it's somewhat painstaking and I'm sure I'm missing some colors that way.

Anybody know where I can find the full pallet?
or where/how I can easily extract the full pallet from sprite sheets?

Offline Probo

  • 0010
  • *
  • Posts: 317
  • Karma: +1/-0
    • View Profile

Re: Extracting a Color Pallet

Reply #1 on: May 12, 2016, 02:19:31 pm
I imagine the overall palette for SOTN is huuuge, maybe thousands of colours. would be interesting to find out actually. do you just want sprite palettes though? because the backgrounds are where most of the colour will come from, and theres also 3d elements in the bg too so youd maybe want their textures?

try places like spriters-resource.com for the sprites, and vgmaps.com for the levels.

edit: most thorough way would be to rip all the sprites and tiles and textures from a disc or ISO yourself though.. theres programs to do that kind of thing but I don't know much about it
« Last Edit: May 12, 2016, 02:26:21 pm by Probo »

Offline Mnots

  • 0001
  • *
  • Posts: 37
  • Karma: +0/-0
    • @_Mnots
    • http://pixeljoint.com/pixels/profile.asp#iv
    • View Profile
    • Livingston Games

Re: Extracting a Color Pallet

Reply #2 on: May 12, 2016, 03:24:36 pm
I have all the sprites and background sheets downloaded that I've been able to find. I don't think there's much (if anything) missing in them in comparison to the game.

I'm not sure how large the overall pallet is, but I know that the backgrounds and sprites share a lot of colors, from what I've seen so far.

Offline Kasumi

  • 0010
  • *
  • Posts: 275
  • Karma: +1/-0
    • View Profile

Re: Extracting a Color Pallet

Reply #3 on: May 12, 2016, 04:13:11 pm
Man. Nuking this post. Had Symphony of the Night confused with one of the GBA ones :(

tl;dr, may just write a program that can create a palette from all the images you have at least, because I'm having trouble finding one that could do that for >256 colors. (Imagemagick may help you if total colors are <1024.)

But extracting palettes from a game is not something you can do very automatically, unless someone has already done the reverse engineering work. Depending on the hardware some emulators might display the palettes to display the current scene (because the hardware would need that info to display it) but that doesn't reflect how the game stores the palette, or where, or how many colors.

Edit:
I kinda wonder how much of it is here:

This is what is seen in NO$PSX in the first gameplay section, but it's probably not all of it, and parts of it are animated. I would probably not expect to get all of it, even this is quite a lot of colors. 1822 unique.

Edit2: The above image is scaled wrong. So... here's this:

But it's over 2,000 unique colors now and that's probably not all throughout the game. So it's gonna end up as far too many to be useful I think. There are also colors in the scene that aren't in that set, so who knows.
« Last Edit: May 12, 2016, 06:26:00 pm by Kasumi »
I make actual NES games. Thus, I'm the unofficial forum dealer of too much information about the NES

Offline Mnots

  • 0001
  • *
  • Posts: 37
  • Karma: +0/-0
    • @_Mnots
    • http://pixeljoint.com/pixels/profile.asp#iv
    • View Profile
    • Livingston Games

Re: Extracting a Color Pallet

Reply #4 on: May 12, 2016, 07:48:36 pm
Man. Nuking this post. Had Symphony of the Night confused with one of the GBA ones :(

tl;dr, may just write a program that can create a palette from all the images you have at least, because I'm having trouble finding one that could do that for >256 colors. (Imagemagick may help you if total colors are <1024.)

But extracting palettes from a game is not something you can do very automatically, unless someone has already done the reverse engineering work. Depending on the hardware some emulators might display the palettes to display the current scene (because the hardware would need that info to display it) but that doesn't reflect how the game stores the palette, or where, or how many colors.

Edit:
I kinda wonder how much of it is here:

This is what is seen in NO$PSX in the first gameplay section, but it's probably not all of it, and parts of it are animated. I would probably not expect to get all of it, even this is quite a lot of colors. 1822 unique.

Edit2: The above image is scaled wrong. So... here's this:

But it's over 2,000 unique colors now and that's probably not all throughout the game. So it's gonna end up as far too many to be useful I think. There are also colors in the scene that aren't in that set, so who knows.

o_O

Well, damn. I wasn't visually able to spot the subtle differences in the colors, but I see what you mean now. Guess I'll be scratching the idea of using that pallet for my game. haha

Offline Ai

  • 0100
  • ***
  • Posts: 1057
  • Karma: +2/-0
  • finti
    • http://pixeljoint.com/pixels/profile.asp?id=1996
    • finticemo
    • View Profile

Re: Extracting a Color Pallet

Reply #5 on: May 16, 2016, 01:04:34 am
@kasumi:
GMIC (http://gmic.eu) can do that (look up '-colormap'). I've tested it with 100k-ish colors.
If you insist on being pessimistic about your own abilities, consider also being pessimistic about the accuracy of that pessimistic judgement.