From 97234f26d722b18a32051a5b8fb8034b732efe39 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Tue, 15 Aug 2023 21:59:14 +0200 Subject: [PATCH] cm, chusan, mai2, mu3, swdc: added emoney config --- Package.mk | 5 +++++ dist/chusan/config_hook.json | 10 ++++++++++ dist/chusan/start.bat | 2 +- dist/cm/config_hook.json | 6 ++++++ dist/cm/segatools.ini | 4 ++-- dist/cm/start.bat | 2 +- dist/mai2/config_hook.json | 6 ++++++ dist/mai2/start.bat | 2 +- dist/mu3/config_hook.json | 6 ++++++ dist/mu3/start.bat | 2 +- dist/swdc/config_hook.json | 6 ++++++ dist/swdc/start.bat | 2 +- 12 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 dist/chusan/config_hook.json create mode 100644 dist/cm/config_hook.json create mode 100644 dist/mai2/config_hook.json create mode 100644 dist/mu3/config_hook.json create mode 100644 dist/swdc/config_hook.json diff --git a/Package.mk b/Package.mk index f7c85ea..587906f 100644 --- a/Package.mk +++ b/Package.mk @@ -94,6 +94,7 @@ $(BUILD_DIR_ZIP)/swdc.zip: $(V)mkdir -p $(BUILD_DIR_ZIP)/swdc/DEVICE $(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \ $(BUILD_DIR_64)/swdchook/swdchook.dll \ + $(DIST_DIR)/chusan/config_hook.json \ $(DIST_DIR)/swdc/segatools.ini \ $(DIST_DIR)/swdc/start.bat \ $(BUILD_DIR_ZIP)/swdc @@ -123,6 +124,7 @@ $(BUILD_DIR_ZIP)/chusan.zip: $(V)mkdir -p $(BUILD_DIR_ZIP)/chusan $(V)mkdir -p $(BUILD_DIR_ZIP)/chusan/DEVICE $(V)cp $(DIST_DIR)/chusan/segatools.ini \ + $(DIST_DIR)/chusan/config_hook.json \ $(DIST_DIR)/chusan/start.bat \ $(BUILD_DIR_ZIP)/chusan $(V)cp $(BUILD_DIR_32)/chusanhook/chusanhook.dll \ @@ -145,6 +147,7 @@ $(BUILD_DIR_ZIP)/mu3.zip: $(V)mkdir -p $(BUILD_DIR_ZIP)/mu3/DEVICE $(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \ $(BUILD_DIR_64)/mu3hook/mu3hook.dll \ + $(DIST_DIR)/mu3/config_hook.json \ $(DIST_DIR)/mu3/segatools.ini \ $(DIST_DIR)/mu3/start.bat \ $(BUILD_DIR_ZIP)/mu3 @@ -160,6 +163,7 @@ $(BUILD_DIR_ZIP)/mai2.zip: $(V)mkdir -p $(BUILD_DIR_ZIP)/mai2/DEVICE $(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \ $(BUILD_DIR_64)/mai2hook/mai2hook.dll \ + $(DIST_DIR)/mai2/config_hook.json \ $(DIST_DIR)/mai2/segatools.ini \ $(DIST_DIR)/mai2/start.bat \ $(BUILD_DIR_ZIP)/mai2 @@ -175,6 +179,7 @@ $(BUILD_DIR_ZIP)/cm.zip: $(V)mkdir -p $(BUILD_DIR_ZIP)/cm/DEVICE $(V)cp $(BUILD_DIR_64)/subprojects/capnhook/inject/inject.exe \ $(BUILD_DIR_64)/cmhook/cmhook.dll \ + $(DIST_DIR)/cm/config_hook.json \ $(DIST_DIR)/cm/segatools.ini \ $(DIST_DIR)/cm/start.bat \ $(BUILD_DIR_ZIP)/cm diff --git a/dist/chusan/config_hook.json b/dist/chusan/config_hook.json new file mode 100644 index 0000000..2fb68b1 --- /dev/null +++ b/dist/chusan/config_hook.json @@ -0,0 +1,10 @@ +{ + "allnet_auth": + { + "type": "1.0" + }, + "emoney" : + { + "enable" : false + } +} diff --git a/dist/chusan/start.bat b/dist/chusan/start.bat index 9a91cd2..4125873 100644 --- a/dist/chusan/start.bat +++ b/dist/chusan/start.bat @@ -2,7 +2,7 @@ pushd %~dp0 -start /min inject_x64 -d -k chusanhook_x64.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json +start /min inject_x64 -d -k chusanhook_x64.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_cvt.json config_sp.json config_hook.json inject_x86 -d -k chusanhook_x86.dll chusanApp.exe taskkill /f /im amdaemon.exe > nul 2>&1 diff --git a/dist/cm/config_hook.json b/dist/cm/config_hook.json new file mode 100644 index 0000000..b73cf5c --- /dev/null +++ b/dist/cm/config_hook.json @@ -0,0 +1,6 @@ +{ + "emoney" : + { + "enable" : false + } +} diff --git a/dist/cm/segatools.ini b/dist/cm/segatools.ini index 0097e7e..31e9d96 100644 --- a/dist/cm/segatools.ini +++ b/dist/cm/segatools.ini @@ -36,8 +36,8 @@ subnet=192.168.100.0 enable=1 ; LAN Install: 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 +; this to 0 on exactly one machine and set this to 1 on all others. +dipsw1=0 [touch] ; Enable/Disable WinTouch emulation diff --git a/dist/cm/start.bat b/dist/cm/start.bat index d4e6b66..3c6b6f5 100644 --- a/dist/cm/start.bat +++ b/dist/cm/start.bat @@ -2,7 +2,7 @@ pushd %~dp0 -start /min inject -d -k cmhook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json +start /min inject -d -k cmhook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_hook.json inject -d -k cmhook.dll CardMaker.exe -screen-fullscreen 0 -popupwindow -screen-width 1080 -screen-height 1920 taskkill /f /im amdaemon.exe > nul 2>&1 diff --git a/dist/mai2/config_hook.json b/dist/mai2/config_hook.json new file mode 100644 index 0000000..b73cf5c --- /dev/null +++ b/dist/mai2/config_hook.json @@ -0,0 +1,6 @@ +{ + "emoney" : + { + "enable" : false + } +} diff --git a/dist/mai2/start.bat b/dist/mai2/start.bat index a89a1d5..889e030 100644 --- a/dist/mai2/start.bat +++ b/dist/mai2/start.bat @@ -2,7 +2,7 @@ pushd %~dp0 -start /min inject -d -k mai2hook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json +start /min inject -d -k mai2hook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_hook.json inject -d -k mai2hook.dll sinmai -screen-fullscreen 0 taskkill /f /im amdaemon.exe > nul 2>&1 diff --git a/dist/mu3/config_hook.json b/dist/mu3/config_hook.json new file mode 100644 index 0000000..b73cf5c --- /dev/null +++ b/dist/mu3/config_hook.json @@ -0,0 +1,6 @@ +{ + "emoney" : + { + "enable" : false + } +} diff --git a/dist/mu3/start.bat b/dist/mu3/start.bat index 8058daf..60141fc 100644 --- a/dist/mu3/start.bat +++ b/dist/mu3/start.bat @@ -2,7 +2,7 @@ pushd %~dp0 -start /min inject -d -k mu3hook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json +start /min inject -d -k mu3hook.dll amdaemon.exe -f -c config_common.json config_server.json config_client.json config_hook.json inject -d -k mu3hook.dll mu3 -screen-fullscreen 0 -popupwindow -screen-width 1080 -screen-height 1920 taskkill /f /im amdaemon.exe > nul 2>&1 diff --git a/dist/swdc/config_hook.json b/dist/swdc/config_hook.json new file mode 100644 index 0000000..b73cf5c --- /dev/null +++ b/dist/swdc/config_hook.json @@ -0,0 +1,6 @@ +{ + "emoney" : + { + "enable" : false + } +} diff --git a/dist/swdc/start.bat b/dist/swdc/start.bat index ae33ae9..7121754 100644 --- a/dist/swdc/start.bat +++ b/dist/swdc/start.bat @@ -17,7 +17,7 @@ if not exist "%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 +start /min inject -d -k swdchook.dll amdaemon.exe -f -c config.json config_LanServer.json config_MiniCabinet.json config_hook.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