#7296 closed feature request (outdated)
Game-specific 'EGA' palettes for Amiga versions
Reported by: | SF/quietust | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Indiana Jones 3 |
Description
A recent build added an Amiga-specific palette for 16- color games which seemed significantly higher contrast than before (bright colors brighter, dark colors darker); these were likely taken from one specific game (in my case, not Amiga Indy3).
The colors in the current snapshot are (RGB444, taken directly from scumm/gfx.cpp): 000 00C 0C0 0CC C00 C0C C60 CCC 666 66F 0F0 0FF F99 F0F FF0 FFF
In Amiga Indy3 [v1.4], the colors should be (RGB444, captured from WinUAE): 000 00B 0B0 0BB B00 B0B B70 BBB 777 77F 0F0 0FF F88 F0F FF0 FFF
As I don't own Amiga versions of any other games (Maniac Mansion, Zak McKracken, Loom), I don't know what they use
It's certainly possible that each 16-color Amiga game used a slightly different builtin palette; the appropriate palette could be selected based on the game loaded.
Ticket imported from: #771830. Ticket imported from: feature-requests/112.
Change History (8)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
The current Amiga palette was produced by comparing colors
values of screenshots of Maniac Mansion under WinUAE and
Maniac Mansion under Dosbox with Color Picker tools under
Gimp. Looks like my attempt was flawed though, as I just
notiiced the colors in WinUAE screenshots change slightly
when I pasted image into Gimp.
How would I convert those RGB444 values into a color table
for ScummVM ? a patch would be welcome, as I'm very new
at this.
comment:3 by , 21 years ago
Converting the RGB444 hex triplets to palette table data is extremely easy - as an example, B71 would translate to Red=0xBB, Green=0x77, and Blue=0x11 (or "187, 119, 17"). Once I find the 'proper' way to load a file from the game's data directory, I should be able to add support for custom palette data in Amiga games (probably with a filename like "palette.dat").
comment:4 by , 21 years ago
If yo use the File class, it offers automatic support to open files inside the game data directory.
Although I have my strong doubts about the usefulness of such a feature...
comment:5 by , 21 years ago
Thanks, I have corrected the Amiga palette in ScummVM. I compared each 16 color Amiga game briefly in ScummVM/WinUAE and looks like they all share the same palette after all.
comment:6 by , 21 years ago
No longer necessary, as there is only one 16-color Amiga palette shared between Maniac Mansion/Zak McKracken/ Loom/Indy3 and ScummVM has it.
comment:7 by , 21 years ago
Resolution: | → outdated |
---|---|
Status: | new → closed |
comment:8 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Indiana Jones 3 |
Just a suggestion: ScummVM could use external palettes if present in the game data directory. Make it a simple text file which just lists the colors in such RGB hex triples as posted here. This way everyone easily could tweak them for their own.