News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

CGA and EGA Dashboard Palettes

Started by KyLiE, April 21, 2021, 02:24:38 PM

Previous topic - Next topic

KyLiE

Can anyone explain how the alternative CGA and EGA palettes in the dashboard files work?  I'm referring to the !cg0 and !eg0 resources in the STDA*.PVS and STDB*.PVS files.  The Stunts Wiki briefly mentions them, however it doesn't provide any detailed information.

I'm currently working on a custom car and while hardly anyone will be using these graphic modes these days, I would still like to configure them correctly.  Any help on this would be greatly appreciated.  Thanks! :)

Cas

I *think* that these two sections contain a list of 128 or 256 bytes that serve as a translation table. For each material (or colour), a CGA or EGA colour is given (0 to 4 for CGA and 0 to 15 for EGA). This is a hypothesis and I have not tested it. If somebody knows better, please add what you know!
Earth is my country. Science is my religion.