samuelgr / Xidi

DirectInput interface for XInput controllers
BSD 3-Clause "New" or "Revised" License
180 stars 10 forks source link

Colin McRae Rally 2.0 (2000) #65

Open Goblan opened 1 year ago

Goblan commented 1 year ago

In this game, vibration works flawlessly using Masahiko Morii's "Force feedback driver for XInput", which can be found here.

However, with Xidi all I get is a very strong rumble at the beginning of the race, before starting running (there shouldn't be any rumble at that moment) and then, when the race starts, vibration stops completely.

As I test Xidi on more games, I'll start new issues or edit the open ones if I found out anything new.

Just for the record, Xidi's been the only solution to achieve a perfect vibration, with no bugs or issues, on Star Wars: Racer. I'd love it to work just as good for every old game out there.

Thanks!

samuelgr commented 1 year ago

Could you please reproduce the issue with logging enabled and then upload a log file from Xidi? Add this to your Xidi.ini:

[Log]
Enabled                             = yes
Level                               = 4
Goblan commented 10 months ago

Sure, here's the log file Xidi_DInput_CMR2.exe_14020.log

samuelgr commented 10 months ago

Please try again. It looks like the logging configuration didn't work. Make sure there's only one [Log] section in the configuration file and that it looks like what I showed in the previous comment.

[11/11/2023 11:41:29] [E] Errors were encountered during configuration file reading.
[11/11/2023 11:41:29] [E]     C:\Program Files (x86)\MVM 2004 - Colin McRae Rally 2.0\Xidi.ini(35): Log: Duplicated section name.
CosmicHeron commented 1 week ago

Necropost, but I'm encountering the same problem. Installed CMR2 using Bottles on Linux and patched with the Silent patch and using Xidi the controller is picked up fine but as far as rumble goes, as OP described, there's a short burst at the start of the first race of the launch and then that's it until the game is closed and launched again.

The Xidi.ini mapper file I'm using to get the acceleration and brake axis to work.

[Mapper]
Type                = CMR2
[CustomMapper:CMR2]
Template            = StandardGamepad
TriggerLT           = Axis(Z, +)
TriggerRT           = Axis(Z, -)

Here are the Xidi logs: Xidi_DInput__HookshotLauncher_CMR2.exe_296.log Xidi_HookModule__HookshotLauncher_CMR2.exe_296.log Xidi_WinMM__HookshotLauncher_CMR2.exe_296.log