https://bugs.winehq.org/show_bug.cgi?id=40161
Bug ID: 40161 Summary: TrackMania United Forever - the vehicle turns left itself Product: Wine Version: 1.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: marcin.marcin.m@gmail.com Distribution: ---
Installed TrackMania United Forever, applied the latest patch (2.11.26).
Started the race. After the countdown, the vehicle turns left as though the left arrow were pressed and held. After pressing the right arrow, the game proceeds as usually.
Apart from a flood of fixme's, nothing interesting can be found in the logs. Using Wine1.8. Tried wine-staging 1.9.3, but the results are exactly the same. Installing d3d9 by winetricks changes absolutely nothing (but why should it?)
https://bugs.winehq.org/show_bug.cgi?id=40161
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- I have had similar experience with wine and some games. At least some Need for speed demo. I think I was able to fix it in some games with native xinput dlls.
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #2 from Marcin Mielniczuk marcin.marcin.m@gmail.com --- (In reply to super_man from comment #1)
I have had similar experience with wine and some games. At least some Need for speed demo. I think I was able to fix it in some games with native xinput dlls.
Hmmm, can you please elaborate a little more about it, what exactly should be done?
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #3 from super_man@post.com --- (In reply to Marcin Mielniczuk from comment #2)
(In reply to super_man from comment #1)
I have had similar experience with wine and some games. At least some Need for speed demo. I think I was able to fix it in some games with native xinput dlls.
Hmmm, can you please elaborate a little more about it, what exactly should be done?
You go into console, write wine winecfg and press enter. Then you go into library and all xinput and dinput dlls as native. I don't anymore remember what exactly was the file that helped. It didnt help always, but in some cases. Anyway its better to get this fixed than using workaround.
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #4 from Marcin Mielniczuk marcin.marcin.m@gmail.com --- (In reply to super_man from comment #3)
(In reply to Marcin Mielniczuk from comment #2)
(In reply to super_man from comment #1)
I have had similar experience with wine and some games. At least some Need for speed demo. I think I was able to fix it in some games with native xinput dlls.
Hmmm, can you please elaborate a little more about it, what exactly should be done?
You go into console, write wine winecfg and press enter. Then you go into library and all xinput and dinput dlls as native. I don't anymore remember what exactly was the file that helped. It didnt help always, but in some cases. Anyway its better to get this fixed than using workaround.
It's not a fix for me. In fact, having installed dinput with winetricks, no input is grabbed by the game.
https://bugs.winehq.org/show_bug.cgi?id=40161
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download URL| |http://trackmaniaforever.co | |m/nations/
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Confirming in wine 1.9.17. The game uses dinput for both keyboard and joysticks. For unknown reasons there is indeed a left keyboard key press without release being received by dinput.
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Bruno Jesus from comment #5)
Confirming in wine 1.9.17. The game uses dinput for both keyboard and joysticks. For unknown reasons there is indeed a left keyboard key press without release being received by dinput.
My previous comment is wrong. It was a debug trace misinterpretation, there is no spurious left keyboard press. I just noticed that I can only reproduce this with a joystick.
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- I believe this is a game bug.
http://forums.ubi.com/showthread.php/1418848-some-fixes-TrackMania-Turbo-bra...
Many people talk about similar problems in Windows. I checked dinput output and if you don't press anything no events are generated and the controller still seems to affect the input. My PS2 controller is stuck with the left pressed and my xbox 360 controller is stuck with both acceleration and brake, I have to press both buttons to disable. If I remove the controllers the game plays fine. Only when that forum thread gets a solution we will be able to tell again if the problem is really in Wine.
https://bugs.winehq.org/show_bug.cgi?id=40161
tigga Tigga@will-hier-weg.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Tigga@will-hier-weg.de
--- Comment #8 from tigga Tigga@will-hier-weg.de --- Using PlayOnLinux 4.2.10 on Ubuntu 16.04.2 LTS x86_64, run the "Control Panel", select "Game Controlers" -> "Joysticks" and remove your keyboard from the list above "connected", reopen Game Controllers to be sure your keyboard was moved to disabled.
Using only Wine, execute control.exe in wine-console and go on as mentioned above.
This will remove the instant left turning of the car.
This workaround works on every Wine version I tested so far...
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to tigga from comment #8)
Using PlayOnLinux 4.2.10 on Ubuntu 16.04.2 LTS x86_64, run the "Control Panel", select "Game Controlers" -> "Joysticks" and remove your keyboard from the list above "connected", reopen Game Controllers to be sure your keyboard was moved to disabled.
Your keyboard is detected as a joystick? It is the second time I hear something like that, what is its model? Can you attach a +dinpug log for opening the controllers applet in the panel? Shortcut:
WINEDEBUG=+dinput wine control joy.cpl &> /tmp/log.txt
https://bugs.winehq.org/show_bug.cgi?id=40161
--- Comment #10 from tigga Tigga@will-hier-weg.de --- (In reply to Bruno Jesus from comment #9)
(In reply to tigga from comment #8)
Using PlayOnLinux 4.2.10 on Ubuntu 16.04.2 LTS x86_64, run the "Control Panel", select "Game Controlers" -> "Joysticks" and remove your keyboard from the list above "connected", reopen Game Controllers to be sure your keyboard was moved to disabled.
Your keyboard is detected as a joystick? It is the second time I hear something like that, what is its model? Can you attach a +dinpug log for opening the controllers applet in the panel? Shortcut:
WINEDEBUG=+dinput wine control joy.cpl &> /tmp/log.txt
I think it's a regular way to detect input hardware... I should mention I'm not that familiar with wine and debugging or linux at all, so I simply used lsusb for my model. It's a Microsoft Corp. Digital Media Pro Keyboard. Hope it helps.
https://bugs.winehq.org/show_bug.cgi?id=40161
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Bug is fixed for me with wine 4.0rc5. You can check with the demo in the URL link.
https://bugs.winehq.org/show_bug.cgi?id=40161
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
--- Comment #12 from Jeff Zaroyko jeffz@jeffz.name --- (In reply to joaopa from comment #11)
Bug is fixed for me with wine 4.0rc5. You can check with the demo in the URL link.
Is your hardware setup the same? OP said their keyboard was detected as a joystick.
Marcin, is this still an issue in wine 5.0-rc2 or newer?