All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: HOWTO TC:E on ubuntu 9.10 (karmic) 64 bit
PostPosted: Fri Feb 26, 2010 11:14 pm 
Offline
Rock Me, Amadeus!
Rock Me, Amadeus!

Joined: Thu Jun 11, 2009 10:38 am
Posts: 169
Location: Austria
This guide is written for the 64 bit version, keep that in mind when installing on the 32 bit version

Alright, today a nice dude on the irc channel asked how to get tc:e running.
He kept getting an error ("libstdc++.so.5: cannot open shared object file: No such file or ....")
He did run ubuntu 9.10 64 bit

Since I couldn't help him out (all the usual fixes didn't help), I did dl ubuntu and checked wheter I get his bs too :D
I got it and decided to find a solution and post it :)

so how to install TC:E on ubuntu 9.10 64 bit:

everything is done from the console

okay since this gets a bit messy we start of with creating an new tempdir
Code:
mkdir ettemp
cd ettmp

first of we need some 32bit librarys to be able to run the installer/game
Code:
sudo apt-get install ia32-libs

now it's time to dl et 2.60 and install it
Code:
wget http://www.truecombatelite.com/files/ET_v2.60_Linux.run.gz
chmod +x ET_v2.60_Linux.run.gz
sudo ./ET_v2.60_Linux.run.gz

I used all the default options, if you do something different you'll have to adjust the paths in the future commands.
let's patch et to 2.60b:
Code:
wget http://www.truecombatelite.com/files/et_2.60b.zip
unzip et_2.60b.zip
sudo mv Enemy\ Territory\ 2.60b/linux/et* /usr/local/games/enemy-territory/

at this point I did run et and created a profile
Code:
et

okay time to install tc:e (this time with the patch right away)
when getting promted for overwriting files type A since we want it patched :D
Code:
wget http://www.truecombatelite.com/files/tcetest049.zip
wget http://www.truecombatelite.com/files/tce049b_all_os_fixed.zip
unzip tcetest049.zip
unzip tce049b_all_os_fixed.zip -d tcetest
sudo mv tcetest /usr/local/games/enemy-territory/

all that extracting / moving messed the file attribs a bit, time to give the et folder back to root
Code:
sudo chown -R root:root /usr/local/games/enemy-territory/

if you try to start et @ this point you'll get the awesome libstdc++.so.5 missing error
therefore we create a symbolik link from the lib5 to the lib6
this is tricky because the 64bit kernel is a genious and trys to give 32bit applications 32bit librarys when they load them, therefore the usual rules for library directorys don't apply here
Code:
sudo ln -s /usr/lib32/libstdc++.so.6  /usr/lib32/libstdc++.so.5

now you could run the game, but pb would bitch @ you for game integrity
so we do have to update pb, in my case pbweb.x86 failed so I had todo it manually, therefore for the next wgets you'll have to get the new links from http://evenbalance.com/index.php?page=dl-et.php
Code:
cd /usr/local/games/enemy-territory/pb/
sudo wget http://evenbalance.com/downloads/et/pbsec.htm
cd htm
sudo wget http://evenbalance.com/downloads/et/lc002213.htm
sudo wget http://evenbalance.com/downloads/et/la001382.htm

now the et installation has an updated pb, but since we already started pb and enabled punkbuster we have way to old files in our ~/.etwolf/pb
time to update them too:
Code:
cd ..
rm -r ~/.etwolf/pb
cp -r pb ~/.etwolf


that's it, instalation complete go and run the game with
Code:
et +set fs_game tcetest


don't forget to save the good content from the tempdir and remove it :twisted:

_________________
"Fog is neither water nor air, it's something between." Merlin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


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

Search for:
Jump to:  
Style created by © Matti, gry komputerowe, reklama sem reklama seo

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group