How To Guide: Linux Warbandserver powered with wine

正在查看此主题的用户

Jorn

Regular
Hello!
Please help me to create and correct this guide for setting up a gameserver with wine!

In this case I used Debian (lenny):

Open a terminal (putty)
log in as root
/etc/apt/sources.list #edit repository file with a text editor (WinSCP)
Add this line for Lenny: deb http://www.lamaresh.net/apt lenny main
Save and close sources.list
wget -O - http://www.lamaresh.net/apt/key.gpg | apt-key add - #to add gpg key
apt-get update #to update package list
apt-get install wine #to install latest wine version
apt-get -f install #to solve missing dependencies
change to root/.wine/drive_c/
http://download.taleworlds.com/mb_warband_dedicated_1113.zip
extract using unzip
Edit/change those config files (example: Sample_Battle.txt)
nohup wineconsole --backend=curses mb_warband_dedicated.exe sample.txt > /dev/null & echo $! >warband.pid  #starts your server


Update:
On Ubuntu 9.04 It's almost the same maybe a bit easier.
start perimeter changed
 
Just wondering: Do you need to be root to run the server? I really, really recomend you don't login is as root if you don't have to.

Also, why nohup? I figure it wouldn't matter if it was/wasn't run as a "daemon" or otherwise.

Good guide otherwise though, should help some people out.
 
Charonte 说:
Just wondering: Do you need to be root to run the server? I really, really recomend you don't login is as root if you don't have to.

Also, why nohup? I figure it wouldn't matter if it was/wasn't run as a "daemon" or otherwise.

Good guide otherwise though, should help some people out.

I'm useing nohup since the server shuts down, when exiting putty!
 
后退
顶部 底部