forked from TeamTofuShop/segatools
chusan: added chusanhook, led board fix, config added
credits go to @domeori https://dev.s-ul.net/domeori/segatools/-/tree/mr-imports
This commit is contained in:
112
dist/chusan/segatools.ini
vendored
Normal file
112
dist/chusan/segatools.ini
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
[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=
|
||||
|
||||
[aime]
|
||||
; Enable aime reader emulation.
|
||||
enable=1
|
||||
; Enable high baud rate.
|
||||
;highbaud=1
|
||||
|
||||
[aimeio]
|
||||
; x64 aimeio dll path.
|
||||
; Uncomment this if you have custom aime implementation.
|
||||
;path64=
|
||||
|
||||
[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
|
||||
|
||||
[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.100.0
|
||||
|
||||
[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
|
||||
|
||||
; -----------------------------------------------------------------------------
|
||||
; 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 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
|
||||
; Set to 0 for enable separate ir control. Deafult is space key.
|
||||
ir=0x20
|
||||
|
||||
[io4]
|
||||
enable=1
|
||||
|
||||
[ledstrip]
|
||||
; Set to 1 if running game in CVT mode.
|
||||
cvt_port=0
|
||||
|
||||
[chuniio]
|
||||
; Uncomment this if you have custom chuniio implementation.
|
||||
; x86 chuniio to path32, x64 to path64. Both are necessary.
|
||||
;path32=
|
||||
;path64=
|
||||
|
||||
[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
|
||||
|
||||
; Enable slider LED serial output. This follows OpeNITHM Serial LED Protocol.
|
||||
; eg. COM5
|
||||
;ledport=
|
||||
|
||||
[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
|
11
dist/chusan/start.bat
vendored
Normal file
11
dist/chusan/start.bat
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
start /min inject_x64.exe -d -k chusanhook_x64.dll amdaemon.exe -f -c config_common.json config_server.json config_sp.json
|
||||
inject_x86.exe -d -k chusanhook_x86.dll chusanApp.exe
|
||||
taskkill /f /im amdaemon.exe > nul 2>&1
|
||||
|
||||
echo.
|
||||
echo Game processes have terminated
|
||||
pause
|
Reference in New Issue
Block a user