Guide revision 2
This guide is for Debian based distributions, like Ubuntu for example. This guide has been created using Ubuntu Server 64-bit 12.04 LTS version.
1. install wine and screen
- Code: Select all
sudo apt-get install wine
sudo apt-get install screen
2. download LINUX steamcmd from https://developer.valvesoftware.com/wiki/SteamCMD
- Code: Select all
wget http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz
tar xvfz steamcmd.tar.gz
3. run steamcmd:
- Code: Select all
chmod ug+x steam.sh
STEAMEXE=steamcmd ./steam.sh
IF YOU GET DOWNLOAD ERROR
- Code: Select all
sudo apt-get install libnss-mdns
sudo apt-get install ia32-libs
sudo apt-get remove lib32nss-mdns
4. You are in steamcmd prompt NOTE: you should have own steam account for steamcmd tool so you don't risk losing your main steam account login information
- Code: Select all
login steamuser steampassword
force_install_dir ./chivalryserver/
app_update 220070
quit
5. Create start up script
- Code: Select all
nano start.sh
cd chivalryserver/Binaries/Win32
wine UDK.exe AOCFFA-Arena3_P?steamsockets -dedicated=true -seekfreeloadingserver -Port=7777 -QueryPort=7778 -maxplayers=32
CTRL + O to save the file, CTRL + X to exit
6. Create script to start up the server on background screen
- Code: Select all
nano startWithScreen.sh
screen -S chivalry -d -m ./start.sh
CTRL + O to save the file, CTRL + X to exit
For unknown reason the server needs pretty new DirectX audio file: X3DAudio1_7.dll
7. Copy it from your windows/system32 folder or download http://kaahane.viuhka.fi/data/X3DAudio1_7.dll
put it in chivalryserver/Binaries/Win32/ folder
- Code: Select all
wget http://kaahane.viuhka.fi/data/X3DAudio1_7.dll
mv X3DAudio1_7.dll chivalryserver/Binaries/Win32/
8. Set execute / read write permissions to files for user and group
- Code: Select all
sudo chmod ug+x start*
sudo chmod ug+x chivalryserver/Binaries/Win32/UDK.exe
sudo chmod ug+rw * -R
9. Start up server
- Code: Select all
./startWithScreen.sh
10. View all your screens
- Code: Select all
screen -ls
11. Connect to screen to shut down server
- Code: Select all
screen -r chivalry
CTRL + C
screen should get destroyed when chivalry server shuts down
12. Optional: You can observe your processor and memory usages by using htop command
- Code: Select all
sudo apt-get install htop
htop
Example:
When it launches and you observe the screen.. you get mysterous messages... but it WORKS
IF YOU GET ERROR: cant-find-gnome-keyring-pkcs11-so then follow instuctions from the link
http://askubuntu.com/questions/127848/wine-cant-find-gnome-keyring-pkcs11-so
HOW TO UPDATE?
- Stop your server by doing steps 10. and 11.
- Do the steps 3. and 4. to update server files
- Do the step 9. to start up your server again
Please report success / fail stories here so we can work up this guide.
*edit* thanks for the feedback!



