Skip to content

Instantly share code, notes, and snippets.

@antoneliasson
Created June 7, 2016 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoneliasson/16becd3eb5dbeec4ce70a119b7f0ba1d to your computer and use it in GitHub Desktop.
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
#!/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