Some serious controller/keyboard problems caused by controller hotpluging support
While making the Feature Request to fix/restore the missing car horn, I was trying to confirm which button it would be by default for an XInput controller, I came across this game-breaking problem with the controller configuration menu. So this happens...
Controller
Keyboard
So you might be asking "well what's the problem then?" If you try to "fix" the controller mappings by selecting Default in the menus (happens consistently with a controller plugged in and attempting to restore the botched keyboard controls), it breaks the game's "cancel" function and it prevents me from even going back to the previous menus, even keyboard controls are effected by this as well, effectively softlocking the game. Remapping controls with this problem also makes it hard to figure out if my controls are bound to the right keys/buttons or not.
This is how the control configuration menu without the fix at all looks like:
Controller
Keyboard
Furthermore, this presents a major problem for those using DirectInput based controllers or other PC-compatible gamepads or steering wheel and pedals if the game did not map the controls correctly (I also found out the game stores the controls settings and some other game setting in the common.dat file found the SaveGame folder).
Also while I'm at it, I noticed the HideOnlineSigninText config in the INI for OR2006C2C Tweaks does not hide the Sign In text is not working at all with 0.4.1 even though I have this set to "true" in my config file.
UPDATE: To further elaborate on the issue, I had this happen with an 8BitDo Ultimate Xbox Controller (the earlier wired model), but it can also happen with official Xbox 360 controllers and DualShock 4 controllers. While updating this issue and testing DualShock 4 controllers, this problem also caused the game to crash when trying to fight with the broken/buggy remapping menus.
UPDATE 2: Also trying to trick the broken mapping in the menus by temporarily renaming the Tweaks's dinput8.dll, force all control mappings back to default without it, save the changes, and then reverting the Tweaks's DLL file back to the original name causes the game to hang on launch.
Chiming in, I'm playing it on Wine and I'm unable to get my controller (DualSense 5) working properly.
It is sort-of recognized in game:
The horizontal steering axis works, but the others don't, and the buttons are all switched around and I can't set them either.
Apart from that the game runs great, I'm very grateful for your effort to keep this marvellous racing game alive.
In fairness, the UI for this game could do with a total overhaul, but that's probably well outside the scope of this project and probably not feasible without access to the source code.
If possible, an external .ini for setting input might be a good way to bypass the Controls menu entirely. I just want to map Accelerate to A and Brake to B :(
The right trigger on my DS4 also opens the menu when trying to accelerate, and sometimes cancels when bein depressed, no matter what the mappings are.- ESC is non working whatever the case. I tried plugging my xbone controllerand it was non working with my tentative previous DS$ remappings. Deleting command.dat allowed to fix it and make the game with the Xbox controller.
The controller configuration UI of this game sure was a total nonsensical mess!
turn off controller hotplug for solving the problem.
Ah I had done that at your guidance once, and had forgotten to do it again! Thank you :D