http://bugs.winehq.org/show_bug.cgi?id=25654
Summary: Anarchy Online 18.4.x unable to mouse-look or mouse-steer Product: Wine Version: 1.2.2 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: llie@nano.exofire.net
Anarchy Online 18.4.x patch changed the way it handles mouse input do use something that one of their developers referred to as "raw mouse input stuff" in this post on the official Anarchy Online forums: http://forums.anarchy-online.com/showpost.php?p=5917231&postcount=10
The result is that now it is impossible to use the left mouse button to look or right mouse button to steer in Anarchy Online.
http://bugs.winehq.org/show_bug.cgi?id=25654
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=25654
llie@nano.exofire.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |llie@nano.exofire.net
http://bugs.winehq.org/show_bug.cgi?id=25654
Laryllan laryllan@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Laryllan laryllan@web.de 2010-12-31 03:49:50 CST --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=25654
Janne Hakonen joyer83@live.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joyer83@live.fi
--- Comment #2 from Janne Hakonen joyer83@live.fi 2010-12-31 04:29:49 CST --- I may have a patch for this, will post in a day or two.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #3 from Janne Hakonen joyer83@live.fi 2011-01-01 09:28:13 CST --- Created an attachment (id=32688) --> (http://bugs.winehq.org/attachment.cgi?id=32688) modified raw input patch
Here's a patch that enables mouse look and steering. It is a modified version from Reco's and Sergej's raw input patch for Hellgate London game (http://bugs.winehq.org/show_bug.cgi?id=10318#c45). The original patch didn't work very well with AO: LMB down, camera rotates the faster the further away mouse cursor is from screen's center. Same goes for steering with RMB. This modified patch should fix this problem.
Changes I have made are: * Removed screen center calculations and instead just passed relative mouse movements values gotten from DirectInput to raw mouse input. * Fixed some warnings * Made sure that the patch applies cleanly to Wine 1.3.6.
I've only tested this with Ubuntu 10.10 / Wine 1.3.6. Maybe someone with a Mac could test this too and see what happens :)
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #4 from Janne Hakonen joyer83@live.fi 2011-01-01 12:09:32 CST --- Tested the patch also with Wine 1.2.2. The patch applies successfully for all but one file: dlls/user32/Makefile.in. This is easy to fix though, open the Makefile.in file and add "dinput8 dinput dxguid" (without quotes) to IMPORTS list.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #5 from llie@nano.exofire.net 2011-01-02 17:01:28 CST --- Created an attachment (id=32705) --> (http://bugs.winehq.org/attachment.cgi?id=32705) Raw mouse input patch for Wine 1.2.2
Exact same patch as http://bugs.winehq.org/attachment.cgi?id=32688, except I modified the Makefile.in part to work for Wine 1.2.2
Tested with Wine 1.2.2 on Mac 10.6.5 and appears to work. Left and right mouse buttons now look and steer correctly!
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #6 from Janne Hakonen joyer83@live.fi 2011-01-03 14:10:00 CST --- Good to hear. The patch seems to be still in need of improvements as commented by Vitaliy Margolen in his message: http://bugs.winehq.org/show_bug.cgi?id=10318#c31 .
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #7 from llie@nano.exofire.net 2011-01-04 08:24:08 CST --- (In reply to comment #6)
Good to hear. The patch seems to be still in need of improvements as commented by Vitaliy Margolen in his message: http://bugs.winehq.org/show_bug.cgi?id=10318#c31 .
Why did the Hellgate bug get closed? Supposedly it was fixed in wine 1.3.5? If so shouldn't 1.3.5 and 1.3.6 support RawInputDevices?
http://bugs.winehq.org/show_bug.cgi?id=25654
Laryllan laryllan@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |laryllan@web.de
--- Comment #8 from Laryllan laryllan@web.de 2011-01-22 07:03:59 CST --- Jane's patch seem to be applied to Wine 1.3.13 already - at least I can't apply it manually any more.
Nevertheless, the issue is not solved in Wine 1.3.13 - I am still not able to use mouselook/mouse steering in Anarchy Online.
Using Ubuntu 10.10 64bit, sources from Ubuntu Wine PPA.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #9 from Laryllan laryllan@web.de 2011-01-22 07:17:54 CST --- Sorry Janne for the misspelling. I'm speaking of Wine 1.3.12 actually, don't know how to edit the typos...
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #10 from Laryllan laryllan@web.de 2011-01-22 07:43:24 CST --- Just forget my last two posts - the patch works fine. I had to clean the sources before applying...
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #11 from llie@nano.exofire.net 2011-02-16 22:56:20 CST --- What is the status of RawDeviceInput for Wine? I've browsed the forum, the bug list, and the developer's To-Do list, and although there is an item regarding relative mouse position versus absolute mouse position, there is nothing currently planned for RawDeviceInput, but there are at least 4 open bugs for games that is affected by not having RawDeviceInput implemented.
Is there no generalized solution to this problem because of the relative/absolute mouse position issue? It seems a lot of games each has its own patch to support RawDeviceInput.
http://bugs.winehq.org/show_bug.cgi?id=25654
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #12 from Dan Kegel dank@kegel.com 2011-02-18 09:25:57 CST --- What other games need raw input? I searched for GetRawInputData and wine, but only found a few hits: world of tanks, see http://appdb.winehq.org/objectManager.php?sClass=version&iId=22521&i... Hellgate London (not fatal, see bug 10318)
If I had to guess, I'd say it's not being done because so few games need it.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #13 from llie@nano.exofire.net 2011-02-18 18:42:08 CST --- (In reply to comment #12)
What other games need raw input? I searched for GetRawInputData and wine, but only found a few hits: world of tanks, see http://appdb.winehq.org/objectManager.php?sClass=version&iId=22521&i... Hellgate London (not fatal, see bug 10318)
If I had to guess, I'd say it's not being done because so few games need it.
http://bugs.winehq.org/buglist.cgi?quicksearch=RawInput
One shy of a dozen using "RawInput" as a search term.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #14 from llie@nano.exofire.net 2011-03-05 12:12:26 CST --- Created an attachment (id=33542) --> (http://bugs.winehq.org/attachment.cgi?id=33542) Updated mouse patch
Changes in dlls/user32/input.c as of Wine 1.3.15 makes the previous patch no longer apply. This one works on current developmental version
http://bugs.winehq.org/show_bug.cgi?id=25654
llie@nano.exofire.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33542|0 |1 is obsolete| |
--- Comment #15 from llie@nano.exofire.net 2011-04-02 10:42:48 CDT --- Created an attachment (id=33905) --> (http://bugs.winehq.org/attachment.cgi?id=33905) Updated mouse patch for 1.13.17
Changes in dlls/user32/input.c causes previous patch to once again fail to apply. Still no official comment about proper raw device input support in Wine?
http://bugs.winehq.org/show_bug.cgi?id=25654
shiva shampoo shiva.shampoo@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shiva.shampoo@yahoo.com
--- Comment #16 from shiva shampoo shiva.shampoo@yahoo.com 2011-05-31 22:08:01 CDT --- (In reply to comment #15)
Created an attachment (id=33905)
--> (http://bugs.winehq.org/attachment.cgi?id=33905) [details]
Updated mouse patch for 1.13.17
Changes in dlls/user32/input.c causes previous patch to once again fail to apply. Still no official comment about proper raw device input support in Wine?
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #17 from shiva shampoo shiva.shampoo@yahoo.com 2011-05-31 22:13:22 CDT --- Having the same issue, I'm using Wine 1.3.21, do you have a patch for this version? And how can I apply these patches? This is my first post so sorry for my noobness.
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #18 from Janne Hakonen joyer83@live.fi 2011-06-04 02:57:58 CDT --- (In reply to comment #17)
Having the same issue, I'm using Wine 1.3.21, do you have a patch for this version? And how can I apply these patches? This is my first post so sorry for my noobness.
Refering and slightly modifying from Haide's post here: http://forums.anarchy-online.com/showthread.php?p=5961808#post5961808
mkdir ~/wine-patches wget http://bugs.winehq.org/attachment.cgi?id=33905 -O ~/wine-patches/PATCH_33905
cd ~/wine-git patch -p1 < ~/wine-patches/PATCH_33905
then configure, make and make install.
I haven't tested though if the patch applies with the newest wine version, hopefully it does.
http://bugs.winehq.org/show_bug.cgi?id=25654
Mel Irizarry melirizarry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |melirizarry@gmail.com
--- Comment #19 from Mel Irizarry melirizarry@gmail.com 2011-07-19 13:57:58 CDT --- I could really use the mouse-view patch as a permanent fix. Currently using 1.3.24 on a mix of 32/64 bit Linux mint 10/11 on 12 computers and patching ever computer is not fun. Will try the patch as soon as I can get wine to compile on my 64 bit workstation but I have lots of 32 bit dev libs to install first which is an exercise in patience. 0.0
http://bugs.winehq.org/show_bug.cgi?id=25654
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #20 from Mel Irizarry melirizarry@gmail.com 2011-08-15 11:35:36 CDT --- Are there any debian binaries built with this fix in place? I would hate to have to patch all my computers everytime a new version comes out.
Why not just apply this patch to 1.3 as a permanent patch? Does it break anything else?
http://bugs.winehq.org/show_bug.cgi?id=25654
--- Comment #21 from Laryllan laryllan@web.de 2011-08-15 12:20:26 CDT --- I don't know if it breaks something else, but I'd love to see it integrated in the 1.3 tree too...
http://bugs.winehq.org/show_bug.cgi?id=25654
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #22 from Austin English austinenglish@gmail.com 2011-08-15 12:31:28 CDT --- Dupe.
*** This bug has been marked as a duplicate of bug 20395 ***
http://bugs.winehq.org/show_bug.cgi?id=25654
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Austin English austinenglish@gmail.com 2011-08-15 16:35:09 CDT --- Closing.