Build Your Own Arcade Controls Forum
Main => Driving & Racing Cabinets => Topic started by: Fursphere on January 25, 2026, 11:24:20 pm
-
Wondering if anyone else has tackled this 'problem'.
I'm finally getting back to working on my cabinets after a long break, and I'm finding it a bit troublesome to 'inform' the user (me most of the time) how the wheel needs to be configured before the game starts. 270 degree, 360 degree... FFB on/off... pedals combined or separate... shifter setup (H pattern vs sequential)... any special button mapping (aka - spy hunter controls).
I'm using Fanatec gear for both of my cabs, and it doesn't have any command line options (booo). For all of the Logitech G27 faults, they did a good job on the software game profile system side of things.
I was thinking about making a loading screen (per game?! argh... lots of work) AHK script with a message that tells the user (again, me most of the time) how to setup the controls before the game starts or something like that. Maybe do some AI image generation (go go slop factory) to speed things up.
Anyone else tackled this? Have any ideas?
-
Funny. I just came to the forum to post a solution for Moza wheels (using command line for settings), as I just got one and certainly wouldn't keep it unless settings could be adjusted on the fly.
Sorry I can't be helpful for Fanatec wheels.
-
I bought the Fanatec stuff based on my experiences with the old Clubsport CSW 2.5 (great piece of kit).
I can probably use an AutoIT GUI-based RPA-type script to do it, assuming the GUI never changes (lol).
edit - Hell, Power Automate with Windows 11 might even work. I'm going to have to explore that...
-
EDIT: ah, i should read the OP first! So, yes, AHK will pop stuff up. And i imagine your profiler has you sorted for the rest :) I'll eave the post as is, in case anyone can use the info as it took me ages to find it myself :)
I use autohotkey. I have a G25 and as part of my launch process, if required, the AHK script launches a bat file (or some of the relevant lines from) that changes the degrees of full rotation in the registry. I will admit to grabbing this from somewhere online, and simply working out hex values for the ranges i wanted.
However, very important, the change does not take unless i open either the joy.cpl joystick test function in windows, or open the logitech profiler. Which my launch script also does for me. Then, when the game closes, my script changes the degrees of freedom back, and shuts the profiler as well.
The bat file looks like this:
@echo off
cd\
cd C:\utils
start C:\utils\dc2.exe -configure="C:\utils\640x480.xml"
reg add "HKCU\Software\Logitech\Gaming Software\GlobalDeviceSettings\G25" /f /v OperatingRange /t REG_DWORD /d 0x000021c
rem hex=degrees full turn
rem 384=900
rem 2d0=720
rem 21c=540
rem 10e=270
rem --BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--=180
rem 96=150
rem 78=120
rem 5a=90
sleep 500
The line about bingo was the two letters b and 4, but the forum jumps on the euphemism, lol.
AHK can also flash a pop-up window on screen for you, with info text, and then wait for a button press or just remove it. If you wanted that. Or you can have it run programs with commandline options, etc.
-
After thinking about it all day, I ended up just brute forcing it with AHK and mouse move/mouse click operations. (Fanatec App can't be navigated with keyboard commands... wtf)
I did some process monitoring and saw that the Fanatec App is sending TCP commands to the wheel base. I tried for a minute to capture these to package and resend on demand, but I couldn't get it to work. So I moved onto RPA.
If anyone is interested, this is what I came up with:
Open App, Nav to base config, adjust rotation and FFB, Nav to Pedals, adjust 'combined pedals" option. It uses screen color detection to detect what state things are currently in.
CoordMode, Mouse, Screen
if WinExist("ahk_exe Fanatec.exe")
{
WinActivate
WinMaximize
}
else
{
Run, "C:\Program Files\Fanatec\FanatecUI\UI\Fanatec.exe"
WinWait, ahk_exe Fanatec.exe
WinActivate, ahk_exe Fanatec.exe
WinMaximize, ahk_exe Fanatec.exe
}
Sleep, 6500
WinWaitActive, ahk_exe Fanatec.exe
; -------------------------
; Select Wheel Base Section
; -------------------------
MouseMove, 194, 169
sleep, 100
click
; Set Tuning Mode to Advanced
; ---------------------------
MouseMove, 490, 222
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
targetX := 490
targetY := 222
offColor2 := 0x0D0D0D
onColor2 := 0xFFFF00
PixelGetColor, color, targetX, targetY, RGB
if (color = offColor2)
{
MouseMove, targetX, targetY, 0
Click
}
else
{
}
Sleep, 3500
; Select Profile 1
; ----------------
MouseMove, 702, 222
sleep, 100
click
MouseMove, 696, 328
sleep, 100
click
; Adjust Sensitivity (Wheel Travel)
; ---------------------------------
CoordMode, Mouse, Screen
; Start position
startX := 1051
startY := 354
; End position
endX := 420
endY := 354
; Move to start position
MouseMove, %startX%, %startY%, 0
; Click & hold at start position
MouseClick, left, %startX%, %startY%, 1, 0, D
Sleep, 200
; Drag to end position smoothly
MouseMove, %endX%, %endY%, 10
Sleep, 100
; Release click at end position
MouseClick, left, %endX%, %endY%, 1, 0, U
; Adjust FFB Power
; ----------------
CoordMode, Mouse, Screen
; Start position
startX := 741
startY := 459
; End position
endX := 1146
endY := 459
; Move to start position
MouseMove, %startX%, %startY%, 0
; Click & hold at start position
MouseClick, left, %startX%, %startY%, 1, 0, D
Sleep, 200
; Drag to end position smoothly
MouseMove, %endX%, %endY%, 10
Sleep, 100
; Release click at end position
MouseClick, left, %endX%, %endY%, 1, 0, U
; ---------------------
; Select Pedals Section
; ---------------------
MouseMove, 194, 572
sleep, 100
click
; Toggle Combined Pedals Option
; -----------------------------
MouseMove, 1612, 292
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
targetX := 1612
targetY := 292
offColor := 0x1D1D1D
onColor := 0xF4F84A
PixelGetColor, color, targetX, targetY, RGB
if (color = offColor)
{
MouseMove, targetX, targetY, 0
Click
}
else
{
}
WinClose, ahk_exe Fanatec.exe
-
Fanatec has profiles in the fanalab software.
-
Fanatec has profiles in the fanalab software.
FanaLab has been replaced by 'Fanatec App" as far as I know.
The profiles are "if you launch your game from Fanatec App, we'll load your profile" (and its one per exe)
Also, as far as I've been able to tell, none of the profiling software touches the "combined" pedal options.
...long story short, AHK to the rescue.
-
what do you use combined pedals for though?
I still use the old fanalab app because the new one sucks ass. You are right about combined pedals I believe but I don't use fanatec for the pedals.
-
Seems like every single MAME racer requires combined pedals.