Opened 5 years ago

Closed 5 years ago

#11024 closed defect (fixed)

SCI: Camelot: Pitch black aqueduct is drawn as pink

Reported by: sluicebox Owned by: sluicebox
Priority: normal Component: Engine: SCI
Version: Keywords:
Cc: Game: Conquests of Camelot

Description

When walking deep into the aqueduct, the screen is supposed to go black, as there is no light. ScummVM instead paints the screen pink.

Attached is a save from the DOS version, walk left to reproduce.

The kernel call that does this is: kDrawPic 112 2 1 4

Pic 112 is supposed to be all black. It's drawn correctly at the start of the game by the speed test room, which calls kDrawPic 112 6 1 0.

It's the fourth parameter that makes the difference. Using a debugger I changed the aqueduct call to use "0" and it drew black.

I'm hoping that someone knowledgeable in this area has the time to take this on. I don't know anything about EGA palettes, so consider this a threat: left unaddressed I will mess this up. Tick tock!

Attachments (1)

camelot.068 (15.5 KB ) - added by sluicebox 5 years ago.

Download all attachments as: .zip

Change History (4)

by sluicebox, 5 years ago

Attachment: camelot.068 added

comment:1 by sluicebox, 5 years ago

Wow, this is something different than a mere color bug, this bug is only occurring on my visual studio builds (on independent machines) but not on the daily mingw win32 builds.

comment:2 by Filippos Karapetis <bluegr@…>, 5 years ago

In 14414688:

SCI: Fix kDrawPic palette validation

Fixes CAMELOT bug #11024

comment:3 by bluegr, 5 years ago

Owner: set to sluicebox
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.