From a6e5a5c5706f8dad197f72a4c72c0a9e94fadd11 Mon Sep 17 00:00:00 2001 From: Dcrclub Date: Mon, 18 Nov 2024 00:49:43 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=B7=BB=E5=8A=A0workBench=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BootWorkBench/workbench.bat | 15 +++++++++++++++ README.md | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 BootWorkBench/workbench.bat diff --git a/BootWorkBench/workbench.bat b/BootWorkBench/workbench.bat new file mode 100644 index 0000000..f2b6893 --- /dev/null +++ b/BootWorkBench/workbench.bat @@ -0,0 +1,15 @@ +@echo off +@REM 无需理会 +set "modpath=%1" +@REM 修改这里的路径, 会将这里的路径映射到P盘 +set "PdirPath=E:\WorkSpace\DayZData" + +if exist P:\ ( + echo Drive P: is already mapped. +) else ( + subst P: "%PdirPath%" + echo Drive P: mapped to %PdirPath% +) + +@rem这里需要设置workbenchApp所在目录 +start /d "E:\SteamLibrary\steamapps\common\DayZ Tools\Bin\Workbench" workbenchApp.exe "-mod=%modpath%" \ No newline at end of file diff --git a/README.md b/README.md index 4586877..dd1e572 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,5 @@ | ---- | ---- | | DayZServerStart | DayZ开服脚本 | | PlayerDataReturnGear | 单玩家数据回档 | -| DayZBoot | 玩家端 启动游戏 直连脚本 | \ No newline at end of file +| DayZBoot | 玩家端 启动游戏 直连脚本 | +| BootWorkBench | 自动挂载P盘,并启动WorkBench | \ No newline at end of file