View unanswered posts | View active topics It is currently Wed Oct 18, 2017 9:32 am



Reply to topic  [ 2 posts ] 
How to install and update ET 
Author Message
Major
Major
User avatar

Joined: Thu Oct 30, 2008 1:04 am
Posts: 1246
Location: Germany
Reply with quote
The following will install Enemy Territory and update Punkbuster.

Download ET and Install it (use standard path if not alter Path in the How To to your needs)
At the end the installer will ask if you like to run ET. Don't run ET yet we aren't finish!

Code:
cd ~/Downloads
wget http://download.hirntot.org/misc/et-linux-2.60.x86.run
sudo chmod +x et-linux-2.60.x86.run
sudo ./et-linux-2.60.x86.run

Patch ET from 2.60 to 2.60b
Code:
cd ~/Downloads
wget http://download.hirntot.org/misc/ET-2.60b-linux.zip
unzip ET-2.60b-linux.zip
sudo cp Enemy\ Territory\ 2.60b/linux/et.x86 /usr/local/games/enemy-territory
sudo chmod +x /usr/local/games/enemy-territory/et.x86

Update PunkBuster
Code:
mkdir -p ~/.etwolf/pb
cd ~/.etwolf/pb/
wget http://download.hirntot.org/misc/et_linux.zip
unzip et_linux.zip
rm et_linux.zip
If it asks to overwrite files answer with A(ll)


Remove useless install files
Code:
rm -rf ~/Downloads/Enemy\ Territory\ 2.60b/

You're done!

For 64bit Linux
If you get this error:
Code:
./et.x86: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

Install 32bit libaries
Code:
apt-get install ia32-libs


Great How To for ATI GFX drivers on Debian
-> ATI Proprietary Driver (fglrx)

_________________
You're never to old to learn something stupid.
Don't worry what people think, they don't do it very often.


Sat Jan 22, 2011 12:38 am
Profile WWW
Captain
Captain
User avatar

Joined: Thu Oct 30, 2008 6:32 pm
Posts: 1073
Reply with quote
Auto-Install for Linux (bash)

http://etkey.org/pages/punkbuster/auto---install-for-linux-bash.php

You can use the bash script from here (new version) to install all needed punkbuster files and also to get an ETKEY if noone is available.

Code:

This is the content of the script

#!/bin/bash

## Copyright (C) 2011 Misanthropos - Deploy Mortar!
## pbupdate - for Wolfenstein - Enemy Territory
## combined with ETKEY get script

PBZIP=et_linux.zip
PBHOST=www.etkey.org
PBPATH=~/.etwolf/pb

wget "$PBHOST/$PBZIP" -O ~/$PBZIP

if [ -f $PBZIP ]; then
    unzip ~/$PBZIP -d $PBPATH
    echo "Punkbuster updated."
    exit 0
else
    echo "Punkbuster update FAILED!"
fi


ETKEY=~/.etwolf/etmain/etkey

if [ -f $ETKEY ]; then
    echo $ETKEY already exists!
    exit 0
fi

wget -O etkey.new http://etkey.org/distpb.php

mv etkey.new $ETKEY

if [ -f $ETKEY ]; then
  echo ETKey generated successfully.
else
  echo Oh oh... ETKey NOT generated!
fi
 

A new version of the script was sent to me

#!/bin/bash

## Copyright (C) 2011 Misanthropos - Deploy Mortar!
## pbupdate - for Wolfenstein - Enemy Territory
## combined with ETKEY get script

PBZIP=et_linux.zip
PBHOST=www.etkey.org
PBPATH=~/.etwolf/pb

wget "$PBHOST/$PBZIP" -O ~/$PBZIP

if [ -f ~/$PBZIP ]; then
    unzip ~/$PBZIP -d $PBPATH
    echo "Punkbuster updated."
#    exit 0
else
    echo "Punkbuster update FAILED!"
fi


ETKEY=~/.etwolf/etmain/etkey

if [ -f $ETKEY ]; then
    echo "$ETKEY already exists!"
    exit 0
fi

wget -O etkey.new http://etkey.org/distpb.php

mv etkey.new $ETKEY

if [ -f $ETKEY ]; then
  echo ETKey generated successfully.
else
  echo "Oh oh... ETKey NOT generated!"
fi



There is a little Bug in the Script..
Written in a Windows Editor with the Windows CRLF insteed the Unix LF, or sent through an Exchange Server or Antivirus Software that change such things.
:arrow: Easy to fix, use dos2unix script.sh

_________________
// the addiction sleeps..


Mon Dec 30, 2013 11:53 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.