All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
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: 172
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  
 
 Post subject: Re: HOWTO TC:E on ubuntu 9.10 (karmic) 64 bit
PostPosted: Mon Mar 03, 2014 2:57 pm 
Offline
Marksman
Marksman

Joined: Mon Mar 03, 2014 2:49 pm
Posts: 2
Hello,

I'm new and I finally found a guide to install TC:E, I hope after 2 days of insuccess this will be the last and succesfull try.

I hope the "How to" is still up to date

Thanks,

a.


Top
 Profile  
 
 Post subject: Re: HOWTO TC:E on ubuntu 9.10 (karmic) 64 bit
PostPosted: Mon Mar 03, 2014 3:44 pm 
Offline
Expert
Expert

Joined: Sun Apr 11, 2010 12:48 pm
Posts: 168
Location: Brazil
I'm not sure that you will be succesfull since that ia32libs is no longer part of newer Ubuntu versions, and its repository (mediubuntu) was deactivated, unless you're trying to install TCE on an old version Ubuntu.


Top
 Profile  
 
 Post subject: Re: HOWTO TC:E on ubuntu 9.10 (karmic) 64 bit
PostPosted: Mon Mar 03, 2014 5:24 pm 
Offline
Marksman
Marksman

Joined: Mon Mar 03, 2014 2:49 pm
Posts: 2
Actually now I can enter in TC:E but I still have two problem:

Audio, even in ET is not working, and I tried everything I found online e.g. et-dsl-sound

This is the error shown:

------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp
------------------------------------
Sound memory manager started
Sys_LoadDll(/home/andi/.etwolf/etmain/ui.mp.i386.so)...
Sys_LoadDll(/home/andi/.etwolf/etmain/ui.mp.i386.so) failed:
"/home/andi/.etwolf/etmain/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/usr/local/games/enemy-territory/etmain/ui.mp.i386.so)... ok
Sys_LoadDll(ui) found **vmMain** at 0xed03ff40
Sys_LoadDll(ui) succeeded!

The 2nd problem it's: with ET I have a good video resolution with TC:E half of the screen is away, but I more concerned about the audio problem, the 2nd I think I could fix it.

Thank you,
a.


Top
 Profile  
 
 Post subject: Re: HOWTO TC:E on ubuntu 9.10 (karmic) 64 bit
PostPosted: Tue Mar 04, 2014 1:14 am 
Offline
Marksman
Marksman
User avatar

Joined: Sat Aug 24, 2013 5:53 pm
Posts: 24
Theoretically et-sdl-sound should work. Do you have SDL_AUDIODRIVER="alsa" inside the launcher file?

This is what the top part of my et-sdl-sound file looks like.

Quote:
#!/bin/bash
# et-sdl-sound - SDL sound system for Enemy Territory, RTCW and Q3
# Copyright (C) 2007-2008 Pyry Haulos
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


# Please fill in following variables or let this script
# guess correct values.

# Game installation directory
#
# You can set this in GAME_PATH environment variable
GAME_PATH="/usr/local/games/enemy-territory"

# libSDL.so
#
# You can set this in LIBSDL environment variable
LIBSDL="/usr/lib/libSDL.so"

# Temporary directory
TMP_DIR="/tmp"

# Use 'find' if can't locate the game or libSDL otherwise
USE_FIND="yes"

# SDL audio driver
SDL_AUDIODRIVER="alsa"

# Just extract et-sdl-sound.so
ONLY_EXTRACT="no"


# Do not touch anything below this line!
SCRIPT_NAME='et-sdl-sound'
GAME_BIN='et.x86 +set fs_game tcetest +set com_soundMegs 64 +set com_hunkMegs 256 +set com_zoneMegs 64 +set s_khz 44 +set r_maxpolyverts 16384 +set r_maxpolys 4096 +set r_mode "-1" width "1024" height "576"'
GAME_DIR='/home/arch/.etwolf/tcetest'


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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