Guide to hosting Zandronum on Ubuntu for dummies from command line
Posted: Thu Aug 09, 2012 10:43 pm
Hello people,
I noticed theres not a more in dept guide to hosting Zandronum on Ubuntu via command line so I figured I'd share my wealth of knowledge with you.
- First off download Zandronum.
- Extract.
- Make sure you have your iwads in the folder, as well as any other wads you want to run.
- Create an ini file to keep server settings. (check http://zandronum.com/forum/showthread.php?tid=807 I posted an example there.)
- Then you want to start off by invoking the zandronum-server program. (for noobs its ./ ) Then after that use the -hosts flag, followed by a "+" and game mode, skill number, port number, and then "-"iwad. After that add any addition pwads with the "-"file command. After you load up all your pwads, you want to make sure you write a ini file that contains all server settings. That gets executed with the +exec command. Its in that exact order as well. I know this is confusing, so here's an example.
That only runs the server until the terminal is exited or closed somehow. To run the server as a backgrounded service we need to use the nohup command. This command outputs all server logs into a single file, which is useful if you host a server cluster and want at all the logs at once. So allow me to give you another example.
start with the nohup command first. Nohup writes all output to a logfile like I said above. Then after that is the process priorty, which is invoked with the "nice" command. Then at the end, you see that "&" symbol, thats important for backgrounding. Make sure you add a space after the ini file.
You may notice if your spellings off on the wads it may not load correctly or be able to find the wad.
I noticed theres not a more in dept guide to hosting Zandronum on Ubuntu via command line so I figured I'd share my wealth of knowledge with you.
- First off download Zandronum.
- Extract.
- Make sure you have your iwads in the folder, as well as any other wads you want to run.
- Create an ini file to keep server settings. (check http://zandronum.com/forum/showthread.php?tid=807 I posted an example there.)
- Then you want to start off by invoking the zandronum-server program. (for noobs its ./ ) Then after that use the -hosts flag, followed by a "+" and game mode, skill number, port number, and then "-"iwad. After that add any addition pwads with the "-"file command. After you load up all your pwads, you want to make sure you write a ini file that contains all server settings. That gets executed with the +exec command. Its in that exact order as well. I know this is confusing, so here's an example.
Code: Select all
./zandronum-server -host +cooperative 3 -port 10677 -iwad DOOM2.wad -file PsychoPhobia.pk3 +exec psy.ini
Code: Select all
nohup nice -2 ./zandronum-server -host +cooperative 3 -port 10675 -iwad DOOM2.wad -file skulltag_actors.pk3 skulltag_data.pk3 sst_v1.4rc3.pk3 +exec sst.ini &
You may notice if your spellings off on the wads it may not load correctly or be able to find the wad.