Opened 6 months ago
Closed 6 months ago
#15142 closed defect (fixed)
SCI: Betrayed Alliance v1.3.2: Different color cursor
Reported by: | dfsgand | Owned by: | sluicebox |
---|---|---|---|
Priority: | normal | Component: | Engine: SCI |
Version: | Keywords: | cursor graphics | |
Cc: | Game: | SCI Fanmade |
Description
ScummVM version: ScummVM 2.9.0git4897-g054e28f118a on Linux (amd64, Debian 11.9)
Game: Betrayed Alliance v1.3.2, https://github.com/Slattstudio/BetrayedAllianceBook1/releases/tag/release-v1.3.2
The mouse cursor is white in DOSBox but grey in ScummVM, see attached screenshots.
Attachments (2)
Change History (7)
by , 6 months ago
Attachment: | betrayed_alliance_cursor.png added |
---|
by , 6 months ago
Attachment: | betrayed_alliance_cursor_scummvm.png added |
---|
ScummVM screenshot (grey cursor)
comment:1 by , 6 months ago
Priority: | low → normal |
---|
Thanks for reporting this.
This looks like a discrepancy in GfxCursor::kernelSetShape
. It is using gray pixels when both cursor mask bits are set.
According to the TODO
comment, this color selection hasn't been reverse engineered yet. There are also two game-specific hacks for color selection.
comment:2 by , 6 months ago
The github page mentions that the game was developed using SCI Studio, and the SCI Wiki says the source is available for this tool: http://sciwiki.sierrahelp.com/index.php/SCI_Studio https://web.archive.org/web/20061113153443/http://www.bripro.com/scistudio/download.php. Maybe the source would contain some clues to how the color selection works, since it presumably works properly there.
comment:3 by , 6 months ago
I have a fix pending; we've been drawing SCI0 cursors wrong. You can see it in other Sierra games, but it's subtle. There are other issues in this cursor code, so I'm going to try to get them all sorted before making any changes.
comment:5 by , 6 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
DOSBox screenshot