Ready for vrsingd
This commit is contained in:
2
scripts/init.sh
Normal file
2
scripts/init.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
winecfg
|
||||
wine /root/.wine/drive_c/steamcmd/steamcmd.exe +force_install_dir "C:\VRisingServer" +login anonymous +app_update 1829350 validate +quit
|
||||
10
scripts/start.sh
Normal file
10
scripts/start.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
HOST_FILE=/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/ServerHostSettings.json
|
||||
GAME_FILE=/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/ServerGameSettings.json
|
||||
ADMIN_FILE=/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/adminlist.txt
|
||||
BAN_FILE=/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/banlist.txt
|
||||
if [ -f "$HOST_FILE" -a -f "$GAME_FILE" -a -f "$ADMIN_FILE" -a -f "$BAN_FILE"]; then
|
||||
echo "Starting Server"
|
||||
xvfb-run -a wine /root/.wine/drive_c/vrisingserver/VRisingServer.exe
|
||||
else
|
||||
echo "Copy over config files to the settings folder"
|
||||
fi
|
||||
Reference in New Issue
Block a user