[School] Installing tts-mod on a linux server
2 posters
Page 1 of 1
[School] Installing tts-mod on a linux server
As some of you know i had a lot of problems getting the tts-mod aka spawnshield on the element dm server. With the help of disco i got it to work & i'll explain here how i did it. Before we start off note that every new line in the code i'll post is a new command so you have to wait for the one before that to finish.
Download tts-mod here
Step 1: creating a directory where you want to put your server
To start with you need a directory where you'll run your server from. To do you have to open up your terminal and type:
Step 2: getting Nexuiz and fteqcc
Ok so before we can actually do this step you need to go to the directory you created in step 1. To do this you have to type in your terminal:
Step 3: Adding the tts-mod
Now here is where it gets a little blurred for me, i dont know how to really explain what we are going to do next because i dont understand it myself but this is what you do:
Step 4: an other blurry part... i'm guessing making Nexuiz?
An other blurry part?! Yes i'm sorry i'm not a linux expert at all, if you dont believe that ask disco he will gladly agree with me :DAnyway this is what you type:
Step 5: Making darkplaces
If you got to this step great! We're almost there! To build darkplaces you do:
Step 6: Deleting some stuff & some weird blurry shit
Now you've done all that you got a lot of stuff you dont really need so we'll be deleting that now, do:
Step 7: Making the actual server
This part is very important because without it you wont have a server (LOL)
What you now can do is put maps and your config in the data folder. The path of this folder should be: directory/data.
OPTIONAL Step 8: Making rcon2irc
This step isn't required but i thought i throw it in there. rcon2irc is pretty much a connection from your server to irc. To create this you type:
Step 9: running the server
The final step! Now to run the server you have 2 options:
- Option 1: Type in terminal:
- Option 2: First do cd directory. Then make a new file and save it as runserver.sh and write in it:
If you have done step 8 you also have 2 options to run rcon2irc:
- Option 1: Type in terminal:
- Option 2: First do cd directory. Then make a new file and save it as runirc.sh and write in it:
If you have used the second option in this step you aren't running the server yet. What you have to do then is just type in 1 terminal:
Download tts-mod here
Step 1: creating a directory where you want to put your server
To start with you need a directory where you'll run your server from. To do you have to open up your terminal and type:
- Code:
mkdir -p directory
Step 2: getting Nexuiz and fteqcc
Ok so before we can actually do this step you need to go to the directory you created in step 1. To do this you have to type in your terminal:
- Code:
cd directory
- Code:
wget http://ftp.de.debian.org/debian/pool/main/n/nexuiz-data/nexuiz-data_2.5.2.orig.tar.gz
wget http://ftp.de.debian.org/debian/pool/main/f/fteqcc/fteqcc_3343+svn3400.orig.tar.gz
- Code:
tar -zxvf nexuiz-data_2.5.2.orig.tar.gz
tar -zxvf fteqcc_3343+svn3400.orig.tar.gz
Step 3: Adding the tts-mod
Now here is where it gets a little blurred for me, i dont know how to really explain what we are going to do next because i dont understand it myself but this is what you do:
- Code:
cd fteqcc-3343+svn3400
make
ln fteqcc.bin ../fteqcc
cd ..
- Code:
cd directory/nexuiz-data-2.5.2
patch -p0 < tts_mod_lite_252.diff
- Code:
cd /home/element/games/nexuiz/nexuiz-data-2.5.2
patch -p0 < tts_mod_lite_252.diff
Step 4: an other blurry part... i'm guessing making Nexuiz?
An other blurry part?! Yes i'm sorry i'm not a linux expert at all, if you dont believe that ask disco he will gladly agree with me :DAnyway this is what you type:
- Code:
export PATH="directory:$PATH"
make -C data pk3here
- Code:
export PATH="/home/element/games/nexuiz:$PATH"
make -C data pk3here
Step 5: Making darkplaces
If you got to this step great! We're almost there! To build darkplaces you do:
- Code:
cd directory
wget http://ftp.de.debian.org/debian/pool/main/n/nexuiz/nexuiz_2.5.2.orig.tar.gz
tar -zxvf nexuiz_2.5.2.orig.tar.gz
cd nexuiz-2.5.2
make sv-nexuiz
- Code:
cd /home/element/games/nexuiz
wget http://ftp.de.debian.org/debian/pool/main/n/nexuiz/nexuiz_2.5.2.orig.tar.gz
tar -zxvf nexuiz_2.5.2.orig.tar.gz
cd nexuiz-2.5.2
make sv-nexuiz
Step 6: Deleting some stuff & some weird blurry shit
Now you've done all that you got a lot of stuff you dont really need so we'll be deleting that now, do:
- Code:
ln nexuiz-dedicated ../nexuiz-dedicated
cd ..
rm -rf fteqcc-3343+svn3400 fteqcc_3343+svn3400.orig.tar.gz
rm -rf nexuiz-2.5.2 nexuiz_2.5.2.orig.tar.gz
unlink nexuiz-data_2.5.2.orig.tar.gz
Step 7: Making the actual server
This part is very important because without it you wont have a server (LOL)
- Code:
mkdir data
cd directory/data-2.5.2
ls -l data*.pk3
- Code:
ln namefromabove ../data/namefromabove
What you now can do is put maps and your config in the data folder. The path of this folder should be: directory/data.
OPTIONAL Step 8: Making rcon2irc
This step isn't required but i thought i throw it in there. rcon2irc is pretty much a connection from your server to irc. To create this you type:
- Code:
cd directory
cp -a nexuiz-data-2.5.2/server/rcon2irc .
Step 9: running the server
The final step! Now to run the server you have 2 options:
- Option 1: Type in terminal:
- Code:
cd directory
./nexuiz-dedicated -nexuiz -basedir /home/element/games/nexuiz +serverconfig server.cfg
- Option 2: First do cd directory. Then make a new file and save it as runserver.sh and write in it:
- Code:
#!/bin/bash
cd directory
./nexuiz-dedicated -nexuiz -basedir /home/element/games/nexuiz +serverconfig server.cfg
If you have done step 8 you also have 2 options to run rcon2irc:
- Option 1: Type in terminal:
- Code:
cd directory/rcon2irc
perl rcon2irc.pl rcon2irc.conf
- Option 2: First do cd directory. Then make a new file and save it as runirc.sh and write in it:
- Code:
#!/bin/bash
cd directory/rcon2irc
perl rcon2irc.pl rcon2irc.conf
If you have used the second option in this step you aren't running the server yet. What you have to do then is just type in 1 terminal:
- Code:
cd directory
./runserver.sh
- Code:
cd directory
./runirc.sh
Last edited by vega on Mon Jun 29 2015, 16:35; edited 5 times in total
Re: [School] Installing tts-mod on a linux server
Ok thank you and does Disco now how to proceed for windows ? I don't know what i have to patch with what....
Avallac'h
Avallac'h
Avallac'h- eLeMenT Friend
Re: [School] Installing tts-mod on a linux server
no problem. May i will ask to nesquick or someone else (prophets don't know).
Avallac'h
Avallac'h
Avallac'h- eLeMenT Friend
Re: [School] Installing tts-mod on a linux server
Yeh good idea I think nesquick would be a good start
vega
vega
Similar topics
» [School] Changing (minsta)gunmodel
» [School] Xchat 2 tutorial (windows)
» [School] Basic Mapping Tutorial (Windows)
» [School] Nexuiz binds
» [School] IRC-channel tutorial
» [School] Xchat 2 tutorial (windows)
» [School] Basic Mapping Tutorial (Windows)
» [School] Nexuiz binds
» [School] IRC-channel tutorial
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum