forked from TeamTofuShop/segatools
swdc: first segatools added
This commit is contained in:
99
dist/swdc/segatools.ini
vendored
Normal file
99
dist/swdc/segatools.ini
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
[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
|
||||
felicaGen=0
|
||||
|
||||
[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.
|
||||
; You must set this to your LAN's IP subnet, and that subnet must start with 192.168.
|
||||
subnet=192.168.100.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=
|
||||
|
||||
[swdcio]
|
||||
; To use a custom SEGA World Drivers Championship DLL enter its path here.
|
||||
; Leave empty if you want to use Segatools built-in gamepad/wheel input.
|
||||
path=
|
||||
|
||||
[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
|
||||
; 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
|
||||
; 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 97.
|
||||
;
|
||||
; 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=97
|
||||
|
||||
[dinput]
|
||||
; Name of the DirectInput wheel to use (or any text that occurs in its name)
|
||||
; Example: TMX
|
||||
;
|
||||
; If this is left blank then the first DirectInput device will be used.
|
||||
deviceName=
|
||||
; 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 Thrustmaster TMX.
|
||||
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=3
|
||||
viewChg=10
|
||||
; Button mappings for the steering wheel paddles. Note shiftDn is the
|
||||
; left paddle and shiftUp is the right paddle.
|
||||
shiftDn=1
|
||||
shiftUp=2
|
||||
; Button mappings for the steering wheel buttons.
|
||||
wheelGreen=4
|
||||
wheelRed=5
|
||||
wheelBlue=6
|
||||
wheelYellow=7
|
||||
; Invert the accelerator and or brake axis
|
||||
; (Needed when using DirectInput for the Dualshock 4 for example)
|
||||
reverseAccelAxis=0
|
||||
reverseBrakeAxis=0
|
29
dist/swdc/start.bat
vendored
Normal file
29
dist/swdc/start.bat
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
REM set the APP_DIR to the Y drive
|
||||
set APP_DIR=Y:\SWDC
|
||||
|
||||
REM create the APP_DIR if it doesn't exist and redirect it to the TEMP folder
|
||||
if not exist "%APP_DIR%" (
|
||||
subst Y: %TEMP%
|
||||
REM timeout /t 1
|
||||
if not exist "%APP_DIR%" (
|
||||
mkdir "%APP_DIR%"
|
||||
)
|
||||
)
|
||||
|
||||
echo Mounted the Y:\ drive to the %TEMP%\SWDC folder
|
||||
|
||||
REM start /min inject -d -k swdchook.dll amdaemon.exe -f -c config.json config_LanClient.json config_MiniCabinet.json
|
||||
start /min inject -d -k swdchook.dll amdaemon.exe -f -c config.json config_LanServer.json config_MiniCabinet.json
|
||||
inject -d -k swdchook.dll ..\Todoroki\Binaries\Win64\Todoroki-Win64-Shipping.exe -launch=MiniCabinet -ABSLOG="..\..\..\..\..\Userdata\GameProject.log" -UserDir="..\..\..\Userdata" -NotInstalled -UNATTENDED
|
||||
taskkill /f /im amdaemon.exe > nul 2>&1
|
||||
|
||||
REM unmount the APP_DIR
|
||||
subst Y: /d > nul 2>&1
|
||||
|
||||
echo.
|
||||
echo Game processes have terminated
|
||||
pause
|
Reference in New Issue
Block a user