From 391b6f77700bc0c44db685619655b810ab0cfba4 Mon Sep 17 00:00:00 2001 From: Tau Date: Wed, 6 Nov 2019 22:02:49 -0500 Subject: [PATCH] Add sample config files and startup scripts --- dist/chuni/segatools.ini | 30 ++++++++++++++ dist/chuni/start.bat | 9 +++++ dist/idz/segatools.ini | 85 ++++++++++++++++++++++++++++++++++++++++ dist/idz/start.bat | 8 ++++ 4 files changed, 132 insertions(+) create mode 100644 dist/chuni/segatools.ini create mode 100644 dist/chuni/start.bat create mode 100644 dist/idz/segatools.ini create mode 100644 dist/idz/start.bat diff --git a/dist/chuni/segatools.ini b/dist/chuni/segatools.ini new file mode 100644 index 0000000..51d78c7 --- /dev/null +++ b/dist/chuni/segatools.ini @@ -0,0 +1,30 @@ +[vfs] +; Insert the path to the game AMFS directory here (contains ICF1 and ICF2) +amfs= +; 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= + +[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 diff --git a/dist/chuni/start.bat b/dist/chuni/start.bat new file mode 100644 index 0000000..7f99eb8 --- /dev/null +++ b/dist/chuni/start.bat @@ -0,0 +1,9 @@ +@echo off + +start /min inject -d -k chunihook.dll aimeReaderHost.exe -p 12 +inject -d -k chunihook.dll chuniApp.exe +taskkill /f /im aimeReaderHost.exe > nul 2>&1 + +echo. +echo Game processes have terminated +pause \ No newline at end of file diff --git a/dist/idz/segatools.ini b/dist/idz/segatools.ini new file mode 100644 index 0000000..5acb230 --- /dev/null +++ b/dist/idz/segatools.ini @@ -0,0 +1,85 @@ +[vfs] +; Insert the path to the game AMFS directory here (contains ICF1 and ICF2) +amfs= +; 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= + +[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 + +[ds] +; Region code on the emulated AMEX board DS EEPROM. +; 1: Japan +; 4: Export (some UI elements in English) +; +; NOTE: Changing this setting causes a factory reset. +region=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. +;subnet=192.168.100.0 + +[gpio] +; Emulated Nu DIP switch for Distribution Server setting. +; +; 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 + +[io3] +; Input API selection for JVS input emulator. +; Set "xinput" to use a gamepad and "dinput" to use a steering wheel. +mode=xinput +; Automatically reset the simulated shifter to Neutral when XInput Start is +; pressed (e.g. when navigating menus between races). +autoNeutral=1 + +[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= +; 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: T500 +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 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 simulated six-speed shifter. +shiftDn=1 +shiftUp=2 +; Button mappings for the positional shifter, if present. +gear1=1 +gear2=2 +gear3=3 +gear4=4 +gear5=5 +gear6=6 diff --git a/dist/idz/start.bat b/dist/idz/start.bat new file mode 100644 index 0000000..b62983d --- /dev/null +++ b/dist/idz/start.bat @@ -0,0 +1,8 @@ +@echo off + +.\inject.exe -k .\idzhook.dll .\InitialD0_DX11_Nu.exe +.\inject.exe -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 + +echo. +echo Game processes have terminated +pause \ No newline at end of file