Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

slavezeo

Member Since 03 Mar 2012
Offline Last Active Nov 13 2012 04:48 AM
-----

#75204 [Wine 1.5.5] RawMac2 Engine

Posted thanoulas on 14 March 2012 - 03:41 PM

UPDATED: 1 June 2012 - RawMac2 Engine
- New patch applied for Raw3.patch so the mouse warps around the x axis
- Should increase compatibility with games that were not working
- Based on latest GIT branch (post 1.5.5 tag)
- Now supports windowed mode (Tested with virtual desktop, as long as the window has focus it should warp)
- New name for the engine! RawMac2

UPDATED: 17 March 2012 - New Wine 1.5
- Wine 1.5 Development is now available - Added new Links

Initial Public Release:
This is the latest wine from the trunk with:
Raw3.patch (enables mouse cursor for games that use Raw input)
RawWarpPatch (my change to the code because raw patch had limited mouse mouvement, it now warps the cursor around the x axis)
ATi Patch - Fixes all GLSL Shader problems (on SL / Lion at least)
Built --without-xinput2 because there is no proper support of xinput2 in osx and just breaks the cursor

plus this one has a partial implementation of wbem proxy, many games depend on that (i.e. NFS Hot Pursuit)

Wine 1.5.5 - RawMac2
Download from Mediafire
Download from Turbobit
Download SOURCE from Mediafire (1.5.7 tag)

Patch source:
--- a/dlls/user32/message.c
+++ b/dlls/user32/message.c
@@ -2366,9 +2366,11 @@
	 GUITHREADINFO info;
	 MOUSEHOOKSTRUCT hook;
	 BOOL eatMsg;
+	INT max_x;

	 /* find the window to dispatch this mouse message to */

+	max_x = GetSystemMetrics( SM_CXSCREEN );
	 info.cbSize = sizeof(info);
	 GetGUIThreadInfo( GetCurrentThreadId(), &info );
	 if (info.hwndCapture)
@@ -2379,6 +2381,19 @@
	 else
	 {
		 msg->hwnd = WINPOS_WindowFromPoint( msg->hwnd, msg->pt, &hittest );
+		// Risen 2 Patch
+		if (msg->pt.x < 10) {
+			USER_Driver->pSetCursorPos( (max_x - 11), msg->pt.y );
+			TRACE("THANOS: Hitting Left Edge:\n");
+			TRACE("Current X: %d\n", msg->pt.x);
+			TRACE("Current Y: %d\n", msg->pt.y);
+		}
+		else if (msg->pt.x > (max_x - 10)) {
+			USER_Driver->pSetCursorPos( 11, msg->pt.y );
+			TRACE("THANOS: Hitting Right Edge:\n");
+			TRACE("Current X: %d\n", msg->pt.x);
+			TRACE("Current Y: %d\n", msg->pt.y);
+		}
	 }

	 if (!msg->hwnd || !WIN_IsCurrentThread( msg->hwnd ))

WINE VERSION 1.4

WINE VERSION 1.5

WINE VERSION 1.5 - WITH ATI SHADER FIX (THIS IS FULLY COMPATIBLE WITH nVidia / Intel)

Happy porting!


#49489 Best Graphic Card!

Posted dafootballer on 06 March 2011 - 11:06 PM

i think you mean as a graphic card. Drivers are the things you download that the company creates to help optimize the card overtime.

ATI and Nvidia create very similar cards performance wise but, Nvidia consistently releases drivers every few weeks while ATI takes their time and sometimes their drivers do more harm then good.