http://bugs.winehq.org/show_bug.cgi?id=30062
Bug #: 30062 Summary: Deer Hunter demo: unable to start a new game (map view unusable) Product: Wine Version: 1.3.18 Platform: x86 URL: http://www.fileplanet.com/28105/20000/fileinfo/Deer-Hu nter OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 926dfc5c49dde8401732a943c1055ba6631bcc5c
Created attachment 39166 --> http://bugs.winehq.org/attachment.cgi?id=39166 terminal output
This bug applies to the first Deer Hunter game in the series, released in 1997. The game requires Win98 mode to start, and I had to set up virtual desktop mode.
Steps to reproduce the problem with the demo: 1. Install the demo. 2. Set Windows version to Win98 before launching the game. Start the demo with DhDemo.exe. 3. In the menu click on <Start New Hunt>, <OK>, <Hunt Here>. Here comes the problem: - a map is shown with a crosshair in it. You should be able to change locations by left-clicking anywhere on the map. This doesn't work: the mouse pointer disappears when you click on the map. - the lower part of the screen is missing (showing only a black bar). This is where certain buttons are located (Hunt, Quit, Help). - although the buttons at the bottom are missing, you can start a game by pressing <Enter>. A loading screen is displayed, but the game never loads, it is freezing with the loading screen.
The problem appeared in 1.3.18 and is still present in 1.4-rc6. The result of the regression test:
926dfc5c49dde8401732a943c1055ba6631bcc5c is the first bad commit commit 926dfc5c49dde8401732a943c1055ba6631bcc5c Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Apr 12 18:28:41 2011 +0200
wined3d: Merge the IWineD3DSwapChain::SetDestWindowOverride() implementations.
:040000 040000 12437b369aadbbeb6de72ed285f2ced64a7c26b1 025f1e0265b689bf82dd954e1ceb33216af77386 M dlls
Fedora 16 Nvidia 250 / driver 290.10 X.Org X Server 1.11.4
http://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2012-03-27 09:00:11 CDT --- Created attachment 39566 --> http://bugs.winehq.org/attachment.cgi?id=39566 patch
It looks like the application is making creative use of ddraw exclusive mode. The attached patch should help, although it's not the kind of patch I would be particularly happy about.
http://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #2 from GyB gyebro69@gmail.com 2012-03-27 09:57:56 CDT --- The patch worked here as well.
http://bugs.winehq.org/show_bug.cgi?id=30062
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30062
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2013-04-13 01:14:05 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #4 from GyB gyebro69@gmail.com 2013-04-13 09:39:49 CDT --- (In reply to comment #3)
Still a bug in current wine?
Still present in 1.5.28.
http://bugs.winehq.org/show_bug.cgi?id=30062
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.36-125-g656bc70
Nvidia binary drivers 340.76
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.8-rc1.
Fedora 23 OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV92 OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0-devel OpenGL core profile shading language version string: 3.30
deerhunterdemo.exe sha1: cb2b68bccc9f3a2ac85f231a3b18567196de05a0
https://bugs.winehq.org/show_bug.cgi?id=30062
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- With wine-staging I got quite interesting result. When you are at the page where to choose location you get a black screen, but if you alt+tab you can see there is another screen drawn that has the content you supposed to see.
I don't know why is it like that, but there are few games with similar behaviour. For example bug 38061.
wine-staging 2.0rc1.
https://bugs.winehq.org/show_bug.cgi?id=30062
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39566|0 |1 is obsolete| |
--- Comment #8 from Henri Verbeet hverbeet@gmail.com --- Created attachment 56719 --> https://bugs.winehq.org/attachment.cgi?id=56719 patch
Attached patch is perhaps more reasonable, although it would need some more testing to see how it's actually supposed to work. It's probably too risky for 2.0 regardless.
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #8)
Created attachment 56719 [details] patch
Attached patch is perhaps more reasonable, although it would need some more testing to see how it's actually supposed to work. It's probably too risky for 2.0 regardless.
The patch fixes the problem.
https://bugs.winehq.org/show_bug.cgi?id=30062
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ddraw-FlipToGD | |ISurface
https://bugs.winehq.org/show_bug.cgi?id=30062
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/ddraw-FlipToGD |er/patches/ddraw-FlipToGDIS |ISurface |urface CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- Unfortunately, the bug is still here with wine-3.19
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- Does this work after 3bd8b710c3b199c8d7e8d9d4b6a3b42231496a3b?
I tried to test the demo, but I get a black screen after clicking 'Hunt Here' with current wine-git. It works with wine-staging 4.0 for me though. I tried the Multi-Monitor patchset, but it didn't work, also tried disconnecting my 2nd monitor, didn't work either, no clue why.
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #12 from Henri Verbeet hverbeet@gmail.com --- (In reply to Gijs Vermeulen from comment #11)
Does this work after 3bd8b710c3b199c8d7e8d9d4b6a3b42231496a3b?
No, it doesn't. That patch was prompted by this bug, but it's not enough to fix it.
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #13 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Henri Verbeet from comment #12)
(In reply to Gijs Vermeulen from comment #11)
Does this work after 3bd8b710c3b199c8d7e8d9d4b6a3b42231496a3b?
No, it doesn't. That patch was prompted by this bug, but it's not enough to fix it.
I see, my bad, didn't realise that the attached patch and staging patch had differences with that commit.
https://bugs.winehq.org/show_bug.cgi?id=30062
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |NEW
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- Bug still there in wine-4.17.
https://bugs.winehq.org/show_bug.cgi?id=30062
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30062
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #56719|0 |1 is obsolete| |
--- Comment #15 from Henri Verbeet hverbeet@gmail.com --- Created attachment 69086 --> https://bugs.winehq.org/attachment.cgi?id=69086 patch
I took another shot at this. I think the attached patch should do the right thing, but it potentially affects every single ddraw application, so it may have to wait until after wine-6.0.
https://bugs.winehq.org/show_bug.cgi?id=30062
--- Comment #16 from Henri Verbeet hverbeet@gmail.com --- Should be fixed by commit 4ce1d7f93a35322d149cbde29d619e2580159a80.
https://bugs.winehq.org/show_bug.cgi?id=30062
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |4ce1d7f93a35322d149cbde29d6 | |19e2580159a80
--- Comment #17 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #16)
Should be fixed by commit 4ce1d7f93a35322d149cbde29d619e2580159a80.
Fixed indeed, thanks a lot.
https://bugs.winehq.org/show_bug.cgi?id=30062
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/2 |https://web.archive.org/web |8105/20000/fileinfo/Deer-Hu |/20210128172209/http://down |nter |load.fileplanet.com/ftp1/ga | |medemos/simulation/deerhunt | |erdemo.exe?st=CKaU1WxKn-Rzc | |sibE_jKrg&e=1611865250 CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=30062
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.1.
https://bugs.winehq.org/show_bug.cgi?id=30062
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=30062
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #19 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.1.