[Bug 14543] Worms World Party: black screen displayed on startup

WineHQ Bugzilla wine-bugs at winehq.org
Sat Apr 10 05:48:31 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=14543

--- Comment #25 from Stefan Riesenberger <stefan.riesenberger at gmail.com> ---
As far as I can tell the black screen 100% not a quartz issue. There exists a
widescreen mod (wkReSolution) for the original WWP and when using this mod on
the remaster I get an error popup that the mod doesnt support this version.
When closing the popup the game starts correctly and is rendering fine! This
sadly only lasts until you try to start a round, so not a viable workaround.
But it shows that the game can render fine, which means its really not quartz
related. 

I have been looking into the game and logs a bit more. It should have to do
with the window z-order. The game is creating a WS_EX_TOPMOST window, which I
assume is the game graphics window.

0024:trace:win:WIN_CreateWindowEx "WWPGame"
L"Afx:00400000:0:0002004E:00010024:00010054" ex=00000008 style=90000000 0,0
640x480 parent=00000000 menu=00000000 inst=00400000 params=00000000
0024:trace:win:dump_window_styles style: WS_POPUP WS_VISIBLE
0024:trace:win:dump_window_styles exstyle: WS_EX_TOPMOST
0024:trace:win:GetProcessDefaultLayout found description L"Worms World Party"
0024:trace:win:WIN_SetWindowLong 0001005A -4 5e7cdc A

 After that it creates a child with WS_EX_CONTROLLPARENT and many control
elements inside that child.

0024:trace:win:WIN_CreateWindowEx "" #8002 ex=00010000 style=80000044 0,0
645x483 parent=0001005A menu=00000000 inst=00400000 params=00000000
0024:trace:win:dump_window_styles style: WS_POPUP 00000044
0024:trace:win:dump_window_styles exstyle: WS_EX_CONTROLPARENT
0024:trace:win:WIN_SetWindowLong 00030064 -4 5e7cdc A

My current assumption is that for some reason the TOPMOST window gets behind
its children in the z-order. I was trying a few hacks in server/window.c,
user32/winpos.c, etc... But I wasn't able to get the intended z-order to work.

Maybe someone else that is a bit more experienced in wine's windowing system
could help out a bit?

-- 
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.



More information about the wine-bugs mailing list