ranenbg / Arduino-FFB-wheel

Stand-alone DirectInput USB device recognized in Windows as a joystick with force feedback functionality, based on BRWheel by Fernando Igor from 2017.
153 stars 21 forks source link

F1 2023 #37

Open Matteo2607 opened 10 months ago

Matteo2607 commented 10 months ago

I tried to play f1 2023, but the force feedback doesn't work, if I'm not mistaken the software is compatible with all games that use the DirectInput protocol. And I think the problem is that f1 uses a different protocol, is there any way I can fix and play?

ranenbg commented 10 months ago

Hi, as far as I know newer F1 games use Xinput, so a directInput device will not have ffb. It's an entirely different protocol.

Notriatv commented 10 months ago

I tried to play f1 2023, but the force feedback doesn't work, if I'm not mistaken the software is compatible with all games that use the DirectInput protocol. And I think the problem is that f1 uses a different protocol, is there any way I can fix and play?

there is a simple trick to make ffb work with arduino wheel with EA and some other games, just follow this tutorial and things will work fine https://youtu.be/vEcKw1PVPpQ?si=b83GknIzyEhXuwK6

ranenbg commented 10 months ago

Tnx for the suggestion. The exception with snowrunner is that it has "logitech legacy" mode, which I suppose is directInput protocol, so it's not a big problem to trick the game thinking it has logitech wheel connected by changing some reg entries.

If the game supports Xinput only, there is very little one can do. I believe there are some 3rd party software which can emulate Xinput device from an directInput one, or it was vice versa, I'm not really sure as I never really used any of those.

Notriatv commented 9 months ago

@ranenbg Actually, I don't know if the F1 23 really works with this method, but the 20 and 22, which I have installed here, it works!! This method has also allowed me to properly feel the force feedback in Dirt Rally 2.0, Automobilista 2, Bus Simulator 21, Mud Runner, and some other games. However, in Snow Runner, the FFB is working and centering correctly with your firmware (with Ai wave wheel config, the wheel used to pull only to one side and didn't center), but there's a constant vibration in the wheel as if the sine wave effect is on all the time (which makes the hand numb after a while XD and the motor heats up).

Notriatv commented 9 months ago

@Matteo2607 or just change the number 01 to 43 in reg files "OEMData"=hex:01,00,00,11,20,00,00,00 (typical arduino wheel controller) to "OEMData"=hex:43,00,00,11,20,00,00,00 that's should be enough to ffb starts to working dont even need to change Arduino Leonardo name

ranenbg commented 9 months ago

Tnx for the info, this is very usefull.

You can use a "periodic" slider in my GUI to lower the amplitude of all periodic effects like sine, square, triangle, sawtoothup and sawtoothdown. You can set it to zero and you will completely remove sine effect from ffb.

Notriatv commented 9 months ago

I tried that, but it didn't work :( Oh well, I found a balance between constant force and the game settings, making it playable. Now I can feel all the forces, and let's just pretend the wheel vibration is the truck's engine rumble XD

Matteo2607 commented 9 months ago

Could you explain to me how and where to go to change the value?