http://bugs.winehq.org/show_bug.cgi?id=29132
Bug #: 29132 Summary: Hardwar 2.04 crashes before reaching the main menu Product: Wine Version: 1.3.31 Platform: x86 URL: http://www.downloads.hardwar.info/ftp/demo/harddemo1.e xe 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: ca43c49968553b3db7d7ef63966b76fcbf9c8a1b
Created attachment 37553 --> http://bugs.winehq.org/attachment.cgi?id=37553 terminal output
This bug seems to affect only the 2.04 version of Hardwar (The future is greedy). This is the latest official version of the game. I can't reproduce the problem with the early, unpatched demo or with the latest *unofficial* patch (UIM06).
The problem: Hardwar 2.04 starts and plays the intro video/logos fine. Then comes the initial loading stage and the game crashes when the loading bar reaches 100%.
Hardwar 2.04 starts correctly in 1.3.30 and up to this commit:
ca43c49968553b3db7d7ef63966b76fcbf9c8a1b is the first bad commit commit ca43c49968553b3db7d7ef63966b76fcbf9c8a1b Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Oct 17 21:06:20 2011 +0200
wined3d: Keep surfaces in sysmem if they're both already there in wined3d_surface_blt().
The idea is to avoid bouncing surfaces between the CPU and GPU when doing both locks and blits on a surface. This is mostly an issue for ddraw applications.
:040000 040000 16ff25022839178452c9172560d4cec0bd6562e9 f24ab6e938e9ac4a463149fafa44ba5e7ee3cb69 M dlls
The patch cannot be reverted on 1.3.33 (compilation ended with errors), git checkout ca43c49968553b3db7d7ef63966b76fcbf9c8a1b >> the game crashes git reset --hard HEAD^ >> the game loads to the menu correctly
Fortunately, there is a way to reproduce the crash with the demo, after patching to 2.04: 1. Download and run the program located in the URL field. The executable extracts the installer in the user's Temp directory. Run the installer Setup.exe in Win98 mode. 2. Grab the 2.04 patch here: http://www.downloads.hardwar.info/ftp/u204/u204patch.zip Unpack and execute the patch. 3. Start the patched demo by Hardman.exe. The launcher will appear, go to the Controls tab and change the flight controls from Keyboard to Mouse then change it back to Keyboard (this will clear the greyed-out force feedback checkmark, which causes the game to crash if you don't have a joystick installed). 4. Go to the Display tab and change 3D rendering from Software to Direct3D Primary Display. You can also set the desired resolution here. 5. Click on the Launch... button in the Game tab, and the game will start but it will crash during the loading stage.
Wine 1.3.33 Fedora 16 x86 Nvidia 250 / driver 290.06
http://bugs.winehq.org/show_bug.cgi?id=29132
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2011-12-02 01:10:51 CST --- Should be fixed by 94c0da184e18252ca2df7f9f462e9a4df9c5f2df.
http://bugs.winehq.org/show_bug.cgi?id=29132
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |94c0da184e18252ca2df7f9f462 | |e9a4df9c5f2df Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from GyB gyebro69@gmail.com 2011-12-02 08:11:32 CST --- Fixed. Thank you.
http://bugs.winehq.org/show_bug.cgi?id=29132
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-12-02 13:33:54 CST --- Closing bugs fixed in 1.3.34.