[Bug 56119] New: Emperor - Rise of the Middle Kingdom: invisible menu buttons
https://bugs.winehq.org/show_bug.cgi?id=56119 Bug ID: 56119 Summary: Emperor - Rise of the Middle Kingdom: invisible menu buttons Product: Wine Version: 8.18 Hardware: x86-64 URL: https://www.gamepressure.com/download.asp?ID=1725 OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs(a)winehq.org Reporter: gyebro69(a)gmail.com CC: z.figura12(a)gmail.com Regression SHA1: ee7d047dd55a4b2338eb2d64f85b7d984b39812f Distribution: --- Only the background is drawn in the menus, the menu buttons are invisible in the game Emperor:Rise of the Middle Kingdom (GOG). Can be reproduced in the demo version too. Pharaoh is another city-building game using the same engine: here the screen remains black when the game gets to the main menu. Pharaoh demo: https://archive.org/download/PharaohDemo/PharaohDemo.zip Reverting commit ee7d047dd55a4b2338eb2d64f85b7d984b39812f on top of Wine-9.0-rc3 fixes the problem in both games for me. Plain terminal output doesn't show anything related. PharaohDemo.zip (74 M) md5:474872cf372acbd4312ca0a6caf75434 si_emperor_demo.exe (128 M) md5:45052f088f699afb7a0d5e2ecfcb1804 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #1 from Zeb Figura <z.figura12(a)gmail.com> --- Created attachment 75789 --> https://bugs.winehq.org/attachment.cgi?id=75789 proof... I believe the application is writing to the texture's sysmem outside of Lock() and expecting it to be blitted to the screen. It's been sort of vague knowledge that DDraw Applications Do This Kind Of Thing, but no specific one was mentioned and no tests ever validated it. The offending texture (I was able to narrow it down to exactly one which causes the invisible buttons when a separate draw texture is used) is locked, then the entire texture is cleared, then blitted from and to. Proof of this hypothesis is that if we replace the texture's sysmem during the clear, with the attached patch, the menu is invisible even with the offending commit reverted. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- I came across another game where commit ee7d047 causes issues. In the adventure game 'The Egyptian Prophecy: The Fate of Ramses' text (dialogues, in-game encyclopedia) is hardly readable because it is displayed on a bright cyan background without transparency. No demo version exists, but the game is available on Steam: https://store.steampowered.com/app/302160/The_Egyptian_Prophecy_The_Fate_of_... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #3 from Zeb Figura <z.figura12(a)gmail.com> --- I sent <https://gitlab.winehq.org/wine/wine/-/merge_requests/4781> for this. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #4 from Béla Gyebrószki <gyebro69(a)gmail.com> --- (In reply to Zeb Figura from comment #3)
I sent <https://gitlab.winehq.org/wine/wine/-/merge_requests/4781> for this.
Indeed it fixes the problem in Emperor and in the Pharaoh games. However, it doesn't help the Egyptian Prophecy game. That looks like a different issue. Do you want me to open a new bug report for that, once your MR4781 merged in ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #5 from Zeb Figura <z.figura12(a)gmail.com> --- (In reply to Béla Gyebrószki from comment #4)
(In reply to Zeb Figura from comment #3)
I sent <https://gitlab.winehq.org/wine/wine/-/merge_requests/4781> for this.
Indeed it fixes the problem in Emperor and in the Pharaoh games. However, it doesn't help the Egyptian Prophecy game. That looks like a different issue. Do you want me to open a new bug report for that, once your MR4781 merged in ?
You can go ahead and create a bug report for it now. Thanks for testing! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #6 from Zeb Figura <z.figura12(a)gmail.com> --- I installed the game, but it crashes inside gameoverlayrenderer on startup. Did you use any workarounds? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 --- Comment #7 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 75834 --> https://bugs.winehq.org/attachment.cgi?id=75834 Text without transparency in Egypt 3 (In reply to Zeb Figura from comment #6)
I installed the game, but it crashes inside gameoverlayrenderer on startup. Did you use any workarounds?
The game can be launched directly with the Egypt3.exe executable (without Steam running). Once in the main menu select <Documentary Database>. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b712d6c8464681ca82f11cf4905 | |1401b874814c6 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #8 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Regarding the games Emperor and Pharaoh this bug is fixed by commit b712d6c8464681ca82f11cf49051401b874814c6. wine-9.0-54-g1932c3a2516 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56119 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla