Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Wheel config before game start messaging?  (Read 94 times)

0 Members and 1 Guest are viewing this topic.

Fursphere

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1275
  • Last login:Today at 10:42:59 pm
Wheel config before game start messaging?
« on: Yesterday at 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?

nugarp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 308
  • Last login:Today at 09:25:32 pm
  • I want to build my own arcade controls!
Re: Wheel config before game start messaging?
« Reply #1 on: Today at 12:54:10 pm »
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.

Fursphere

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1275
  • Last login:Today at 10:42:59 pm
Re: Wheel config before game start messaging?
« Reply #2 on: Today at 01:08:16 pm »
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...
« Last Edit: Today at 01:11:53 pm by Fursphere »

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1836
  • Last login:Today at 07:39:50 pm
  • Is running at 15kHz
Re: Wheel config before game start messaging?
« Reply #3 on: Today at 06:09:20 pm »
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:
Quote
@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.
« Last Edit: Today at 07:39:50 pm by buttersoft »