TO Linux Guide

Tested on:
• Debian-11-bullseye-5.10.0-8-amd64
• Centos-8-4.18.0-amd64
Should work on Ubuntu distributions as well.

This guide is created by "Spike".

1) Tactical Ops Game Setup (64bit)

1a) Dependencies Installation

First, make sure to have the following dependencies installed:

DEBIAN:

apt update && apt install p7zip unzip libatomic1

CENTOS:

yum install epel-release
yum install p7zip unzip libatomic

While these packages should be enough for running the game on a fresh installed Debian or CentOS, please note that other packages might be missing in your system.


1b) Copying The Files

Decompress the 'TO-AoT-Fixed-Pack-v469c.7z' (version 469c may change) and 'TOFP-LinuxFiles-x64-v3.zip' files

7z x TO-AoT-Fixed-Pack-v469c.7z
unzip TOFP-LinuxFiles-x64-v3.zip

Then, copy the contents of './System' directory into './TacticalOps/TO340/System/'
and './TacticalOps/TO350/System/' directories

cp -r ./System/* ./TacticalOps/TO340/System/
cp -r ./System/* ./TacticalOps/TO350/System/

1c) Running The Game

Now, if you enter any of the './TacticalOps/TO3{4,5}0/System/' directories, you can find the 'TacticalOps.sh' file, a bash script to launch the game.

You will need to add 'execution' permissions to this script, as following

chmod +x TacticalOps.sh

The last command should only be done once. Then, you may launch the game by executing

./TacticalOps.sh

1d) Issues

NOTE: When following any of the recommendations below, please be sure that you know what you are doing.

Expose missing dependencies

ldd * 2> /dev/null | grep found

Find which package provides $FILE

apt-file find $FILE

Debug library dependencies

LD_DEBUG=libs ./TacticalOps.sh
2) Tactical Ops Game Setup (32bit)

SUCCESFULLY TESTED ON DEBIAN SYSTEMS!
CURRENTLY NOT WORKING ON CENTOS!


2a) Dependencies Installation

In order to execute the 32bit binaries on a 64bit system, you will need to add the i386 arch and install i386 packages.

dpkg --add-architecture i386
apt update
apt install libc6-i386 libdbus-1-3:i386 libunwind8:i386 libatomic1:i386 \
libfreetype:i386 libsdl2-2.0-0:i386 libsdl2-ttf-2.0-0:i386 libstdc++6:i386 libgl1:i386

You will also need the '7z' and 'unzip' packages:

apt install p7zip unzip libatomic1

2b), 2c), 2d) Steps are similar to 1b), 1c) and 1d), respectively.

Please make sure to unzip the 32bit 'System' directory, instead: unzip TOFP-LinuxFiles-x86-v3.zip

3) Tactical Ops Server (32bit and 64bit)

While the Tactical Ops Game Client uses the 'ut-bin' binaries, the Tactical Ops Server relies in the 'ucc-bin' file.

This binary can be found in both 32bit and 64bit versions.

Running 'ucc-bin' requires only few libraries, compared to 'ut-bin'.

The dependencies of 'ucc-bin' can be installed both in Debian and CentOS as described below.


3a) Running 64bit 'ucc-bin'

DEBIAN:

# Check first if 'ucc-bin' runs without installing new packages.
# If not working, check if the following packages are installed:
#                       libc6 libstdc++

CENTOS:

# Check first if 'ucc-bin' runs without installing new packages.
# If not working, check if the following packages are installed:
#                    libgcc glibc libstdc++

3b) Running 32bit 'ucc-bin'

DEBIAN:

dpkg --add-architecture i386
apt update
apt install libc6-i386 libstdc++6:i386

CENTOS:

yum install libgcc.i686 glibc.i686 libstdc++.i686