Opened 20 months ago
Closed 20 months ago
#14386 closed defect (fixed)
MOHAWK: RIVEN: White rectangle around the mouse pointer
Reported by: | ctoroman | Owned by: | elasota |
---|---|---|---|
Priority: | normal | Component: | Engine: Mohawk |
Version: | Keywords: | ||
Cc: | Game: | Riven |
Description
ScummVM 2.8.0git3456-g8d228df4185 (Apr 4 2023 04:39:47)
White rectangle around the mouse pointer
I tried the version ScummVM 2.7.1pre76-gc4f24b2f7e0 (Mar 6 2023 14:51:00), everything is OK
Attachments (5)
Change History (13)
by , 20 months ago
Attachment: | screen1.JPG added |
---|
comment:2 by , 20 months ago
I'm running macOS 10.11.6, and have the 5-CD English hybrid Windows/Mac version. The issue dates back to before 4 March 2023.
My testing indicates that this bug is restricted to game installations containing the arcriven.z installer file, instead of an actual game executable. This includes my CD version, and also the windows demo (available on our demo page).
In my case, substituting the Riven (Mac) executable, and the extras.mhk file, for the arcriven.z file resolved the issue.
Of course, to manually extract the game executable from the arcriven.z file requires the game to be installed natively on a compatible machine (for macOS, this requires access to an old PPC Mac), so this won't be a viable option, and it's certainly inconvenient, for most users.
The actual game cursor is already displayed correctly, so the issue here is strictly with handling the new cursor mask feature (as referenced by @antoniou79). I suspect we will need a similar fix to that applied to #14346, except in this case, we're extracting info from the arcriven.z file.
With respect to the actual bug, it's more extensive than indicated above:
- In OpenGL, shaded areas (light or heavy) appear predominantly as an opaque white square. However, unshaded areas display full transparency, but appear as the reverse colours of the overlaid background (e.g. blue sky appears orange, green foliage appears purple, and so on).
- In SDL surface, the overlaid area always appears as an opaque black square.
I'll attach a few sample screenshots.
by , 20 months ago
Attachment: | arcriven_z-mac-openGL-purple.png added |
---|
by , 20 months ago
Attachment: | arcriven_z-mac-openGL-blue.png added |
---|
by , 20 months ago
Attachment: | arcriven_z-mac-openGL-shade.png added |
---|
by , 20 months ago
Attachment: | arcriven_z-mac-surface SDL.png added |
---|
comment:3 by , 20 months ago
@macca8 can you try the recent PR: https://github.com/scummvm/scummvm/pull/4885
and report if it resolves the issue for you too?
(I tested it and if fixes the issue for me (GOG's Riven))
follow-up: 6 comment:4 by , 20 months ago
I'm dependent on buildbot's master builds when it comes to testing.
Unfortunately, I'll have to wait until it's accepted into master before I can test.
comment:5 by , 20 months ago
@antoniou79, i'll try https://github.com/scummvm/scummvm/pull/4885
it fixes the issue for me. Thank you)
comment:6 by , 20 months ago
Replying to macca8:
I'm dependent on buildbot's master builds when it comes to testing.
Unfortunately, I'll have to wait until it's accepted into master before I can test.
Hello, the PR was merged into master yesterday (at least CET time-wise); maybe it's already part of the current daily build.
follow-up: 8 comment:7 by , 20 months ago
Thanks.
PR 4885 fixes the issue for me on macOS for both OpenGL and SDL Surface modes.
The cursor is now displayed correctly whether using the arcriven.z file or the Riven (Mac) executable in the installation.
comment:8 by , 20 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed by PR 4885
I can also reproduce this on Windows 10, with a built from current master HEAD (2.8git).
This is quite possibly similar to another recently fixed issue for the SCUMM engine, which seems specific for Windows OS:
Bug: https://bugs.scummvm.org/ticket/14346
Fix for that bug (merged): https://github.com/scummvm/scummvm/pull/4872
I am not very familiar with the Mohawk engine to try a fix.