[Bug 29132] New: Hardwar 2.04 crashes before reaching the main menu

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 20 12:06:32 CST 2011


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 at winehq.org
        ReportedBy: gyebro69 at gmail.com
                CC: hverbeet at 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 at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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