https://bugs.winehq.org/show_bug.cgi?id=56205
Bug ID: 56205 Summary: The Egyptian Prophecy: The Fate of Ramses: text displayed without transparency Product: Wine Version: 8.18 Hardware: x86-64 URL: https://store.steampowered.com/app/302160/The_Egyptian _Prophecy_The_Fate_of_Ramses/ OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: z.figura12@gmail.com Regression SHA1: ee7d047dd55a4b2338eb2d64f85b7d984b39812f Distribution: ---
Created attachment 75915 --> https://bugs.winehq.org/attachment.cgi?id=75915 screenshot showing the issue
In the game 'The Egyptian Prophecy: The Fate of Ramses' text (subtitles, in-game encyclopedia) is displayed on a bright cyan background without transparency making the text difficult to read.
Reverting commit ee7d047dd55a4b2338eb2d64f85b7d984b39812f on top of wine-9.0-54-g1932c3a2516 fixes the problem for me.
There is no demo version available. The Steam version is DRM free, you can start Egypt3.exe directly, without Steam running. Make sure 32-bit color depth is selected in the <Options> menu (the problem doesn't occur in 16-bit color/software renderer mode). In the main menu open <Documentary Database> to see the problem.
Still present in wine-9.0-54-g1932c3a2516.
https://bugs.winehq.org/show_bug.cgi?id=56205
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |memax@gmx.fr
--- Comment #1 from imaxm memax@gmx.fr --- Created attachment 75933 --> https://bugs.winehq.org/attachment.cgi?id=75933 On the left, the correct display. On the right, the glitch.
The same problem is encountered in the game "Echo: Secrets of the Lost Cavern" by the same developer (Kheops Studio), when hardware rendering mode is selected (no problem in software mode).
https://bugs.winehq.org/show_bug.cgi?id=56205
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- It does a colour fill of a 32-bit RGB sysmem surface without alpha. The colour fill has alpha == 0. It then locks this surface and creates a DC from it. The game apparently expects this alpha to be retained even though the surface doesn't actually have an alpha format.
Testing shows that this is the case on modern Windows + WARP, but that's not very meaningful. It needs testing on older hardware and other drivers. I'm working on that.
https://bugs.winehq.org/show_bug.cgi?id=56205
--- Comment #3 from imaxm memax@gmx.fr --- Hello This bug is still present in wine-10.0-rc2
Ubuntu 24.04 LTS NVIDIA Driver Version (proprietary): 550.120
https://bugs.winehq.org/show_bug.cgi?id=56205
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d2ce4c3ef1a05f3457bf00f55e4 | |ac5d42cf10a70 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Fixed by d2ce4c3ef1a05f3457bf00f55e4ac5d42cf10a70, sorry for the delay, the best architecture for the fix wasn't clear to me.
https://bugs.winehq.org/show_bug.cgi?id=56205
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Zeb Figura from comment #4)
Fixed by d2ce4c3ef1a05f3457bf00f55e4ac5d42cf10a70, sorry for the delay, the best architecture for the fix wasn't clear to me.
The patch indeed fixes the problem in Egypt3, thank you.
You've marked this bug as FIXED but MR7037 hasn't been merged in yet. https://gitlab.winehq.org/wine/wine/-/merge_requests/7037
Or am I missing something here?
wine-10.0-rc2-37-g027c2abe1ce
https://bugs.winehq.org/show_bug.cgi?id=56205
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|d2ce4c3ef1a05f3457bf00f55e4 | |ac5d42cf10a70 | Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Not merged yet.
https://bugs.winehq.org/show_bug.cgi?id=56205
--- Comment #7 from Zeb Figura z.figura12@gmail.com --- Sorry about that, mixed up which of my merge requests was already committed.