You are viewing yokozar

ubuntu, wine

New feature for game developers coming to Jaunty

A short while ago I came across a post by Linux Hater.  He pointed to a flustered game developer making a Linux port.  One of his issues is also faced by Wine developers: there is no way to read relative mouse movements in X.

Without relative mouse movements, a game like an FPS has to guess which way the mouse is moving by regularly comparing the current position of the pointer with where it used to be, periodically warping the mouse to the center of the screen.  This has several drawbacks: it's a kludge to implement, mouse accelleration gets really weird, and if the cursor is moving fast enough it might escape the window or hit the edge of the screen.  You hear a spy sweeping up to backstab you, race your mouse to make a quick 180, and instead stop 3 times along the way.  If you're a twitch gamer, the whole experience can be more jerky than you'd find at a 7-11 counter.

We've been working around this for years in Wine, and the result has been user frustration.  Fortunately, the X.org guys have heard our feature request: relative mouse moevements are being included in the XInput2 design, and XInput2 is on the feature goals list fo 7.5.

This is an example of another great thing: time-based releases.  We know X.org makes releases in February, we know Gnome makes releases in March, and we know Ubuntu will release in April.  When Wine or some new game needs relative mouse movements for our next release we can depend on that feature, freeze around the same time as Gnome, and quickly get a stable piece of software out to the masses.  When a project like Wine releases at just the right moment, we minimize the amount of time that users are stuck with an out of date version.


If I rub the right shoulders hard enough, Wine will be making its 1.2 release around March, just in time for Jaunty.  Alexandre Julliard (the project lead), expressed ambivalence about the idea during Wineconf, but I think I can convince the team with some effort.  Ubuntu (and any other distro releasing at the same time, like Fedora) would benefit greatly from Wine 1.2 in the next release :)

Tags: ,

Comments

(Anonymous)

XInput2: Where's the discussion? Notes? Anything?
http://www.x.org/wiki/Releases/7.5 has the current release planning information for X.org 7.5.

You can see that MPX is there (multiple pointer support) -- this requires XInput2

(Anonymous)

assumptions?

That is of course assuming that Xorg manages to actually be released on time and not 6 months later...

(Anonymous)

"This is an example of another great thing: time-based releases. We know X.org makes releases in February ... quickly get a stable piece of software out to the masses."

I'm not sure how you drew the conclusion that time-based releases result in stable software. They result in software being released at a specific time, yes, but my experience with Ubuntu for the last few years suggests that software produced by this method is of very poor quality. It might work great for a few people in a certain situation, but the majority of users encounter nothing but problems. Rushing rarely produces high quality work.
ubuntu, wine

April 2009

S M T W T F S
   1234
567891011
12131415161718
19202122232425
2627282930  
Powered by LiveJournal.com