-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall_AfterTheFall_bhaptics.bat
More file actions
18 lines (16 loc) · 1.27 KB
/
Copy pathInstall_AfterTheFall_bhaptics.bat
File metadata and controls
18 lines (16 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
:: Download and unzip BepInEx 6.*
if exist "BepInEx\core\BepInEx.Core.dll" (
rem BepInEx already installed
) else (
powershell -Command "Invoke-WebRequest https://github.com/BepInEx/BepInEx/releases/download/v6.0.0-pre.1/BepInEx_UnityIL2CPP_x64_6.0.0-pre.1.zip -OutFile temp_download.zip"
powershell Expand-Archive temp_download.zip -DestinationPath ./
del temp_download.zip
)
:: Get basic After The Fall modding tool
powershell -Command "Invoke-WebRequest https://github.com/floh-bhaptics/AfterTheFall_modding/releases/latest/download/AfterTheFall_modding.exe -OutFile AfterTheFall_modding.exe"
:: If plugins folder doesn't exist, create it
if not exist "BepInEx\plugins" mkdir BepInEx\plugins
:: Get bhaptics mod and dependencies
powershell -Command "Invoke-WebRequest https://github.com/floh-bhaptics/AfterTheFall_bhaptics/releases/latest/download/AfterTheFall_bhaptics.dll -OutFile BepInEx\plugins\AfterTheFall_bhaptics.dll"
powershell -Command "Invoke-WebRequest https://github.com/floh-bhaptics/AfterTheFall_bhaptics/releases/latest/download/Bhaptics.Tact.dll -OutFile BepInEx\plugins\Bhaptics.Tact.dll"
powershell -Command "Invoke-WebRequest https://github.com/floh-bhaptics/AfterTheFall_bhaptics/releases/latest/download/bhaptics_library.dll -OutFile BepInEx\plugins\bhaptics_library.dll"