segatools/dist/idac/start.bat

51 lines
1.3 KiB
Batchfile
Raw Normal View History

2023-04-23 14:13:51 +00:00
@echo off
pushd %~dp0
2023-07-13 22:41:23 +00:00
REM set the APP_DIR to the Y drive
set APP_DIR=Y:\SDGT
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%\SDGT folder
2023-08-29 18:03:33 +00:00
set AMDAEMON_CFG=config_common.json ^
config_ex.json ^
config_jp.json ^
config_laninstall_client_ex.json ^
config_laninstall_client_jp.json ^
config_laninstall_server_ex.json ^
config_laninstall_server_jp.json ^
config_aime_high_ex.json ^
config_aime_high_jp.json ^
config_aime_normal_ex.json ^
config_aime_normal_jp.json ^
config_seat_1_ex.json ^
config_seat_1_jp.json ^
config_seat_2_ex.json ^
config_seat_2_jp.json ^
config_seat_3_ex.json ^
config_seat_3_jp.json ^
config_seat_4_ex.json ^
config_seat_4_jp.json ^
config_seat_single_ex.json ^
config_seat_single_jp.json ^
config_hook.json
start /min inject -d -k idachook.dll amdaemon.exe -c %AMDAEMON_CFG%
2023-07-13 22:41:23 +00:00
inject -d -k idachook.dll ..\WindowsNoEditor\GameProject.exe -culture=en launch=Cabinet ABSLOG="..\..\..\..\..\Userdata\GameProject.log" -Master -UserDir="..\..\..\Userdata" -NotInstalled -UNATTENDED
2023-06-29 09:24:34 +00:00
taskkill /f /im amdaemon.exe > nul 2>&1
2023-04-23 14:13:51 +00:00
2023-07-13 22:41:23 +00:00
REM unmount the APP_DIR
subst Y: /d > nul 2>&1
2023-04-23 14:13:51 +00:00
echo.
echo Game processes have terminated
pause