]> git.xonotic.org Git - xonotic/xonotic.git/blob - server/server_windows.bat
"all": new command ./all update -N (only gets NEW repos), and let ./all each continue...
[xonotic/xonotic.git] / server / server_windows.bat
1 @echo off\r
2 \r
3 setlocal\r
4 set executable=xonotic -dedicated\r
5 \r
6 %~d0\r
7 cd "%~p0"\r
8 \r
9 if exist %executable% goto good\r
10 if not exist ..\%executable% goto bad\r
11 if exist ..\data\server.cfg goto halfgood\r
12 goto bad\r
13 \r
14 :bad\r
15 echo This script is not properly set up yet.\r
16 echo Please refer to the instructions in readme.txt.\r
17 echo In short:\r
18 echo - copy server.cfg to the data directory and adjust its settings\r
19 echo - move this file to the main directory of your Xonotic installation\r
20 pause\r
21 exit\r
22 \r
23 :halfgood\r
24 cd ..\r
25 \r
26 :good\r
27 .\%executable% +serverconfig server.cfg %*\r