Native Tribes 2 on Linux

I run the linux native client, which is quite old, but still works.

This is the script I run to get it to work with Pulseaudio (on 64-bit) .. I run Ubuntu 13.10 amd64 flavor.

[tt]
#!/bin/sh

if `pgrep -f /usr/bin/pulseaudio 1>/dev/null` ; then
if [ x"$LD_PRELOAD" = x ] ; then
LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi
fi

export LD_PRELOAD

/usr/bin/taskset -c 1 /path/to/tribes2/tribes2 -nologin -connect : 1>/dev/null
find $HOME/.loki/tribes2 -type f -iname "*.dso" -delete
[/tt]

You have to install the 32-bit version of libpulsedsp. Also, to install the Loki version, you need to set the env variable: POSIXVER=1997 and run the installer like so:

./tribes2-25034-cdrom-x86.run --keep
cd tribes2-25034-cdrom-x86

then mod update.sh using vi or something, comment these lines (just like this)

[tt]
# Verify that the loki_patch version is okay
#if loki_patch --verify patch.dat; then
# :
#else
# exit 1
#fi
[/tt]

save and exit, then type

./update.sh

Anyway, hope this helps. I'm not sure if it's legal to distribute the Loki native version or not (Loki is out of business though!)
Otherwise, I'd make an .iso for everyone.
Sign In or Register to comment.