https://bugs.winehq.org/show_bug.cgi?id=52257
Bug ID: 52257 Summary: MotoGP 2 launcher 'Configure controller' menu doesn't remember changes to key mappings Product: Wine Version: 7.0-rc2 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 71387 --> https://bugs.winehq.org/attachment.cgi?id=71387 Log of changing keymappings with a fresh wineprefix
Hello Wine dev team,
I tried launching MotoGP 2 (verified that the demo also has this issue) and found out that
- after the game is installed and - started via launcher.exe and - the launcher appears and - clicking the "Configure controllers" button and - changing a key mapping, byselect a key listed in the right panel, then double click a function in the left panel and - closing the controller menu by clicking on OK and - reopening the controller menu (like in one of the previous steps), then the previously changed mapping is not present anymore (like no change to the key has been made)
I expect that changed key mappings are persistent after setting it up and confirming the controller configuration menu and after closing and starting the game.
Important note: When having an empty wineprefix (deleted wineprefix folder) the first change of a key map is persistent, even when closing the game. The changes made after that change will not be persistent. This was tested with the key "Escape" and it was set To "Accelerate" for testing purposes.
This works on a recent Windows 10 (when using Microsoft DirectInput Mapper). See the following comment: https://bugs.winehq.org/show_bug.cgi?id=52198#c14 why MS DirectInput Mapper is not used here.
I was able to log messages from wine and added them as attachment.
The demo version can be found at: https://www.fileplanet.com/archive/p-18296/MotoGP-2-PC-Demo
Wine AppDB entry for MotoGp 2: https://appdb.winehq.org/objectManager.php?sClass=application&iId=3660
Fixing this might be too much work: See comment 14: https://bugs.winehq.org/show_bug.cgi?id=52198#c14