http://bugs.winehq.org/show_bug.cgi?id=34182
Bug #: 34182 Summary: Empire Earth v2.0: mouse cursor only moves at high mouse movement Product: Wine Version: 1.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: toxatec@web.de Classification: Unclassified
Created attachment 45468 --> http://bugs.winehq.org/attachment.cgi?id=45468 WINEDEBUG="+dinput"; simulated mouse movement with xdotool
Moving the cursor in Empire Earth v2.00.3466 is not possible unless you move the mouse very quickly. When you do, the cursor moves by only a few pixels.
Generating mouse movement with xdotool [1] showed that the cursor moves by 1 "unit" for each 120 pixels the mouse moves. One "unit" seems to be more than 1 pixel and depend on in-game settings...
$ xdotool mousemove_relative -- 0 119 # --> no cursor movement $ xdotool mousemove_relative -- 0 120 # --> moves cursor by 1 unit $ xdotool mousemove_relative -- 0 239 # --> moves cursor by 1 unit $ xdotool mousemove_relative -- 0 240 # --> moves cursor by 2 units
About the logfile: Started the game, then in main menu: no mouse movement except 3x 119, then 3x 120 pixels downwards using xdotool, then alt-F4
Those parts look interesting but with I'm lacking the skills to figure out what's wrong or even fix it: $ bzcat dinput-120.log.bz2 | grep -B10 -A30 120 $ bzcat dinput-120.log.bz2 | grep -B10 -A30 119 I hope this is helpful..
Using native dinput, behavior is completely different and hard to describe. I'm not sure if it's relevant: The game seems to remember the amount of pixels you have moved in X or Y direction, moving the cursor by a corresponding value on every mouse event (also clicks). After moving the mouse to the right, the cursor keeps going right even when you move the mouse left. Moving the mouse in the other direction lowers that "memory", stopping the cursor eventually. You have to set "Mouse Sensitivity" to "1" in regedit, otherwise the cursor is uncontrollably fast.
This is different from the issues with the Demo version or 1.00 (bug 13351), therefore I'm creating a new bug report.
[1]: http://www.semicomplete.com/projects/xdotool/
http://bugs.winehq.org/show_bug.cgi?id=34182
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2013-07-31 17:31:14 CDT --- Well this certainly never used to occur. Please run a regression test. http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #2 from Michael B toxatec@web.de 2013-07-31 18:02:27 CDT --- I tested this months ago and it was the same then, which I just wanted to add but you were too quick :) I think I had also tried older wine versions and couldn't find a working version. Anyway I'll try some older versions tomorrow.
http://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #3 from Michael B toxatec@web.de 2013-08-01 04:33:50 CDT --- wine-1.0 is the same as described above. wine-0.9.50 feels different but shows the same behavior with xdotool (119: no effect; 120: cursor moves).
Mouse control in the unpatched Empire Earth v1.00 or the Demo version is working fine with any wine version. Something was changed in the first patch (v1.04).
I'm attaching another +dinput log. This is from wine-1.6 and Empire Earth v1.00 where cursor movement is working as expected. Again I issued 'xdotool' like in the first log.
By the way: With native dinput, Empire Earth v1.00 shows the same strange behavior as v1.04 or v2.00 which I described in the first post.
Comments on this problem have been in AppDB for a long time, I just seem to be the first one to create a bug report about it.. probably most people are using the unpatched version of the game?!
http://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #4 from Michael B toxatec@web.de 2013-08-01 04:35:40 CDT --- Created attachment 45472 --> http://bugs.winehq.org/attachment.cgi?id=45472 WINEDEBUG="+dinput"; working cursor movement in game version v1.00
This is from wine-1.6 and Empire Earth v1.00 where cursor movement is working as expected. Again I issued 'xdotool' like in the first log.
http://bugs.winehq.org/show_bug.cgi?id=34182
findus8128@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |findus8128@gmail.com
--- Comment #5 from findus8128@gmail.com 2013-08-23 11:53:08 CDT --- This is a duplicate of bug 13351. For a solution, see my post over there. :-)
http://bugs.winehq.org/show_bug.cgi?id=34182
Linus Unnebäck linus@folkdatorn.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linus@folkdatorn.se
https://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #7 from Linus Unnebäck linus@folkdatorn.se --- This is still very much present in Wine 1.7.52. Is there any debug output that I should attach?
https://bugs.winehq.org/show_bug.cgi?id=34182
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net --- Is this still an issue? Bug 13351 has been fixed.
https://bugs.winehq.org/show_bug.cgi?id=34182
Michael B toxatec@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Michael B toxatec@web.de --- https://source.winehq.org/git/wine.git/commit/4bc1e172ecba43dd8a5eb341cdd8e7... does indeed fix the issue :)
https://bugs.winehq.org/show_bug.cgi?id=34182
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.5.