Nexuiz & Xonotic Minsta International Friendly Clan *powered for [NK] by od@r,logo by AnalHorror [NK]* - [NK] is brother clan with Player Killer *tag: [PK]*
 
HomePortál*FAQSearchMemberlistUsergroupsRegisterLog in
Welcome to our [NK] clan forum! -> our motto: IT IS NOT IMPORTANT TO WIN BUT TO PARTICIPATE! ... Be fair as a human and player , Help other players , Help nexuiz & xonotic and minsta community , Respect other players , Be active in the game and forum , Be with us as a friend and as a great family , Rejoice with us! type=text/css>body

Share | 
 

 tts mod?

View previous topic View next topic Go down 
AuthorMessage
vega
Visitor
Visitor


Počet príspevkov : 13
Join date : 2012-08-06
Age : 22

PostSubject: tts mod?   Sat Mar 29, 2014 9:59 pm

Hi! The past few days i've been trying to install the tts mod (spawnshield) that used to be on the nk server. I got the files from a prophet member but its not working at all... Do you guys maybe still have ur files from it lying around? If not could you maybe check whats wrong with the svnup-nexuiz.sh file that i have?

Code:
#!/bin/bash
 
### configure your directories here
nex_root=/home/element/Nexuiz
dp_root=$nex_root/darkplaces
### end of configuration
 
errorfunction () { echo $error_reason;exit 1; }
trap errorfunction ERR
 
while getopts ":hfcas" opt; do
 case "$opt" in
  h) help=1 ;;
  f) fteqcc=1 ;;
  c) clean=1 ;;
  a) apt=1 ;;
  s) svn=1 ;;
 esac
done
 
if [[ $help == 1 ]];then
    echo "Usage:"
    echo "-h    help"
    echo "-a    install required dependencies via apt-get (debian based systems only)"
    echo "-s    checkout the svn repositories, compile fteqcc !FIRST RUN ONLY!"
    echo "-f    update fteqcc"
    echo "-c    make clean in DP and Nexuiz dirs"
    exit
fi
 
if [[ $apt == 1 ]];then
    sudo apt-get install build-essential xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev  libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl1.2-dev libsdl-image1.2-dev libsdl1.2debian subversion libclalsadrv-dev libasound2-dev libxext-dev
    exit 1
fi
 
if [[ $svn == 1 ]];then
    mkdir -p $nex_root
    echo "--- Checking out Nexuiz from svn ---";error_reason="Failed to checkout Nexuiz"
    echo "This will probably take a long time, depending on your connection speed..."
    cd $nex_root && svn co -r 8770 svn://svn.icculus.org/nexuiz/trunk/
    echo "--- Checking out Darkplaces from svn ---";error_reason="Failed to checkout Darkplaces"
    mkdir -p $dp_root
    svn co -r 12058 svn://svn.icculus.org/twilight/trunk/darkplaces darkplaces
    echo "--- Checking out fteqcc from svn ---";error_reason="Failed to checkout fteqcc"
    svn co https://fteqw.svn.sourceforge.net/svnroot/fteqw/trunk/engine/qclib/
    echo "--- Compiling fteqcc ---";error_reason="Failed to compile fteqcc"
    cd $nex_root/qclib; make
fi
 
if [[ $fteqcc == 1 ]];then
    echo "--- Updating fteqcc ---";error_reason="Failed to update fteqcc"
    cd $nex_root/qclib && svn up && make
fi
 
echo "--- Updating Nexuiz ---";error_reason="Failed to update nexuiz"
cd $nex_root/trunk && svn up -r 8770 && cd data
 
if [[ $clean == 1 ]];then
        echo "--- Making clean in Nexuiz dir ---";error_reason="Failed to make clean in the Nexuiz dir"
        make clean
fi
error_reason="Failed to build Nexuiz"
FTEQCC="$nex_root/qclib/fteqcc.bin" make
 
echo "--- Updating Darkplaces ---";error_reason="Failed to update Darkplaces"
cd $dp_root && svn up -r 12058
 
if [[ $clean == 1 ]];then
    echo "--- Making clean in DP dir ---";error_reason="Failed to make clean in the Darkplaces dir"
    make clean
fi
error_reason="Failed to build the engine"
make nexuiz
 
if [[ $svn == 1 ]];then
    echo "--- Symlinking the engine ---";error_reason="Failed to link the engines"
    ln -s $dp_root/nexuiz-sdl $nex_root/trunk/
    ln -s $dp_root/nexuiz-glx $nex_root/trunk/
    ln -s $dp_root/nexuiz-dedicated $nex_root/trunk/
    echo "--- Building complete! The Nexuiz binaries are now located in" $nex_root/trunk/ "---"
fi

Thanks allready!

vega
Back to top Go down
http://element-nex.forumotion.com/
 
tts mod?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Accessories Stuff :: Scripts & Programing-
Jump to: