Created
June 7, 2016 17:35
-
-
Save antoneliasson/16becd3eb5dbeec4ce70a119b7f0ba1d to your computer and use it in GitHub Desktop.
Commands to run as the unprivileged user to set up my KF2 server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run this as the unprivilegied user in the container. Press "next, next, | |
# finish" and "OK" in the windows as applicable. | |
set -e | |
# Download and unpack SteamCMD | |
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | |
unzip steamcmd.zip | |
mkdir .wine/drive_c/steamcmd | |
mv steamcmd.exe .wine/drive_c/steamcmd/ | |
# Install and/or update KF2 dedicated server | |
wine "C:/steamcmd/steamcmd.exe" +login anonymous +force_install_dir kf2server +app_update 232130 +quit | |
# Start the server manually for testing. Exit with Ctrl+C twice. | |
wine "C:/steamcmd/kf2server/Binaries/Win64/KFServer.exe" kf-burningparis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment