Naposledy aktivní 1706760983

Black Desert Simple Field Starter.cmd Raw
1@echo off
2
3:menu
4cls
5echo ################################
6echo Menu:
7echo ################################
8echo --------------------------------
9echo 1. Start CH1 - Calpheon
10echo 2. Start CH2 - Serendia
11echo 3. Close
12echo --------------------------------
13echo ################################
14set /p choice=Select an option (1-3):
15
16if "%choice%"=="1" (
17 call :start "CH1" "FieldServer CH1 - Calpheon"
18) else if "%choice%"=="2" (
19 call :start "CH2" "FieldServer CH2 - Serendia"
20) else if "%choice%"=="3" (
21 exit
22) else (
23 echo Invalid option. Try again.
24 timeout /t 3 >nul
25 goto :menu
26)
27
28exit /b
29
30:start
31set "server=%1"
32set "title=%2"
33
34echo Starting %server%...
35timeout /t 3 >nul
36
37@echo off
38title %title%
39cd GameServerData
40if exist DataSheet_Server.xlsm (
41 echo Deleting existing DataSheet_Server.xlsm...
42 del DataSheet_Server.xlsm /f
43) else (
44 echo DataSheet_Server.xlsm doesn't exist. Going to the next step...
45)
46timeout /t 3 >nul
47cd "Custom\%server%" && xcopy DataSheet_Server.xlsm "..\..\" /y
48cd "..\..\..\"
49cd bin64
50echo Starting %title%...
51timeout /t 3 >nul
52start CrimsonDesertServer_ReleaseOp_x64_Corsair_Ida NotDaemon
53echo %title% has been started, do not start the next channel until the first one is fully loaded.
54timeout /t 20 >nul
55goto :menu