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