[ scummvm-Feature Requests-771830 ] Game-specific 'EGA' palettes for Amiga versions

SourceForge.net noreply at sourceforge.net
Wed Aug 27 15:58:17 CEST 2003


Feature Requests item #771830, was opened at 2003-07-15 14:19
Message generated for change (Comment added) made by quietust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=771830&group_id=37116

Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Quietust (quietust)
Assigned to: Nobody/Anonymous (nobody)
Summary: Game-specific 'EGA' palettes for Amiga versions

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Quietust (quietust)
Date: 2003-08-27 08:58

Message:
Logged In: YES 
user_id=56060

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 By: Travis Howell (kirben)
Date: 2003-07-17 00:13

Message:
Logged In: YES 
user_id=34715

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 By: Max Horn (fingolfin)
Date: 2003-07-16 19:18

Message:
Logged In: YES 
user_id=12935

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 By: Quietust (quietust)
Date: 2003-07-16 13:40

Message:
Logged In: YES 
user_id=56060

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 By: Travis Howell (kirben)
Date: 2003-07-16 08:34

Message:
Logged In: YES 
user_id=34715

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 By: Marek Roth (logicdeluxe)
Date: 2003-07-16 03:56

Message:
Logged In: YES 
user_id=123766

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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=771830&group_id=37116




More information about the Scummvm-tracker mailing list