Boomslangnz / FFBArcadePluginGUI

GUI for FFB Arcade Plugin to modify settings easier
GNU General Public License v3.0
2 stars 10 forks source link

New feature request - Constant spring force for every game #5

Open RuppMartin001 opened 1 year ago

RuppMartin001 commented 1 year ago

I have no issue with this software. But I have a question and I didn't find a way to create a request for an additional feature of the tool. I have a wheel from Fanatec (wheelbase CSL DD 8 Nm with wheel P1 V2) and unfortunately I get no force feedback from the game "Farming Simulator 22" from Giants. It would be helpful to have at least a constant spring force because it is an annoying thing to find the center of the wheel. I have tried the button "Spring" in the "Force Feedback Test" from FFBPluginGUI.exe. It works with my wheel from Fanatec. Unfortunately the effect is only active for some seconds. Could you please create a setting for dummy games only to create a constant spring force feedback effect? Is it possible?

If not, how can I create this effect?

I have tried the tool fedit.exe from directX 8 SDK. I can also create the same effect with the tool and it is possible to create .ffe files. Unfortunately the effect does no longer exist if I leave the window or if I go to the game.

I have read that there is another tool with the name readFFE.exe. The files which can be created by fedit.exe can be "played" with this tool. Unfortunately I haven't found that tool and I don't know if the effect stays active if I change the window to the game.

Boomslangnz commented 1 year ago

There is a way but this has been requested quite a few times so I might just make a plugin for this to make it easy

RuppMartin001 commented 1 year ago

Very good! Thank you.

I have found a project on https://github.com/amcgee7/SimSteeringTest. It seems it has the same target.

But it did not work for me.

I installed Visual Studio 2022 CE yesterday and I have compiled it. I changed some things. E.g. I changed DISCL_FOREGROUND to DISCL_BACKGROUND:

g_pDevice->SetCooperativeLevel( hDlg, DISCL_EXCLUSIVE | DISCL_BACKGROUND ) ) )

And it was necessary to define lDeadBand.

DICONDITION cond;
...
cond.lDeadBand = 0;

And some other changes.

I was able make it working for me.

But the GUI is not so nice.

I have to start the game and then after the game was started I started the ffCont.exe. Then I have a constant spring force.

With the program fanalab (from fanatec) I am able to make the fine tuning of spring force and other effects.

I am really happy that it works.

But it would be better if you create a solution for all users.

At the moment I have no gui elements to change the values of: cond.lOffset = 0; cond.lPositiveCoefficient = 2600; cond.lNegativeCoefficient = 2600; cond.dwPositiveSaturation = 0; cond.dwNegativeSaturation = 0; cond.lDeadBand = 0;

There are a lot of users who have the issue with wheels without spring effect with this game Farming Simulator 22. I think you will make many people happy and (also me).

Thank you in advance.