Jump to content

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

[Wine 1.5.5] RawMac2 Engine


  • Please log in to reply
106 replies to this topic

#1 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

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

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#2 doh123

doh123

    Wineskin Developer

  • Members
  • 3,989 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 14 March 2012 - 08:23 PM

Is this a standard 10.5+ build?

#3 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 14 March 2012 - 08:37 PM

Ah, no it's a 10.7 build. I can't build for 10.5 as I have Lion. I can build for 10.6+ if you want.

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#4 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 14 March 2012 - 09:18 PM

This is working on 10.6.8

I only tested start up and mouse functionality in game for about two minutes and then shut it down but it's running great on my rig.
Posted Image

#5 thedoc

thedoc

    Administration Team

  • Administrators
  • 1,248 posts
  • Graphics Card:nVidia GeForce 8600M GT - 256 MB RAM
  • Operating System:Mac OS X 10.5 (Leopard)
  • I like to play:FPS, RPG, Racing

Posted 14 March 2012 - 09:31 PM

I'm running 10.5 & 10.6 so I could try and make a build for you if you can upload and PM me the source.

Posted Image

Check out my Porting Blog @ Doc's Office


#6 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 14 March 2012 - 10:21 PM

View Postthedoctor45, on 14 March 2012 - 09:31 PM, said:

I'm running 10.5 & 10.6 so I could try and make a build for you if you can upload and PM me the source.

Yeah that would be great, I'll zip the source and send you a link, thanks

Here's the source
Download

Just don't forget to add the --without-xinput2 flag when you build!

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#7 cluthz

cluthz

    Senior Hall monitor!

  • Super Forum Moderators
  • 2,645 posts
  • LocationNorway
  • Graphics Card:Nvidia GTX660
  • Operating System:Mac OS X 10.8 (Mountain Lion)
Author

Posted 15 March 2012 - 12:16 AM

I've already built it for 10.5, but without the wbem. Can dl it and recompile from your source if thedoc haven't done it already

[HackPro i5-4.3 GHz, 2x SSD + 5TB HDD • 16GB RAM • NVidia GTX 660 2GB • OSX 10.8.3] . [MacBookAir 13 1.7GHz • Intel HD 3000 • OSX 10.7.5]


How to port Steam games .... My Youtube Porting videos ... My Porting Nexus


#8 KGameLover1

KGameLover1

    News Editor - Master Troll

  • News Team
  • 839 posts
  • LocationWhere I am is where I be
  • Graphics Card:AMD Radeon HD 6750M 1024 MB, also Intel HD Graphics 3000 512 MB.
  • Operating System:Mac OS X 10.7 (Lion)
  • I like to play:Everything that's fun
Author

Posted 15 March 2012 - 01:25 AM

Sweet! This'll help a lot.

Thanks much! :D

Posted Image

blinxfrost said:

in game my guy spins out of control only way i can control is arrow keys my hands are to nubby to reach them and shot

View my ports! <--- Orcs Must Die, Payday, Fallout, I Wanna Be The Guy, and more!

How to use a Wineskin wrapper!


#9 waves

waves

    Still here

  • Super Moderators
  • 1,328 posts
  • Graphics Card:NVIDA
  • Operating System:Mac OS X 10.6 (Snow Leopard)
Author

Posted 15 March 2012 - 04:31 PM

Still have mouse issues for me on 10.6 on 2 games I have tried.

Too bad.
Posted Image

How to get multiple file port games / apps runnning: http://portingteam.c...-combine-files/

#10 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 15 March 2012 - 04:36 PM

Hey waves,

this only adds proper support for games that require rawinput which is normally unimplemented in wine. On the top I've patched it to work in osx, as the cursor was limited to the screen resolution.

So if you still have cursor problems in your games, then it must be something else.
Have you tried a normal wine built with --without-xinput2 ?
This apparently fixes many cursor problems unrelated to rawinput.

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#11 thedoc

thedoc

    Administration Team

  • Administrators
  • 1,248 posts
  • Graphics Card:nVidia GeForce 8600M GT - 256 MB RAM
  • Operating System:Mac OS X 10.5 (Leopard)
  • I like to play:FPS, RPG, Racing

Posted 15 March 2012 - 06:28 PM

sorry it took so long here's the build - confirmed working on 10.5.8.  http://www.mediafire...sruhcuh9rfqgu49

Posted Image

Check out my Porting Blog @ Doc's Office


#12 Battlefiler

Battlefiler

    Veteran Member

  • Forum Sub-Moderator
  • 423 posts
  • LocationGermany
  • Graphics Card:Intel HD Graphics 3000 (512mb)
  • Operating System:Mac OS X 10.7 (Lion)

Posted 15 March 2012 - 06:35 PM

View Postthedoctor45, on 15 March 2012 - 06:28 PM, said:

sorry it took so long here's the build - confirmed working on 10.5.8.  http://www.mediafire...sruhcuh9rfqgu49

doc nice to hear from you :)
Posted Image

#13 waves

waves

    Still here

  • Super Moderators
  • 1,328 posts
  • Graphics Card:NVIDA
  • Operating System:Mac OS X 10.6 (Snow Leopard)
Author

Posted 15 March 2012 - 07:40 PM

View Postthanoulas, on 15 March 2012 - 04:36 PM, said:

Hey waves,

this only adds proper support for games that require rawinput which is normally unimplemented in wine.

Yeah I know - still does not work ;) Oh well.  Just seems to be what I tried - I dunno will try something else later.

Cheers.
Posted Image

How to get multiple file port games / apps runnning: http://portingteam.c...-combine-files/

#14 cluthz

cluthz

    Senior Hall monitor!

  • Super Forum Moderators
  • 2,645 posts
  • LocationNorway
  • Graphics Card:Nvidia GTX660
  • Operating System:Mac OS X 10.8 (Mountain Lion)
Author

Posted 16 March 2012 - 01:15 PM

View Postwaves, on 15 March 2012 - 07:40 PM, said:

Yeah I know - still does not work ;) Oh well.  Just seems to be what I tried - I dunno will try something else later.

Cheers.

I compiled the engine with Xcode 3.2.6 and noxinput2 and the mouse hack, it works wonders in both Mass Effect3 and STALKER SoC.
I'll upload it here if you wanna try?

So far the engine I've build works on ME1, ME3, STALKER, Risen, Kingdoms of Amalur, STALKER, Alan Wake.
All those had missing or horrible movement before. The only game that haven't been fixed for me is LOTR:War in the North.

Which games are you referring to waves?

[HackPro i5-4.3 GHz, 2x SSD + 5TB HDD • 16GB RAM • NVidia GTX 660 2GB • OSX 10.8.3] . [MacBookAir 13 1.7GHz • Intel HD 3000 • OSX 10.7.5]


How to port Steam games .... My Youtube Porting videos ... My Porting Nexus


#15 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 16 March 2012 - 02:09 PM

View Postcluthz, on 16 March 2012 - 01:15 PM, said:

I compiled the engine with Xcode 3.2.6 and noxinput2 and the mouse hack, it works wonders in both Mass Effect3 and STALKER SoC.
I'll upload it here if you wanna try?

So far the engine I've build works on ME1, ME3, STALKER, Risen, Kingdoms of Amalur, STALKER, Alan Wake.
All those had missing or horrible movement before. The only game that haven't been fixed for me is LOTR:War in the North.

Which games are you referring to waves?

What is wrong with LOTR?

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#16 cluthz

cluthz

    Senior Hall monitor!

  • Super Forum Moderators
  • 2,645 posts
  • LocationNorway
  • Graphics Card:Nvidia GTX660
  • Operating System:Mac OS X 10.8 (Mountain Lion)
Author

Posted 16 March 2012 - 02:16 PM

View Postthanoulas, on 16 March 2012 - 02:09 PM, said:

What is wrong with LOTR?

The mouse doesn't warp in game. It warps in menus tho, so I have no idea why

[HackPro i5-4.3 GHz, 2x SSD + 5TB HDD • 16GB RAM • NVidia GTX 660 2GB • OSX 10.8.3] . [MacBookAir 13 1.7GHz • Intel HD 3000 • OSX 10.7.5]


How to port Steam games .... My Youtube Porting videos ... My Porting Nexus


#17 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 16 March 2012 - 02:41 PM

View Postcluthz, on 16 March 2012 - 02:16 PM, said:

The mouse doesn't warp in game. It warps in menus tho, so I have no idea why

Can you do the following:?
set in the debug flags: +win
test - run the game, go in the game and hit the edges of the screen on the x-axis, then quit with cmd+q
and open LastRunWine.log, strip everything out that doesn't have "THANOS" in it and upload it on pastebin?

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#18 Hrachya

Hrachya

    Wazzaaapp?!

  • Members
  • 1,833 posts
  • LocationUS of A
  • Graphics Card:GeForce 9600M GT 256 MB VRam GeForce 9400M 256 MB VRam
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:Action, FPS and RPG

Posted 17 March 2012 - 10:59 PM

I'm joining the thanoulas fan club! Thanks man, now Far Cry 2 works with all settings on, without any graphic glitches and the mouse works perfect too!
PC Specs:
Case: Corsair Vengeance C70 Gunmetal Black Motherboard: Gigabyte GAZ77X UD3H CPU: Intel Core i5 3570K GPU: Gigabyte 7950 RAM: Corsair Vengeance 2 X 4GB Low Profile Keyboard & Mouse: Corsair K60 & M60
------------------------------------------------------------------------------------------------------
"Mac OS X Snow Leopard is like a really hot cheerleader. Mac OS X Lion is the same cheerleader dropped into a pile of sh!t" - Alex Krasny

#19 Hrachya

Hrachya

    Wazzaaapp?!

  • Members
  • 1,833 posts
  • LocationUS of A
  • Graphics Card:GeForce 9600M GT 256 MB VRam GeForce 9400M 256 MB VRam
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:Action, FPS and RPG

Posted 18 March 2012 - 02:02 AM

I used your 1.5 engine here http://portingteam.c...7220-far-cry-2/

Thanks again.
PC Specs:
Case: Corsair Vengeance C70 Gunmetal Black Motherboard: Gigabyte GAZ77X UD3H CPU: Intel Core i5 3570K GPU: Gigabyte 7950 RAM: Corsair Vengeance 2 X 4GB Low Profile Keyboard & Mouse: Corsair K60 & M60
------------------------------------------------------------------------------------------------------
"Mac OS X Snow Leopard is like a really hot cheerleader. Mac OS X Lion is the same cheerleader dropped into a pile of sh!t" - Alex Krasny

#20 SouthTuna

SouthTuna

    Monstaer.

  • Members
  • 715 posts
  • LocationIn the deep dark depths of the earth... :P
  • Graphics Card:nVidia GeForce 320M 256MB.
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:A little bit of everything.

Posted 18 March 2012 - 09:27 AM

So, uh....
How do I use this?

EDIT: Wait... I figured it out! :D
Posted Image
Main banner thanks to RazorPro
Avatar thanks to adini

I don't have anything else to say, I guess.

#21 SouthTuna

SouthTuna

    Monstaer.

  • Members
  • 715 posts
  • LocationIn the deep dark depths of the earth... :P
  • Graphics Card:nVidia GeForce 320M 256MB.
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:A little bit of everything.

Posted 18 March 2012 - 09:44 AM

OMG! I... I... LOVE YOUR PATCH!
I'm joining your fan club with Hrachya.

Now DCUO fully works! Wow! :D
Perfect :)

Thanks!
Posted Image
Main banner thanks to RazorPro
Avatar thanks to adini

I don't have anything else to say, I guess.

#22 SouthTuna

SouthTuna

    Monstaer.

  • Members
  • 715 posts
  • LocationIn the deep dark depths of the earth... :P
  • Graphics Card:nVidia GeForce 320M 256MB.
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:A little bit of everything.

Posted 18 March 2012 - 01:59 PM

Your custom build was used here: http://portingteam.c...niverse-online/
Duly credited. Thank you for the build. :)
Posted Image
Main banner thanks to RazorPro
Avatar thanks to adini

I don't have anything else to say, I guess.

#23 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 18 March 2012 - 04:02 PM

Great news, I'm now uploading I've uploaded a new version which seems to fix all ATi related texture issues (broken texture on ATis mainly when GLSL shaders were in use). Lots of patches in this engine :)

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#24 Tetsu

Tetsu

    Champion Member

  • Donators
  • 597 posts
  • LocationCyberspace
  • Graphics Card:NVIDIA GTX 680MX 2GB
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:First Person Shooters, Arcade Games, Adventure Games, Platformers, Puzzlers

Posted 18 March 2012 - 05:31 PM

This works great with Clive Barker's Jericho which had broken mouse lately with the latest WINE builds!
--Tetsuo
It's funny how the colors of the real world only seem really real when you viddy them on the screen.
-- Alex Delarge, A Clockwork Orange
Late 2012 27 inch iMac, Core i7 Quad 3.4GHz, 16GB RAM, Nvidia GeForce GTX 680MX 2GB, 3TB Hard Drive

#25 cluthz

cluthz

    Senior Hall monitor!

  • Super Forum Moderators
  • 2,645 posts
  • LocationNorway
  • Graphics Card:Nvidia GTX660
  • Operating System:Mac OS X 10.8 (Mountain Lion)
Author

Posted 19 March 2012 - 06:23 PM

Where is that ATI/AMD GLSL patch? Could you link it here?

[HackPro i5-4.3 GHz, 2x SSD + 5TB HDD • 16GB RAM • NVidia GTX 660 2GB • OSX 10.8.3] . [MacBookAir 13 1.7GHz • Intel HD 3000 • OSX 10.7.5]


How to port Steam games .... My Youtube Porting videos ... My Porting Nexus


#26 thanoulas

thanoulas

    Champion Member

  • Database Moderators
  • 519 posts
  • LocationLondon
  • Graphics Card:nVidia GT330M 256MB
  • Operating System:Mac OS X 10.8 (Mountain Lion)

Posted 19 March 2012 - 07:11 PM

View Postcluthz, on 19 March 2012 - 06:23 PM, said:

Where is that ATI/AMD GLSL patch? Could you link it here?

Sure, there you go - Patch

Posted Image
If I helped in any way, you can always click the Like button! | All my Ports | HiRez Launcher Project for Tribes Ascend


#27 hmtinc

hmtinc

    Infinity Team

  • Members
  • 1,261 posts
  • LocationCanada
  • Graphics Card:Nividia geforce 9400 (264mb)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:Cod
    Doom 1-3
    Minecraft
    Gta
    Fallout 1-4
    Real Racing 1-2
    Angry Birds
    Flight Control
    Braid
Author

Posted 21 March 2012 - 02:26 AM

can you add the 1.5 source
I would like to add some patches to it


Posted Image

Proud Supporter of the Infinity Engine Project

Sub-Moderator of Infinity Engine Section


#28 Battlefiler

Battlefiler

    Veteran Member

  • Forum Sub-Moderator
  • 423 posts
  • LocationGermany
  • Graphics Card:Intel HD Graphics 3000 (512mb)
  • Operating System:Mac OS X 10.7 (Lion)

Posted 21 March 2012 - 08:43 AM

download it from winehq.org
Posted Image

#29 hmtinc

hmtinc

    Infinity Team

  • Members
  • 1,261 posts
  • LocationCanada
  • Graphics Card:Nividia geforce 9400 (264mb)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:Cod
    Doom 1-3
    Minecraft
    Gta
    Fallout 1-4
    Real Racing 1-2
    Angry Birds
    Flight Control
    Braid
Author

Posted 21 March 2012 - 12:06 PM

View Posthmtinc, on 21 March 2012 - 02:26 AM, said:

can you add the 1.5 source
I would like to add some patches to it
already did


Posted Image

Proud Supporter of the Infinity Engine Project

Sub-Moderator of Infinity Engine Section


#30 slavezeo

slavezeo

    Novice Member

  • Members
  • 8 posts
  • LocationEvansville, IN USA
  • Graphics Card:ATI 6870 1GB
  • Operating System:Mac OS X 10.7 (Lion)
  • I like to play:MMORPGS

Posted 21 March 2012 - 04:00 PM

Happiness ensues. The non ati fix engine made Overlord completely playable, no more crazy ass mouse movement in game. The ati fix engine made the fps sit steady at about 3 so it was unplayable on my Radeon 6870.

Thanks a lot for the engines.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users