Beyond All Reason LAN server quick install guide (Linux) - Yaribz/SPADS GitHub Wiki
This quick install guide explains how to install a fully operational dedicated LAN server for Beyond All Reason on a Linux system (an Internet connection is required during installation). If an Internet connection is available when the server is running it will automatically update all the Beyond All Reason components (engine, game and maps) to follow the versions used on the official Beyond All Reason lobby server.
Warning: this install procedure downloads a lot of data using your Internet connection (about 1,1 GB for the game itself, and 15 GB for the maps)
-
Install following Perl modules:
FFI::Platypus
,IO::Socket::SSL
,DBD::SQLite
andAnyEvent
For example, for Debian/Ubuntu based distributions:
sudo apt-get install libffi-platypus-perl libio-socket-ssl-perl libdbd-sqlite3-perl libanyevent-perl
For RedHat/Fedora/CentOS based distributions:
sudo dnf install perl-FFI-Platypus perl-IO-Socket-SSL perl-DBD-SQLite perl-AnyEvent
If your Linux distribution doesn't provide precompiled packages for these Perl modules, you can still install them using the standard
cpan
Perl utility:sudo cpan FFI::Platypus IO::Socket::SSL DBD::SQLite AnyEvent
-
Create the installation folder (for example:
$HOME/spads
):mkdir $HOME/spads && cd $HOME/spads
-
Extract the installation package from
http://planetspads.free.fr/spads/installer/spadsInstaller.tar
into this folder:wget http://planetspads.free.fr/spads/installer/spadsInstaller.tar -qO - | tar x
-
Launch the installer in automatic mode for Beyond All Reason LAN server:
perl spadsInstaller.pl --auto BarLanServer
Note: Installation may take a long time, depending on your Internet connection speed.
-
From SPADS installation directory, launch SPADS as follows:
perl spads.pl etc/spads.conf
Note: The first run may take a long time, as all archive files downloaded previously are scanned to cache metadata and checksums.