[Bug 8563] MechWarrior 4: Vengeance fails to start

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 9 18:04:00 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=8563

--- Comment #31 from Georg Hennig <georg298 at gmx.de> 2010-10-09 18:03:59 CDT ---
Sure. Assuming an empty wineprefix (vcrun2005 required only for new free mektek
release of MW4 mercs, directplay for multiplayer issues, the rest for videos):

winetricks vcrun2005 directx9 directplay quartz

copy native amstream.dll to installation folder.

As mentioned above, autoconfig executable does not work, so create the
options.ini file (if it doesn't exist) with the content from MechWarrior 4:
Vengeance, as I stated in appdb.winehq.org.

"WINEDLLOVERRIDES="amstream=n" wine MW4.exe -noautoconfig /gosnodialogs

To get fullscreen working, apply the patch

diff -urN wine-1.3.2/dlls/ddraw/ddraw.c wine-1.3.2_mw4/dlls/ddraw/ddraw.c
--- wine-1.3.2/dlls/ddraw/ddraw.c       2010-09-03 19:39:05.000000000 +0200
+++ wine-1.3.2_mw4/dlls/ddraw/ddraw.c   2010-09-07 17:45:05.851730011 +0200
@@ -4502,7 +4502,9 @@
     {
         FIXME("Only one Direct3D device per DirectDraw object supported.\n");
         LeaveCriticalSection(&ddraw_cs);
-        return DDERR_INVALIDPARAMS;
+        *device = (IDirect3DDevice7 *)object;
+        return D3D_OK;
+//         return DDERR_INVALIDPARAMS;
     }

     object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object));

mentioned in bug #24308

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