mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-18 21:05:46 +00:00
2ec7592650
replace nex with xonotic in a lot of places
28 lines
558 B
Batchfile
28 lines
558 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
set executable=xonotic -dedicated
|
|
|
|
%~d0
|
|
cd "%~p0"
|
|
|
|
if exist %executable% goto good
|
|
if not exist ..\%executable% goto bad
|
|
if exist ..\data\server.cfg goto halfgood
|
|
goto bad
|
|
|
|
:bad
|
|
echo This script is not properly set up yet.
|
|
echo Please refer to the instructions in readme.txt.
|
|
echo In short:
|
|
echo - copy server.cfg to the data directory and adjust its settings
|
|
echo - move this file to the main directory of your Xonotic installation
|
|
pause
|
|
exit
|
|
|
|
:halfgood
|
|
cd ..
|
|
|
|
:good
|
|
.\%executable% +serverconfig server.cfg %*
|