STALKER dinput patch v2
Started By DankoB, Mar 02 2012 10:51 PM
8 replies to this topic
#1
Posted 02 March 2012 - 10:51 PM
This thread is in conjunction to the link below which the first version of this patch.
http://portingteam.c...ut-patch-build/
...it has been improved upon and is now compatible with the latest version of wine.
This thread was started due to comments made in the Mass Effect thread although I don't have high hopes that it will work with that game...
It will however work to update the S.T.A.L.K.E.R. series (new links just added today of a Wine 1.2 version of the old patch. I haven't installed them yet but I have a completed and working build and did a brief test with my F.E.A.R. Platinum install. I was literally floored as soon as the first screen came up due to the clarity of the logo and the images (which were just blurs before) and then IO got into a little bit of gameplay and actually had to turn the sensitivity down on my mouse!
If anyone would like to test this build, I'm making a link available below.
Instructions to install are as follows
Your USER account name > Library > Application Support > Wineskin > Engines
place the file you download into this folder and the Wineskin engine bunble will be visible to Wineskin Winery
Click the button below to download WS8Wine1.4rc6_dinput.7z
http://portingteam.c...ut-patch-build/
...it has been improved upon and is now compatible with the latest version of wine.
This thread was started due to comments made in the Mass Effect thread although I don't have high hopes that it will work with that game...
It will however work to update the S.T.A.L.K.E.R. series (new links just added today of a Wine 1.2 version of the old patch. I haven't installed them yet but I have a completed and working build and did a brief test with my F.E.A.R. Platinum install. I was literally floored as soon as the first screen came up due to the clarity of the logo and the images (which were just blurs before) and then IO got into a little bit of gameplay and actually had to turn the sensitivity down on my mouse!
If anyone would like to test this build, I'm making a link available below.
Instructions to install are as follows
Your USER account name > Library > Application Support > Wineskin > Engines
place the file you download into this folder and the Wineskin engine bunble will be visible to Wineskin Winery
Click the button below to download WS8Wine1.4rc6_dinput.7z
#2
Posted 02 March 2012 - 11:01 PM
THanks for this. Could you link the patch you used?
I did send you a message about his a week or two ago, since I'm trying to get this working with a raw input patch
I did send you a message about his a week or two ago, since I'm trying to get this working with a raw input patch
[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
#3
Posted 03 March 2012 - 01:21 AM
It's the one written and posted by mr_lundis about 11 hours ago here - https://gist.github.com/1958584
As for the message you sent me I thought you were asking about the WineX11.drv which was taken from a very old Chromium port and had no part in patching or building.
@ mr_lundis, thanks so much for taking the time to write out and post this work
As for the message you sent me I thought you were asking about the WineX11.drv which was taken from a very old Chromium port and had no part in patching or building.
@ mr_lundis, thanks so much for taking the time to write out and post this work
#4
Posted 03 March 2012 - 12:21 PM
You're welcome.
I just tried your custom engine out with ME, and now the mouse is always warping, which is not the desired result. I will play around a little bit more and see if I can get it working properly.
I think I've figured out my issues with building Wine as well. There are some issues with building Wine with XCode 4.2+ as it uses llvm-gcc instead of gcc, but gcc is still available, just not included on the path by default.
http://bugs.winehq.o...ug.cgi?id=28030
http://superuser.com...lion-delete-gcc
I'll let you now how it goes.
I just tried your custom engine out with ME, and now the mouse is always warping, which is not the desired result. I will play around a little bit more and see if I can get it working properly.
I think I've figured out my issues with building Wine as well. There are some issues with building Wine with XCode 4.2+ as it uses llvm-gcc instead of gcc, but gcc is still available, just not included on the path by default.
http://bugs.winehq.o...ug.cgi?id=28030
http://superuser.com...lion-delete-gcc
I'll let you now how it goes.
#5
Posted 03 March 2012 - 01:34 PM
Yeah, I'm still on Snow Leopard, stuck with a only a Core Duo...not even Core 2 Duo...obviously why it worked for me...Lion has never been installed on this rig
Looking forward to hearing about your results!
Looking forward to hearing about your results!
#6
Posted 03 March 2012 - 03:37 PM
I have a fairly good idea on why the patch isn't working correctly, but I'm still not able to build Wine properly. And I'm not really up to compiling my own c-compiler to work around the issue :/
Anyway, If anyone feels like playing around a bit, then take a look at the conditionals on line 366 and forward in mouse.c. I think the issue might be that the rect is not mapped correctly to the window (compare with warp_check on line 437 for reference.)
Also, if anyone has any ideas on how to get gcc-4.2 working on Lion with XCode 4.2 I'd be very grateful.
Anyway, If anyone feels like playing around a bit, then take a look at the conditionals on line 366 and forward in mouse.c. I think the issue might be that the rect is not mapped correctly to the window (compare with warp_check on line 437 for reference.)
Also, if anyone has any ideas on how to get gcc-4.2 working on Lion with XCode 4.2 I'd be very grateful.
#7
Posted 03 March 2012 - 08:03 PM
I can do the compiling work for you if you'd like. But as for looking at the code and trying to fix it, I'd have no clue where to start once I found the line. I also can't help with getting the proper gcc to work, maybe doh123 has some insight on that subject
I've tried this in STALKER but unfortunately it doesn't work in game, it fixes the mouse movement in the menus but not in game, it's constantly forced downwards.
Let me know if you have potential patches, I'd be more than happy to build. Or if you want to give me certain conditions to edit into the patch, and instructions to which lines apply, I can do that as well, and then build. I've never dabbled with editing patches as Wine really is a language I'm not fluent in I just really dig it's dialect...hahaha
Let me know what you think.
I've tried this in STALKER but unfortunately it doesn't work in game, it fixes the mouse movement in the menus but not in game, it's constantly forced downwards.
Let me know if you have potential patches, I'd be more than happy to build. Or if you want to give me certain conditions to edit into the patch, and instructions to which lines apply, I can do that as well, and then build. I've never dabbled with editing patches as Wine really is a language I'm not fluent in I just really dig it's dialect...hahaha
Let me know what you think.
#8
Posted 04 March 2012 - 05:55 PM
I'm not much of a C developer either, I mostly do Python and a lot of front-end/JS development. I'll probably have another look later next week, and I might pick you up on your compilation offer, although I'm unsure how viable that will be in the long run, haha.
Cheers
Cheers
#9
Posted 04 March 2012 - 08:33 PM
Who knows....maybe in a couple months I'll be more valuable too...I'll starting C Programming in my engineering course mid April.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users















