Typical 8-bit BMP palette for SCUMM-like adventure games

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
kaveirious
Got a warning
Posts: 27
Joined: Fri Jul 27, 2007 12:49 am

Typical 8-bit BMP palette for SCUMM-like adventure games

Post by kaveirious »

Hi friends

i was if there is some de facto standard regarding the 256-color palette used in SCUMM games (or even non-SCUMM games). Does the mode 13h mandate for specific colors. In this case, does someone have a reference to the color values from the palette (their entries in the palette, established and RGB values of cource for reference).

Thank you in advance

kaveirious
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

No, there isn't.
kaveirious
Got a warning
Posts: 27
Joined: Fri Jul 27, 2007 12:49 am

Post by kaveirious »

OK

So what is the palette of your preference. Maybe some palette derived from LucasArts SCUMM games.

:wink:
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

kaveirious wrote: So what is the palette of your preference. Maybe some palette derived from LucasArts SCUMM games.
Isn't that a rather impossible question to answer? I mean, each room can have its own palette, and it may be changing it periodically to create animations or simulate changes in the lighting.
User avatar
PsYcO
Got 2 warnings
Posts: 511
Joined: Sun Dec 24, 2006 9:27 pm
Location: UK, Enfield
Contact:

Post by PsYcO »

logo?
kaveirious
Got a warning
Posts: 27
Joined: Fri Jul 27, 2007 12:49 am

Post by kaveirious »

Hi friends

i have coded a quick little program (ANSI C) for converting any 256-color palette extractable from mtpaint to my own "reference" palette. The results (to my senses in all but one case out of about 10, differences are minimal). I have used 320x200@256 screenshots from various games (both in-game shots and from animations).

I just want to use a single palette for something i am currently in the early stages of designing. It is a rather constrained environment (an non-PC environment) so there is no chance of having as many palettes as i would like.

kaveirious
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

Of course you can fix a reasonable single 256 color palette, and then convert all and any 256 color palette image to use that. Assuming you also add in a good dithering algorithm, the results should be reasonable, in most cases -- but there will always be cases where the results are bad to worthless.

Games made for 256 color mode almost always used custom palettes for each room/scene/level, sometimes even multiple, assuming a certain sophistication level of the game. Thing is, 256 colors simply are very, very limited. Imagine in one scene you need to draw a desert scene, with lots of yellow, brown, red, and want nice color blends; and the next screen is a forest with lots of shades of green and maybe some dark brown mixed in... And the third scene is an ocean with blue and white. You just don't want to use a single palette for that!
Post Reply