https://bugs.winehq.org/show_bug.cgi?id=50664
Bug ID: 50664 Summary: Assassin's Creed II can't select controller Product: Wine Version: 6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs@winehq.org Reporter: atillolann-1815@yopmail.com Distribution: ---
Created attachment 69368 --> https://bugs.winehq.org/attachment.cgi?id=69368 Log
I can't select a controller in Assassin's Creed II. I am using a Xbox Series X/S controller.
Using Wine 6.1-developer Tried using Wine 6.2 no luck. Distro: Linux Mint 19.0 Cinnamon 64 bit Arch: x86_64
https://bugs.winehq.org/show_bug.cgi?id=50664
atillolann-1815@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-dinput |-unknown
https://bugs.winehq.org/show_bug.cgi?id=50664
atillolann-1815@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Mint
https://bugs.winehq.org/show_bug.cgi?id=50664
--- Comment #1 from atillolann-1815@yopmail.com --- Version updated to wine6.2-staging still doesn't work. Distro updated to Linux Mint 20.1 Cinnamon 64 bit.
https://bugs.winehq.org/show_bug.cgi?id=50664
--- Comment #2 from atillolann-1815@yopmail.com --- *** Bug 50708 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50664
atillolann-1815@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|UNCONFIRMED |RESOLVED
--- Comment #3 from atillolann-1815@yopmail.com --- -
https://bugs.winehq.org/show_bug.cgi?id=50664
atillolann-1815@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from atillolann-1815@yopmail.com --- -
https://bugs.winehq.org/show_bug.cgi?id=50664
beastie beastie@unixyourbrain.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |beastie@unixyourbrain.org
--- Comment #5 from beastie beastie@unixyourbrain.org --- Created attachment 70098 --> https://bugs.winehq.org/attachment.cgi?id=70098 Assassin' s Creed gamepad trouble solved
https://bugs.winehq.org/show_bug.cgi?id=50664
--- Comment #6 from beastie beastie@unixyourbrain.org --- Hi, solved !
I know this thread is Abandoned, but if it can help future users, enjoy ;)
Have played recently at Assassin's Creed 1 & 2, and had some trouble to select Xbox Series Gamepad in game, as mentioned by an anonymous here https://appdb.winehq.org/objectManager.php?sClass=version&iId=11069&... and here https://appdb.winehq.org/objectManager.php?sClass=version&iId=19584.
But It's not a wine issue.
It's a backward compatibility of Gamepads. Old Gamepads use this mapping : Axis 0 : Left stick X abs Axis 1 : Left stick Y abs Axis 2 : Right stick X abs Axis 3 : Right stick Y abs Button 0 Button 1 etc ... But new gamepad mapping is : Axis 0 : Left stick X abs Axis 1 : Left stick Y abs Axis 2 : Left stick Z abs (Named LT on the controller) Axis 3 : Left stick Y abs Axis 2 : Left stick X abs Axis 3 : Left stick Z abs (Named LT on the controller) Buttons ...
Axis values are -32767 to 32766. Stick are centered with value 0,0 but when LT and RT are not pressed, their value are -23767
So, /dev/input/eventX and /dev/input/jsX send new mapping, and Assassin's Creed and Assassin's Creed 2 interpret new mapping as old mapping. So when you go on the controller selection, LT/left Z axis return -32767, and the game read/interpret that "right stick left" and unselect Gamepad.
I solve this issue in Assassin's creed by redoing the mapping with jstest-gtk (or jstest), and select my controler /dev/input/jsX, as you can see on attachement screenshot https://bugs.winehq.org/attachment.cgi?id=70098
I have not find a workaround for /dev/input/eventX for now
On Assassin's creed 2, you just nedd to configure controler in game option, by changing Axis, it works fine with js and event controller.
It's really disappointing to see rating set to Bronze, just because Gamepad is badly configured by the user while the game works perfectly (see https://appdb.winehq.org/objectManager.php?sClass=version&iId=11069&...)
Tested on Debian/11, workaround works fine with this versions of wine : wine deb repos version : 5.0.4 wineHQ repos version : 6.0-stable wineHQ repos version : 6.9-staging wineHQ repos version : 6.9-staging
Hope it can help future Xbox Gamepad users on old Games
https://bugs.winehq.org/show_bug.cgi?id=50664
--- Comment #7 from beastie beastie@unixyourbrain.org --- I confirm it's not a wine issue, just a missing configuration of gamepad in game.
Because LT/left Z axis return -32767 (left stick send left for the game), configure Gamepad control is a little bit difficult, because Zaxis send event before i set a new button/axis.
You can close the game and modify your game binding map file by editing it (eg. "vi /$WINEPREFIX/drive_c/users/$USER/Application\ Data/Ubisoft/Assassin's\ Creed/Saved\ Games/1623029687.map")
After editing and set the right session for Mad Catz Xbox 360 Controller, file look like this :
[Mad Catz Xbox 360 Controller (event)] VendorID=7085 ProductID=61462 Button1=0 Button2=2 Button3=3 Button4=1 PadUp=64 PadRight=65 PadDown=66 PadLeft=67 Select=6 Start=7 ShoulderLeft1=4 ShoulderLeft2=10 ShoulderRight1=5 ShoulderRight2=11 StickLeft=8 StickRight=9 LeftStickUp=130 LeftStickDown=130 LeftStickLeft=129 LeftStickRight=129 RightStickUp=133 RightStickDown=133 RightStickLeft=132 RightStickRight=132 [Mad Catz Xbox 360 Controller (js)] VendorID=7085 ProductID=61462 Button1=0 Button2=2 Button3=3 Button4=1 PadUp=64 PadRight=65 PadDown=66 PadLeft=67 Select=6 Start=7 ShoulderLeft1=4 ShoulderLeft2=10 ShoulderRight1=5 ShoulderRight2=11 StickLeft=8 StickRight=9 LeftStickUp=130 LeftStickDown=130 LeftStickLeft=129 LeftStickRight=129 RightStickUp=133 RightStickDown=133 RightStickLeft=132 RightStickRight=132
For future uses, or other in game profile, you can add your controller in the default bindings config file, in game install dir (eg. /games/assassinscreed/wine/drive_c/Program\ Files\ (x86)/Assassin's Creed/DefaultBindings.map) :
[Mad Catz Xbox 360 Controller] VendorID=7085 ProductID=61462 Button1=0 Button2=2 Button3=3 Button4=1 PadUp=64 PadRight=65 PadDown=66 PadLeft=67 Select=6 Start=7 ShoulderLeft1=4 ShoulderLeft2=10 ShoulderRight1=5 ShoulderRight2=11 StickLeft=8 StickRight=9 LeftStickUp=130 LeftStickDown=130 LeftStickLeft=129 LeftStickRight=129 RightStickUp=133 RightStickDown=133 RightStickLeft=132 RightStickRight=132
Hope it can help :)
https://bugs.winehq.org/show_bug.cgi?id=50664
--- Comment #8 from beastie beastie@unixyourbrain.org --- Works on Assassin's Creed 1 & 2
https://bugs.winehq.org/show_bug.cgi?id=50664
beastie beastie@unixyourbrain.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|beastie@unixyourbrain.org |
https://bugs.winehq.org/show_bug.cgi?id=50664
beastie beastie@unixyourbrain.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |beastie@unixyourbrain.org