Showing posts with label Xinput2. Show all posts
Showing posts with label Xinput2. Show all posts

Sunday, December 25, 2011

Mass Effect 2 Demo and Wine: Getting there...

Am I a stubborn guy or what? I read a little bit about the issues and possible fix when I saw this forum discussion and a possible mouse hack patch for an older version of Wine (1.1.x). Here is the original patch.

I poked through the dinput.dll code and figured I should be updating the patch. I am 100% sure WineHq will not be accepting mouse hacks into their source so I don't think it will be of any good to submit it (Let me know otherwise).

Here is the patch From Pastebin With Love.

Friday, December 23, 2011

Nothing changed...

I suppose my Xorg version is too old. Compiling this new wine version didn't do anything at all.

Backporting Wine with Xinput2

I had problems backporting wine (still 1.3.33) with xinput 2. It seems to be what is called the Xmd.h inclusion bug (conflicting datatype declarations) and after a bit of reading, I couldn't make sense why this wouldn't work now. After digging up and trying to run the make on winex11drv to see what was happening, it turns out it's missing the libXext package. I slipped that in and everything built just fine. Now to see how mouse support is going.

Mouse woes with Mass Effect 2

It's a pretty well-documented problem. I've read that Xinput2 should have the proper extensions for mouse tracking which is at the heart of this issue. DirectX uses relative mouse movements while Xorg supports only absolute mouse movements.

Hopefully by installing the update to libxi (and others) proper mouse support can finally happen. Playing Mass Effect 2 with the mouse glitch and manually recentering the mouse cursor is not fun.