Colour depth upgrade?

All the inane chatter goes in here. If you're curious about whether we will support a game, post HERE not in General Discussion :)

Moderator: ScummVM Team

Post Reply
User avatar
ezekiel000
Posts: 443
Joined: Mon Aug 25, 2008 5:17 pm
Location: Surrey, England

Colour depth upgrade?

Post by ezekiel000 »

I remember a while back that someone asked if Zork Nemesis and Zork Grand Inquisitor would be incorporated in the future, which is something I would like to see but I understand that this sort of thing needs someone willing to work on them.

But it was also brought up that for these to be implemented ScummVM would need to support 16bit colour, my question is how hard is that to do? I don't know the inner workings of the colour system in ScummVM but what would need to be done to support 16bit colour?

I bring this up again because I saw that there is a Myst & Riven engine for ScummVM in the works which would benefit from this as Riven and the Masterpiece version of Myst are 16bit.

Btw what colour depth is Curse of the Monkey Island?
User avatar
clone2727
Retired
Posts: 1611
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Re: Colour depth upgrade?

Post by clone2727 »

ezekiel000 wrote:But it was also brought up that for these to be implemented ScummVM would need to support 16bit colour, my question is how hard is that to do? I don't know the inner workings of the colour system in ScummVM but what would need to be done to support 16bit colour?
This describes the basic task. I tried working something out over the summer to support 32bpp and a 32bpp overlay. I got the basic stuff working (1x scaler) but I gave up on it (partly because of time, partly because I wiped out my entire config file by accident when it segfaulted :P). If you're interested, I could try to find a patch for you from it. Also, a while back, DrMcCoy implemented a 32bpp surface for the SDL backend which also might be a good place to start (although, I think the patch is quite outdated).
ezekiel000 wrote:I bring this up again because I saw that there is a Myst & Riven engine for ScummVM in the works which would benefit from this as Riven and the Masterpiece version of Myst are 16bit.
Riven's images are 8bpp, but the palettes between the images do not match, so I may have to wait for 24bpp support or try remapping some of the images. Myst ME uses mostly 24bpp jpeg's, some pict's, and some 24bpp bmp's.
ezekiel000 wrote:Btw what colour depth is Curse of the Monkey Island?
8bpp
User avatar
ezekiel000
Posts: 443
Joined: Mon Aug 25, 2008 5:17 pm
Location: Surrey, England

Post by ezekiel000 »

Thanks for the links that explained things. I didn't realise it was on the long to do list.
Post Reply