[Bug 34182] New: Empire Earth v2.0: mouse cursor only moves at high mouse movement
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jul 31 17:15:39 CDT 2013
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 at winehq.org
ReportedBy: toxatec at 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/
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list