https://bugs.winehq.org/show_bug.cgi?id=52198
Bug ID: 52198 Summary: MotoGP 2: Controller menu doesn't open when button for controller menu is pressed Product: Wine Version: 6.23 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs@winehq.org Reporter: tobias.boesch@googlemail.com Distribution: Debian
Created attachment 71251 --> https://bugs.winehq.org/attachment.cgi?id=71251 Logs of starting MotoGP 2 demo and klicking the controller configuration button
Hello Wine dev team,
I tried launching MotoGP 2 and found out that
- after the game is installed and - started via launcher.exe and - the launcher appears - klicking the "Configure controllers" button "doesn't work" which means there is no window opening.
I expect that a window opens where one can associate controller buttons to game functions. This works on a recent Windows 10.
I was able to log messages from wine and added them as attachment.
Note: Though the test for this bug report was made with the wine development version, I also tested it with my Debian default version 5.09 and with that version that menu opens.
The demo version can be found at: https://www.fileplanet.com/archive/p-18296/MotoGP-2-PC-Demo
Some people made this game work in older wine versions by overriding dinput8.dll. See: https://appdb.winehq.org/objectManager.php?sClass=version&iId=5418&i... I tried that in another test and was not successful.
I run Debian 11.
https://bugs.winehq.org/show_bug.cgi?id=52198
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.fileplanet.com/ | |archive/p-18296/MotoGP-2-PC | |-Demo Keywords| |download, regression
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Can you confirm that the demo suffers from the same issue?
Marking this as a regression since you mentioned that wine-5.9 worked.
If possible, could you run a regression test? See https://wiki.winehq.org/Regression_Testing for instructions.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #2 from tobias.boesch@googlemail.com --- I can confirm that the demo suffers from the same issue. I tested it with the demo after scanning it for Viruses.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #3 from tobias.boesch@googlemail.com --- Do I have to repeat the installation of the demo on every step in the bisect part, or just repeat the start of the app?
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- It's not strictly necessary to reinstall I think.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #5 from tobias.boesch@googlemail.com --- Short feedback:
I'm able to build and run wine from source.
I can reproduce the issue using git HEAD. I see an opening controller menu in wine 5.03. (Issue not present)
I'll continue with bisection and report when I found a commit that first had this issue.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #6 from tobias.boesch@googlemail.com --- Bisecting identified bfc805194fa33dd0f4048af3e5b0f96bdc96f04c as the first bad commit.
bfc805194fa33dd0f4048af3e5b0f96bdc96f04c is the first bad commit commit bfc805194fa33dd0f4048af3e5b0f96bdc96f04c Author: Rémi Bernon rbernon@codeweavers.com Date: Fri May 28 11:41:30 2021 +0200
dinput: Move IDirectInput8 WtoA wrappers to ansi.c.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/dinput/ansi.c | 251 +++++++++++++++++++++++++++++- dlls/dinput/dinput_main.c | 354 +------------------------------------------ dlls/dinput/dinput_private.h | 5 +- 3 files changed, 249 insertions(+), 361 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=52198
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.23 |6.9 Regression SHA1| |bfc805194fa33dd0f4048af3e5b | |0f96bdc96f04c Summary|MotoGP 2: Controller menu |MotoGP 2 launcher |doesn't open when button |'Configure controller' menu |for controller menu is |doesn't open |pressed | Ever confirmed|0 |1 CC| |rbernon@codeweavers.com Status|UNCONFIRMED |NEW
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Thank you for the bisection, I can confirm your result.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 71328 --> https://bugs.winehq.org/attachment.cgi?id=71328 +dinput with good and bad commit
Attaching +dinput logs on the last good commit and the first bad one.
https://bugs.winehq.org/show_bug.cgi?id=52198
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e5131028b94818e4b5cfc3252ab | |51cdac62477ab Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Rémi Bernon rbernon@codeweavers.com --- This should be fixed after e5131028b94818e4b5cfc3252ab51cdac62477ab.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #10 from tobias.boesch@googlemail.com --- Tested, works. Many thanks to all involved.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #11 from tobias.boesch@googlemail.com --- I have an additional info about this problem:
I (sadly) had to reinstall Windows 10 and tested this issue again - because that is a great chance.
I found that the controller menu does not open right after the game (demo) was installed. I was surprised. Why did it work on the previous one?
I found out that this works, after installing "Microsoft Directinput Mapper". I think that I most likely installed "Microsoft Directinput Mapper" a long time ago on the previous Win10 intsallation and forgot about it. Then when installing MotoGP 2 Demo there was no issue.
One place where you can find Microsoft Directinput Mapper: https://community.pcgamingwiki.com/files/file/58-microsoft-directinput-mappe...
This is just an information - ignore it if it is not relevant. I thought it is just fair to let the developers and other users that pass by know about it.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #12 from tobias.boesch@googlemail.com --- Before my last comment is misleading - I just found out that this issue is present on a fresh Windows 10. Wine issue is still resolved.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #13 from tobias.boesch@googlemail.com --- I ask myself if it is better to revert the commit that fixed this bug report and try to make the game work with the DirectInput Mapper installed.
That would reflect the current Windows installation.
What do you think? Then wine would behave the same way that Windows does - which I thought is to be preferred.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #14 from Rémi Bernon rbernon@codeweavers.com --- Yeah, while working on this I also found that it wasn't doing anything on Windows 10, but it looks useful anyway and the fixes were sensible.
I'm not sure about making Microsoft DirectInput Mapper work. Wine should probably have its own thing, which is more or less there already. If we can make them compatible, then good, but I suspect we'll be missing quite a few things in the action map area.
https://bugs.winehq.org/show_bug.cgi?id=52198
--- Comment #15 from tobias.boesch@googlemail.com --- I appreciate your feedback. Thanks.
"Wine should probably have its own thing"
As long as this is not conflicting with other things - fine. Better for everyone who uses it.
https://bugs.winehq.org/show_bug.cgi?id=52198
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc3.