forked from Dniel97/segatools
idz, idac, swdc: switched to [xinput]
config instead of [io]
This commit is contained in:
parent
91f69beae6
commit
49f729c501
@ -95,7 +95,7 @@ $(BUILD_DIR_ZIP)/swdc.zip:
|
|||||||
$(V)mkdir -p $(BUILD_DIR_ZIP)/swdc/DEVICE
|
$(V)mkdir -p $(BUILD_DIR_ZIP)/swdc/DEVICE
|
||||||
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
$(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \
|
||||||
$(BUILD_DIR_64)/swdchook/swdchook.dll \
|
$(BUILD_DIR_64)/swdchook/swdchook.dll \
|
||||||
$(DIST_DIR)/chusan/config_hook.json \
|
$(DIST_DIR)/swdc/config_hook.json \
|
||||||
$(DIST_DIR)/swdc/segatools.ini \
|
$(DIST_DIR)/swdc/segatools.ini \
|
||||||
$(DIST_DIR)/swdc/start.bat \
|
$(DIST_DIR)/swdc/start.bat \
|
||||||
$(BUILD_DIR_ZIP)/swdc
|
$(BUILD_DIR_ZIP)/swdc
|
||||||
|
2
dist/idac/segatools.ini
vendored
2
dist/idac/segatools.ini
vendored
@ -87,6 +87,8 @@ coin=0x33
|
|||||||
; Input API selection for IO4 input emulator.
|
; Input API selection for IO4 input emulator.
|
||||||
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
||||||
mode=xinput
|
mode=xinput
|
||||||
|
|
||||||
|
[xinput]
|
||||||
; Automatically reset the simulated shifter to Neutral when XInput Start is
|
; Automatically reset the simulated shifter to Neutral when XInput Start is
|
||||||
; pressed (e.g. when navigating menus between races).
|
; pressed (e.g. when navigating menus between races).
|
||||||
autoNeutral=1
|
autoNeutral=1
|
||||||
|
14
dist/idz/segatools.ini
vendored
14
dist/idz/segatools.ini
vendored
@ -11,8 +11,10 @@ appdata=
|
|||||||
[aime]
|
[aime]
|
||||||
; Controls emulation of the Aime card reader assembly.
|
; Controls emulation of the Aime card reader assembly.
|
||||||
enable=1
|
enable=1
|
||||||
|
; Necessary for IDZ Version 2+ to work
|
||||||
aimePath=DEVICE\aime.txt
|
aimePath=DEVICE\aime.txt
|
||||||
felicaGen=0
|
felicaGen=0
|
||||||
|
aimeGen=1
|
||||||
|
|
||||||
[dns]
|
[dns]
|
||||||
; Insert the hostname or IP address of the server you wish to use here.
|
; Insert the hostname or IP address of the server you wish to use here.
|
||||||
@ -25,7 +27,7 @@ default=127.0.0.1
|
|||||||
; 4: Export (some UI elements in English)
|
; 4: Export (some UI elements in English)
|
||||||
;
|
;
|
||||||
; NOTE: Changing this setting causes a factory reset.
|
; NOTE: Changing this setting causes a factory reset.
|
||||||
region=1
|
region=4
|
||||||
|
|
||||||
[netenv]
|
[netenv]
|
||||||
; Simulate an ideal LAN environment. This may interfere with head-to-head play.
|
; Simulate an ideal LAN environment. This may interfere with head-to-head play.
|
||||||
@ -33,11 +35,17 @@ region=1
|
|||||||
; setting enabled is recommended.
|
; setting enabled is recommended.
|
||||||
enable=1
|
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).
|
||||||
|
; Needed for in store battle, one needs to set it to 12.
|
||||||
|
;addrSuffix=12
|
||||||
|
|
||||||
[keychip]
|
[keychip]
|
||||||
; The /24 LAN subnet that the emulated keychip will tell the game to expect.
|
; 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
|
; If you disable netenv then you must set this to your LAN's IP subnet, and
|
||||||
; that subnet must start with 192.168.
|
; that subnet must start with 192.168.
|
||||||
subnet=192.168.100.0
|
subnet=192.168.158.0
|
||||||
|
|
||||||
[gpio]
|
[gpio]
|
||||||
; Emulated Nu DIP switch for Distribution Server setting.
|
; Emulated Nu DIP switch for Distribution Server setting.
|
||||||
@ -79,6 +87,8 @@ coin=0x33
|
|||||||
; Input API selection for JVS input emulator.
|
; Input API selection for JVS input emulator.
|
||||||
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
||||||
mode=xinput
|
mode=xinput
|
||||||
|
|
||||||
|
[xinput]
|
||||||
; Automatically reset the simulated shifter to Neutral when XInput Start is
|
; Automatically reset the simulated shifter to Neutral when XInput Start is
|
||||||
; pressed (e.g. when navigating menus between races).
|
; pressed (e.g. when navigating menus between races).
|
||||||
autoNeutral=1
|
autoNeutral=1
|
||||||
|
4
dist/idz/start.bat
vendored
4
dist/idz/start.bat
vendored
@ -3,8 +3,12 @@
|
|||||||
pushd %~dp0
|
pushd %~dp0
|
||||||
|
|
||||||
inject -k idzhook.dll InitialD0_DX11_Nu.exe
|
inject -k idzhook.dll InitialD0_DX11_Nu.exe
|
||||||
|
rem Set dipsw1=0 and uncomment the ServerBox for in store battle?
|
||||||
|
rem inject -k idzhook.dll ServerBoxD8_Nu_x64.exe
|
||||||
inject -d -k idzhook.dll amdaemon.exe -c configDHCP_Final_Common.json configDHCP_Final_JP.json configDHCP_Final_JP_ST1.json configDHCP_Final_JP_ST2.json configDHCP_Final_EX.json configDHCP_Final_EX_ST1.json configDHCP_Final_EX_ST2.json
|
inject -d -k idzhook.dll amdaemon.exe -c configDHCP_Final_Common.json configDHCP_Final_JP.json configDHCP_Final_JP_ST1.json configDHCP_Final_JP_ST2.json configDHCP_Final_EX.json configDHCP_Final_EX_ST1.json configDHCP_Final_EX_ST2.json
|
||||||
|
|
||||||
|
taskkill /im ServerBoxD8_Nu_x64.exe > nul 2>&1
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Game processes have terminated
|
echo Game processes have terminated
|
||||||
pause
|
pause
|
7
dist/swdc/segatools.ini
vendored
7
dist/swdc/segatools.ini
vendored
@ -26,7 +26,8 @@ enable=1
|
|||||||
|
|
||||||
[keychip]
|
[keychip]
|
||||||
; The /24 LAN subnet that the emulated keychip will tell the game to expect.
|
; 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.
|
; You must set this to your LAN's IP subnet, and that subnet must start with 192.168,
|
||||||
|
; in order to find the MAIN cabinet.
|
||||||
subnet=192.168.100.0
|
subnet=192.168.100.0
|
||||||
|
|
||||||
[aimeio]
|
[aimeio]
|
||||||
@ -58,10 +59,12 @@ test=0x31
|
|||||||
service=0x32
|
service=0x32
|
||||||
; Keyboard button to increment coin counter. Default is the 3 key.
|
; Keyboard button to increment coin counter. Default is the 3 key.
|
||||||
coin=0x33
|
coin=0x33
|
||||||
|
|
||||||
; Input API selection for IO4 input emulator.
|
; Input API selection for IO4 input emulator.
|
||||||
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
; Set "xinput" to use a gamepad and "dinput" to use a steering wheel.
|
||||||
|
|
||||||
mode=xinput
|
mode=xinput
|
||||||
|
|
||||||
|
[xinput]
|
||||||
; Use the left thumbstick for steering instead of both on XInput Controllers.
|
; 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.
|
; Not recommended as it will not give you the precision needed for this game.
|
||||||
singleStickSteering=1
|
singleStickSteering=1
|
||||||
|
@ -77,25 +77,25 @@ void idac_xi_config_load(struct idac_xi_config *cfg, const wchar_t *filename)
|
|||||||
assert(filename != NULL);
|
assert(filename != NULL);
|
||||||
|
|
||||||
cfg->single_stick_steering = GetPrivateProfileIntW(
|
cfg->single_stick_steering = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"singleStickSteering",
|
L"singleStickSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->linear_steering = GetPrivateProfileIntW(
|
cfg->linear_steering = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"linearSteering",
|
L"linearSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"leftStickDeadzone",
|
L"leftStickDeadzone",
|
||||||
7849,
|
7849,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"rightStickDeadzone",
|
L"rightStickDeadzone",
|
||||||
8689,
|
8689,
|
||||||
filename);
|
filename);
|
||||||
|
@ -77,25 +77,25 @@ void idz_xi_config_load(struct idz_xi_config *cfg, const wchar_t *filename)
|
|||||||
assert(filename != NULL);
|
assert(filename != NULL);
|
||||||
|
|
||||||
cfg->single_stick_steering = GetPrivateProfileIntW(
|
cfg->single_stick_steering = GetPrivateProfileIntW(
|
||||||
L"io3",
|
L"xinput",
|
||||||
L"singleStickSteering",
|
L"singleStickSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->linear_steering = GetPrivateProfileIntW(
|
cfg->linear_steering = GetPrivateProfileIntW(
|
||||||
L"io3",
|
L"xinput",
|
||||||
L"linearSteering",
|
L"linearSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io3",
|
L"xinput",
|
||||||
L"leftStickDeadzone",
|
L"leftStickDeadzone",
|
||||||
7849,
|
7849,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io3",
|
L"xinput",
|
||||||
L"rightStickDeadzone",
|
L"rightStickDeadzone",
|
||||||
8689,
|
8689,
|
||||||
filename);
|
filename);
|
||||||
|
@ -67,25 +67,25 @@ void swdc_xi_config_load(struct swdc_xi_config *cfg, const wchar_t *filename)
|
|||||||
assert(filename != NULL);
|
assert(filename != NULL);
|
||||||
|
|
||||||
cfg->single_stick_steering = GetPrivateProfileIntW(
|
cfg->single_stick_steering = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"singleStickSteering",
|
L"singleStickSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->linear_steering = GetPrivateProfileIntW(
|
cfg->linear_steering = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"linearSteering",
|
L"linearSteering",
|
||||||
0,
|
0,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
cfg->left_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"leftStickDeadzone",
|
L"leftStickDeadzone",
|
||||||
7849,
|
7849,
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
cfg->right_stick_deadzone = GetPrivateProfileIntW(
|
||||||
L"io4",
|
L"xinput",
|
||||||
L"rightStickDeadzone",
|
L"rightStickDeadzone",
|
||||||
8689,
|
8689,
|
||||||
filename);
|
filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user