[Scummvm-tracker] [ScummVM :: Bugs] #12018: Counterfeit Monkey won't start
ScummVM :: Bugs
trac at scummvm.org
Wed Dec 23 15:48:45 UTC 2020
#12018: Counterfeit Monkey won't start
-------------------------+---------------------------------
Reporter: angstsmurf | Owner: dreammaster
Type: defect | Status: new
Priority: normal | Component: Engine: GLK: Glulxe
Resolution: | Keywords:
Game: |
-------------------------+---------------------------------
Comment (by dreammaster):
Thanks for letting me know. That correlates with what I saw when I hacked
the code to ignore the assert. But of course since the PNG decoder is a
core ScummVM class, I can't just disable the check. But I think I've got a
handle on it. The transparency data does indeed seem to be alpha values
for each of the palette entries, and the transparency color always has to
start at palette index 0. So previously, we only had PNGs that had the
single transparent color that was fully transparent.
So in cases such as this PNG, I should be able to do a proper
implementation that creates the decoded image as a full RGBA rather than
an 8-bit image with a seperate RGB palette being specified. In theory :)
--
Ticket URL: <https://bugs.scummvm.org/ticket/12018#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list