https://bugs.winehq.org/show_bug.cgi?id=39731
--- Comment #9 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Kimmo Myllyvirta from comment #8)
Created attachment 57994 [details] black screen fix
Actually, that black screen is not caused by d3d at all. It hangs waiting indefinitely for SendMessage called by ShowWindow. 333564.937:0125:Call user32.ShowWindow(000102b2,00000005) ret=00905601 333564.937:0125:Call winex11.drv.MsgWaitForMultipleObjectsEx(00000001,0033f82c,ffffffff,00008040, 00000000) ret=7e959f3e And then nothing...
The window is already visible, the messages are not pumped. See bug 35229 and bug 11582. SW_HIDE was fixed by commit http://source.winehq.org/git/wine.git/?a=commit; h=f271634296a952a7e0efdf8a7fe474e67367c7e5 but in this case SW_SHOW is blocking.
Attached patch should get the game started. Works for me at least, please try it out. Wine 2.6-staging
Great job. Care to send the patch upstream, probably together with a test similar to the one enabled by f271634296a952a7e0efdf8a7fe474e67367c7e5?