forked from Hay1tsme/segatools
Dniel97
d521eeb43e
- Configure separate pedals which are not part of the steering wheel (base) - It is now possible to have a different steering wheel, pedal and shifter brand all connected to 3 different USB ports - XInput does not have a deadzone at the end of the max steering anymore and the `restrict` setting works as intended
172 lines
6.1 KiB
INI
172 lines
6.1 KiB
INI
[vfs]
|
|
; Insert the path to the game AMFS directory here (contains ICF1 and ICF2)
|
|
amfs=
|
|
; Insert the path to the game Option directory here (contains OPxx directories)
|
|
option=
|
|
; Create an empty directory somewhere and insert the path here.
|
|
; This directory may be shared between multiple SEGA games.
|
|
; NOTE: This has nothing to do with Windows %APPDATA%.
|
|
appdata=
|
|
|
|
[aime]
|
|
; Controls emulation of the Aime card reader assembly.
|
|
enable=1
|
|
aimePath=DEVICE\aime.txt
|
|
|
|
[dns]
|
|
; Insert the hostname or IP address of the server you wish to use here.
|
|
; Note that 127.0.0.1, localhost etc are specifically rejected.
|
|
default=127.0.0.1
|
|
|
|
[netenv]
|
|
; Simulate an ideal LAN environment. This may interfere with head-to-head play.
|
|
; SEGA games are somewhat picky about their LAN environment, so leaving this
|
|
; setting enabled is recommended.
|
|
enable=1
|
|
|
|
[keychip]
|
|
; The /24 LAN subnet that the emulated keychip will tell the game to expect.
|
|
; If you disable netenv then you must set this to your LAN's IP subnet, and
|
|
; that subnet must start with 192.168. Set it to your LAN's subnet if you
|
|
; want to play head-to-head using netenv=1.
|
|
subnet=192.168.100.0
|
|
|
|
; Override the keychip's region code. Most games seem to pay attention to the
|
|
; DS EEPROM region code and not the keychip region code, and this seems to be
|
|
; a bit mask that controls which Nu PCB region codes this keychip is authorized
|
|
; for. So it probably only affects the system software and not the game software.
|
|
; 1: JPN: Japan, 4: EXP: Export (for Asian markets)
|
|
region=4
|
|
|
|
[gpio]
|
|
; ALLS DIP switches.
|
|
enable=1
|
|
|
|
; If multiple machines are present on the same LAN then set this to 1 on
|
|
; exactly one machine and set this to 0 on all others.
|
|
dipsw1=1
|
|
; 0 is the DZero CVT cab and 1 is the SWDC CVT cab.
|
|
dipsw2=0
|
|
; Enable the Single Seat mode, always requires dipsw1=1.
|
|
dipsw3=0
|
|
; The next two dip switches are the seat settings in bits, where
|
|
; 00 = Seat 1, 10 = Seat 2, 01 = Seat 3 and 11 = Seat 4
|
|
dipsw4=0
|
|
dipsw5=0
|
|
|
|
[aimeio]
|
|
; To use a custom card reader IO DLL enter its path here.
|
|
; Leave empty if you want to use Segatools built-in keyboard input.
|
|
path=
|
|
|
|
[idacio]
|
|
; To use a custom Initial D The Arcade IO DLL enter its path here.
|
|
; Leave empty if you want to use Segatools built-in gamepad/wheel input.
|
|
path=
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Input settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
; Keyboard bindings are specified as hexadecimal (prefixed with 0x) or decimal
|
|
; (not prefixed with 0x) virtual-key codes, a list of which can be found here:
|
|
;
|
|
; https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
|
|
;
|
|
; This is, admittedly, not the most user-friendly configuration method in the
|
|
; world. An improved solution will be provided later.
|
|
|
|
[io4]
|
|
; Test button virtual-key code. Default is the 1 key.
|
|
test=0x31
|
|
; Service button virtual-key code. Default is the 2 key.
|
|
service=0x32
|
|
; Keyboard button to increment coin counter. Default is the 3 key.
|
|
coin=0x33
|
|
|
|
; Input API selection for IO4 input emulator.
|
|
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
|
mode=xinput
|
|
; Adjust scaling for steering wheel input.
|
|
;
|
|
; This setting scales the steering wheel input so that the maximum positive
|
|
; and minimum negative steering inputs reported in the operator menu's input
|
|
; test screen do not exceed the value below. The maximum possible value is 128,
|
|
; and the value that matches the input range of a real cabinet is 128.
|
|
;
|
|
; NOTE: This is not the same thing as DirectInput steering wheel movement
|
|
; range! Segatools cannot control the maximum angle of your physical steering
|
|
; wheel controller, this setting is vendor-specific and can only be adjusted
|
|
; in the Control Panel.
|
|
restrict=128
|
|
|
|
[xinput]
|
|
; Left and right thumbsticks are mapped to left and right dpad buttons.
|
|
; Press both thumbsticks to trigger "Time Up" and exit the course.
|
|
; Automatically reset the simulated shifter to Neutral when XInput Start is
|
|
; pressed (e.g. when navigating menus between races).
|
|
autoNeutral=1
|
|
; Use the left thumbstick for steering instead of both on XInput Controllers.
|
|
; Not recommended as it will not give you the precision needed for this game.
|
|
singleStickSteering=1
|
|
; Use linear steering instead of the default non-linear cubing steering.
|
|
linearSteering=1
|
|
; Configure deadzones for the left and right thumbsticks.
|
|
; The default value for the left stick is 7849, max value is 32767.
|
|
leftStickDeadzone=7849
|
|
; The default value for the right stick is 8689, max value is 32767.
|
|
rightStickDeadzone=8689
|
|
|
|
[dinput]
|
|
; Name of the DirectInput wheel to use (or any text that occurs in its name)
|
|
; Example: G29
|
|
;
|
|
; If this is left blank then the first DirectInput device will be used.
|
|
deviceName=
|
|
; Name of the DirectInput pedals to use (or any subset thereof).
|
|
; Leave blank if you do not have separate pedals; aka the pedals are part of
|
|
; the wheel.
|
|
;
|
|
; The pedals will be mapped to the accelAxis and brakeAxis.
|
|
pedalsName=
|
|
; Name of the positional shifter to use (or any subset thereof).
|
|
; Leave blank if you do not have a positional shifter; a positional shifter
|
|
; will be simulated using the configured Shift Down and Shift Up buttons
|
|
; in this case.
|
|
;
|
|
; Can be the same device as the wheel.
|
|
;
|
|
; Example: G29
|
|
shifterName=
|
|
; Pedal mappings. Valid axis names are:
|
|
;
|
|
; X, Y, Z, RX, RY, RZ, U, V
|
|
;
|
|
; (U and V are old names for Slider 1 and Slider 2).
|
|
; The examples below are valid for a Logitech G29.
|
|
brakeAxis=RZ
|
|
accelAxis=Y
|
|
; DirectInput button numbers to map to menu inputs. Note that buttons are
|
|
; numbered from 1; some software numbers buttons from 0.
|
|
start=1
|
|
viewChg=2
|
|
; DPad is already emulated, but in order to trigger "Time Up" and exit the
|
|
; course you need to press both left and right on the DPad at the same time.
|
|
; This is not possible on most devices, so we set the left and right button again.
|
|
left=7
|
|
right=8
|
|
; Button mappings for the simulated six-speed shifter.
|
|
shiftDn=6
|
|
shiftUp=5
|
|
; Button mappings for the positional shifter, if present.
|
|
gear1=13
|
|
gear2=14
|
|
gear3=15
|
|
gear4=16
|
|
gear5=17
|
|
gear6=18
|
|
; Invert the accelerator and or brake axis
|
|
; (Needed when using DirectInput for the Dualshock 4 for example)
|
|
reverseAccelAxis=0
|
|
reverseBrakeAxis=0
|