Steam for Linux

Steam for Linux

thetargos May 17, 2015 @ 4:56pm
Do you think this would be feasible? (Wine gamepad input based on eON Linux tiltes)
I was discussing this the other day with a friend, and we got speculating about if it would be possible to have other Windows titles played through a special bottle in POL or CodeWeavers CxGames have consistent input from gamepads, like is the case with some eON titles, most notably The Witcher 2.

So this assumes a LOT of things, since eON is NOT wine, but when you look at the console output it does seem to share some execution paths similar or rather it has similar output in some situations. Still, there is a native binary file which links against a load of libraries which in turn implement an executon enviroment similar to that of Wine. I was thinking if there was a way to find out how did The Witcher 2 in particular sent the input signals from gamepads, especially XBox 360 gamepads, as it seems to be quite accurate, and I have been successful at running the game with a wireless BX360 controller, a wired one and a PS DS3 both wired and paired through BT, just for kicks. In all cases gamepad events are accurately mapped in this title in particular.

However for other games such as Skyrim running through Wine it is a major PITA. Not that it cannot be done with xboxdrv, which does in turn requires to unload xpad, load the userspace driver and options and optimize the mapping for ONE game before launch.

However The Witcher 2 must be implementing some kind of dinput support or rather maps dinput to SDL2, though I'm not sure.

What do you think? Would it be possible to find out the settings/registry keys used by an eON port and try to mimick them in vanilla/upstream wine?
Date Posted: May 17, 2015 @ 4:56pm
Posts: 0