forked from Hay1tsme/segatools
d4nin3u
37c26ecadb
This commit basically copy-pastes the last commits from https://dev.s-ul.net/VeroxZik/segatools/-/commits/master to add OpenITHM LED support. Doesn't need to edit segatools.ini because the relevant config lines are already there for some reason. Tested with my OpenITHM controller and behaves exactly like the other fork. Reviewed-on: #26 Co-authored-by: d4nin3u <d4nin3u@gmail.com> Co-committed-by: d4nin3u <d4nin3u@gmail.com>
176 lines
6.1 KiB
INI
176 lines
6.1 KiB
INI
; -----------------------------------------------------------------------------
|
|
; Path settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[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 Axxx 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=
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Device settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[aime]
|
|
; Enable Aime card reader assembly emulation. Disable to use a real SEGA Aime
|
|
; reader.
|
|
enable=1
|
|
aimePath=DEVICE\aime.txt
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Network settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[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.
|
|
; Chunithm is extremely picky about its LAN environment, so leaving this
|
|
; setting enabled is strongly recommended.
|
|
enable=1
|
|
; The final octet of the local host's IP address on the virtualized subnet (so,
|
|
; if the keychip subnet is `192.168.32.0` and this value is set to `11`, then the
|
|
; local host's virtualized LAN IP is `192.168.32.11`).
|
|
addrSuffix=11
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Board settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[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.
|
|
subnet=192.168.139.0
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Misc. hooks settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[gfx]
|
|
; Force the game to run windowed.
|
|
windowed=1
|
|
; Add a frame to the game window if running windowed.
|
|
framed=1
|
|
; Select the monitor to run the game on. (Fullscreen only, 0 =primary screen)
|
|
monitor=0
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; LED settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[led15093]
|
|
; Enable emulation of the 15093-06 controlled lights, which handle the air tower
|
|
; RGBs and the rear LED panel (billboard) on the cabinet.
|
|
enable=1
|
|
|
|
[led]
|
|
; Output billboard LED strip data to a named pipe called "\\.\pipe\chuni_ledstrip"
|
|
cabLedOutputPipe=1
|
|
; Output billboard LED strip data to serial
|
|
cabLedOutputSerial=0
|
|
|
|
; Output slider LED data to the named pipe
|
|
controllerLedOutputPipe=1
|
|
; Output slider LED data to the serial port
|
|
controllerLedOutputSerial=0
|
|
; Use the OpeNITHM protocol for serial LED output
|
|
controllerLedOutputOpeNITHM=0
|
|
|
|
; Serial port to send data to if using serial output. Default is COM5.
|
|
;serialPort=COM5
|
|
; Baud rate for serial data (set to 115200 if using OpeNITHM)
|
|
;serialBaud=921600
|
|
|
|
; Data output a sequence of bytes, with JVS-like framing.
|
|
; Each "packet" starts with 0xE0 as a sync. To avoid E0 appearing elsewhere,
|
|
; 0xD0 is used as an escape character -- if you receive D0 in the output, ignore
|
|
; it and use the next sent byte plus one instead.
|
|
;
|
|
; After the sync is one byte for the board number that was updated, followed by
|
|
; the red, green and blue values for each LED.
|
|
;
|
|
; Board 0 has 53 LEDs:
|
|
; [0]-[49]: snakes through left half of billboard (first column starts at top)
|
|
; [50]-[52]: left side partition LEDs
|
|
;
|
|
; Board 1 has 63 LEDs:
|
|
; [0]-[59]: right half of billboard (first column starts at bottom)
|
|
; [60]-[62]: right side partition LEDs
|
|
;
|
|
; Board 2 is the slider and has 31 LEDs:
|
|
; [0]-[31]: slider LEDs right to left BRG, alternating between keys and dividers
|
|
|
|
|
|
; -----------------------------------------------------------------------------
|
|
; Custom IO settings
|
|
; -----------------------------------------------------------------------------
|
|
|
|
[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=
|
|
|
|
[chuniio]
|
|
; To use a custom Chunithm IO DLL enter its path here.
|
|
; Leave empty if you want to use Segatools built-in keyboard 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.
|
|
|
|
[io3]
|
|
; Test button virtual-key code. Default is the F1 key.
|
|
test=0x70
|
|
; Service button virtual-key code. Default is the F2 key.
|
|
service=0x71
|
|
; Keyboard button to increment coin counter. Default is the F3 key.
|
|
coin=0x72
|
|
; Set to 0 for enable separate ir control. Deafult is space key.
|
|
ir=0x20
|
|
|
|
[ir]
|
|
; Uncomment and complete the following sequence of settings to configure a
|
|
; custom ir-cappable controller if you have one.
|
|
;ir6=0x53
|
|
; ... etc ...
|
|
;ir1=0x53
|
|
|
|
[slider]
|
|
; Enable slider emulation. If you have real AC slider, set this to 0.
|
|
; Slider serial port must be COM1.
|
|
;enable=1
|
|
|
|
; Key bindings for each of the 32 touch cells. The default key map, depicted
|
|
; in left-to-right order, is as follows:
|
|
;
|
|
; SSSSDDDDFFFFGGGGHHHHJJJJKKKKLLLL
|
|
;
|
|
; Touch cells are numbered FROM RIGHT TO LEFT! starting from 1. This is in
|
|
; order to match the numbering used in the operator menu and service manual.
|
|
;
|
|
; Uncomment and complete the following sequence of settings to configure a
|
|
; custom high-precision touch strip controller if you have one.
|
|
;cell1=0x53
|
|
;cell2=0x53
|
|
; ... etc ...
|
|
;cell31=0x53
|
|
;cell32=0x53
|