From f0dc51d01e1e2e860f3e9c3483f851918c0b4bd8 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Tue, 29 Aug 2023 20:03:33 +0200 Subject: [PATCH] idac: added config_hook.json --- Package.mk | 1 + dist/idac/config_hook.json | 18 ++++++++++++++++++ dist/idac/start.bat | 26 +++++++++++++++++++++++++- 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 dist/idac/config_hook.json diff --git a/Package.mk b/Package.mk index 587906f..5dc90c9 100644 --- a/Package.mk +++ b/Package.mk @@ -80,6 +80,7 @@ $(BUILD_DIR_ZIP)/idac.zip: $(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \ $(BUILD_DIR_64)/idachook/idachook.dll \ $(DIST_DIR)/idac/segatools.ini \ + $(DIST_DIR)/idac/config_hook.json \ $(DIST_DIR)/idac/start.bat \ $(BUILD_DIR_ZIP)/idac $(V)cp pki/billing.pub \ diff --git a/dist/idac/config_hook.json b/dist/idac/config_hook.json new file mode 100644 index 0000000..12fae62 --- /dev/null +++ b/dist/idac/config_hook.json @@ -0,0 +1,18 @@ +{ + "aime" : + { + "firmware_path" : + [ + ".\\aime_firm\\TN32MSEC003S_V12.hex", + ".\\aime_firm\\update_15396_6728_94.bin" + ], + "high_baudrate" : true + }, + "network" : + { + "property" : + { + "dhcp" : true + } + } +} diff --git a/dist/idac/start.bat b/dist/idac/start.bat index d87a3ca..5706b03 100644 --- a/dist/idac/start.bat +++ b/dist/idac/start.bat @@ -16,7 +16,31 @@ if not exist "%APP_DIR%" ( echo Mounted the Y:\ drive to the %TEMP%\SDGT folder -start /min inject -d -k idachook.dll amdaemon.exe -c config_aime_high_ex.json config_aime_high_jp.json config_aime_normal_ex.json config_aime_normal_jp.json 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_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 +set AMDAEMON_CFG=config_common.json ^ +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% inject -d -k idachook.dll ..\WindowsNoEditor\GameProject.exe -culture=en launch=Cabinet ABSLOG="..\..\..\..\..\Userdata\GameProject.log" -Master -UserDir="..\..\..\Userdata" -NotInstalled -UNATTENDED taskkill /f /im amdaemon.exe > nul 2>&1