Community

SCI Programming => SCI Development Tools => Topic started by: troflip on July 22, 2015, 12:50:45 PM

Title: Color banding in ScummVM
Post by: troflip on July 22, 2015, 12:50:45 PM
Does anyone know what settings I can use to get rid of the color banding in ScummVM?

Compare Scumm (top) to DosBox (bottom). DosBox running the Sierra interpreter has nice smooth transitions on the screen and the floor, ScummVM does not.
Title: Re: Color banding in ScummVM
Post by: Collector on July 22, 2015, 03:14:13 PM
You could try using different renderers.
Title: Re: Color banding in ScummVM
Post by: lskovlun on July 22, 2015, 03:21:19 PM
I tried to relay this problem to the ScummVM IRC channel... they can't see the images, apparently you need an account to see them.
Title: Re: Color banding in ScummVM
Post by: troflip on July 22, 2015, 03:25:27 PM
Hmm, ok, switching to "Open GL (no filtering)" makes the banding go away.

Still seems like a Scumm bug though. I can't imagine any reason for the banding in whatever default rendering mode it's using.

Lars, I put the images here:
http://www.icefallgames.com/wp-content/uploads/2015/07/ColorBandDosBox.png
http://www.icefallgames.com/wp-content/uploads/2015/07/ColorBandScumm.png


Title: Re: Color banding in ScummVM
Post by: Collector on July 22, 2015, 04:27:07 PM
I can't imagine that not permitting images to be seen by a non member in a public forum would be deliberate. I guess that is one problem with having most of the regulars here being a mod or admin. Permissions issues can be missed.
Title: Re: Color banding in ScummVM
Post by: lskovlun on July 22, 2015, 06:45:20 PM
OK, so it seems to be a problem with the SDL backend in ScummVM, and so it is an issue that is shared with other ScummVM engines. I had to leave before getting a full answer, but it isn't something that the SCI team can fix on its own.

Thread here: http://logs.scummvm.org/log.php?log=scummvm.log.22Jul2015&format=html
Title: Re: Color banding in ScummVM
Post by: Collector on July 22, 2015, 11:30:51 PM
Why would this not affect DOSBox since it uses SDL as well?
Title: Re: Color banding in ScummVM
Post by: Kawa on July 22, 2015, 11:37:50 PM
Why would this not affect DOSBox since it uses SDL as well?
Different color depth settings is the first thing on my mind.

Edit: yeah, log says as much to me.
Title: Re: Color banding in ScummVM
Post by: troflip on July 22, 2015, 11:48:00 PM
Why would this not affect DOSBox since it uses SDL as well?

I'm sure SDL supports 24bit/32bit surfaces, so the problem is not with SDL, but in how Scumm uses SDL.
Title: Re: Color banding in ScummVM
Post by: Collector on July 23, 2015, 01:17:09 AM
You weren't using a render mode other than normal in DOSBox, were you?
Title: Re: Color banding in ScummVM
Post by: lskovlun on July 23, 2015, 01:36:27 AM
I think we're misunderstanding each other here. I'm talking about the SDL backend in ScummVM, not SDL itself. It is a piece of code that is shared among all the engines that ScummVM supports. It is not so simple to change due to its pervasiveness.
Title: Re: Color banding in ScummVM
Post by: MusicallyInspired on July 23, 2015, 02:09:57 AM
I'm surprised this wasn't caught until now...although, I have heard on Facebook people mention that they've noticed palette inconsistencies in Sierra games with ScummVM as well, now that I think about it...
Title: Re: Color banding in ScummVM
Post by: Cloudee1 on July 23, 2015, 07:18:22 AM
I tried to relay this problem to the ScummVM IRC channel... they can't see the images, apparently you need an account to see them.

Fixed that oversight, guests can now view attachments
Title: Re: Color banding in ScummVM
Post by: lskovlun on July 23, 2015, 11:51:20 AM
I tried to relay this problem to the ScummVM IRC channel... they can't see the images, apparently you need an account to see them.

Fixed that oversight, guests can now view attachments
Thanks!