[Wine] Runaway 2 Wine Patch

Berillions wineforum-user at winehq.org
Thu Jan 7 14:24:37 CST 2010


Hello,

I must to patch wine if i want to play at this game because i have an error message who told me that "error with directdraw". And without patch, the game doesn't run with wine 1.1.35

But, the patch in Wine AppDB is for wine 1.1.21. I tried to patch Wine 1.1.35 with this patch but i had an error message during the "make depend & make"

The wine 1.1.21 patch is : 

Code:
*** dlls/ddraw/utils.c	2009-05-08 19:33:02.000000000 +0200
--- dlls/ddraw/utils.c	2009-05-18 09:01:34.000000000 +0200
***************
*** 411,416 ****
--- 411,424 ----
                  {
                      return WINED3DFMT_A8R3G3B2;
                  }
+ 
+ 		if( (DDPixelFormat->u2.dwRBitMask == 0xF800) &&
+                     (DDPixelFormat->u3.dwGBitMask == 0x001F) &&
+                     (DDPixelFormat->u4.dwBBitMask == 0x0)    )
+                 {
+                     return WINED3DFMT_R5G6B5;
+                 }
+ 
                  ERR("16 bit RGB Pixel format does not match\n");
                  return WINED3DFMT_UNKNOWN;




The error message is for return WINED3DFMT_R5G6B5; in utils.c because WINED3DFMT_R5G6B5 doesn't exist.

How to change it to can patch the latest version of Wine?
Sorry for my english, i'm french. [Embarassed] 

Thanks







More information about the wine-users mailing list