optimize mouse for games

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
AxlRose01
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2010 8:13 pm

optimize mouse for games

Post by AxlRose01 »

- I play the game atlantica online
- Tried for a few days to make it work on vmware, read all about making the host enable for 3d games
- Works fine, a bit slow but all 100%
--------------------
- Tried on wine, and omg, runs 200% and fast, extremelly fast
- Problem is the mouse
- had same problem on vmware, but i found the answer on:
vmmouse.present = FALSE

This line disables the absolute pointing device in the guest. Applications which require DirectInput relative mode need to turn off the absolute pointing device in the guest. In practice, this is only required for a certain class of full screen 3-D applications (for example, real-time games like first-person shooters).

Note: If you set the vmmouse.present option, you should also turn off the preference for motion ungrabbing in the Input tab of the Preferences settings dialog.
- Problem solved on vmware
- on wine, i just cant find the option :(
- the game is not a first person shooter but i need this options to move the camera


- when it happens???
- happens when i keep the left or right button of the mouse pressed, then the cursor disapears and while pressed i can rotate the camera, not inside a battle, inside a battle works fine, problem is when walking, you just use the mouse
- it does work, but very baddly, and for moving the mouse like crazy only moves the camera like a 1%-%5
- tried on the wine config > gfx > allow dx to stop the mouse while leaving their window, very little it improves

- for only this problem, the game is unplayable for me
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

You may have run into
http://wiki.winehq.org/Bug6971

You could try
winetricks mwo=force
but the xinput2 patch is the best workaround I know of.
AxlRose01
Level 1
Level 1
Posts: 7
Joined: Sun Sep 26, 2010 8:13 pm

Post by AxlRose01 »

- looked into that, I am a bit noob, using fedora 13 64 with install: sudo yum install wine
- it installed the 64bit version by default 32_64 I think
- i am not sure how compiling from source will do if in the future i keep updating with yum, I want to keep using yum to update all my packages the way i had so far
- did in case sudo yum install wine-devel
Name : wine-devel
Arch : i686
Version : 1.3.1
Release : 1.fc13
Size : 2.4 M
from there I dont know where to go to compile and apply the patch
- i tried a few registry tricks and I think it fixed, at least a 95% of the issue :) without using that patch
- keept freezing, maybe i had messed too much with wine that i broke something, so did sudo yum erase wine, and deleted the .wine folder from my home folder
- reinstalled wine (sudo yum install wine), run the config thing
- under gfx tab i clicked "Allow DirectX apps to stop the mouse leaving their window"
- added the following registry to the win regedit:
HKEY_CURRENT_USER\Software\Wine\DirectInput
string value: MouseWarpOverride and set it to enabled

HKEY_CURRENT_USER\Software\Wine\Direct3D
string value: OffscreenRenderingMode and set it to fbo
seems to have fixed my issue, now mouse works 95%, a few times it doesnt work properly but still can help myself using the "S" and "D" key from the keyboard to rotate left and right while i have the mouse left and right click pressed at the same time to run forward

more details on how to apply that patch or any other tricks would be highly appreciated
Locked