- Ensure Perl is installed, including all standard Perl core modules (on some systems such as RedHat/Fedora/CentOS, this requires installing a metapackage usually named "perl-core" in addition to main Perl package)
- Install the "FFI::Platypus" Perl module. Usually this module can be installed using the standard system package manager of your Linux distribution. For example, on Debian-based distributions, you can use the following command to install the "FFI::Platypus" Perl module:
apt-get install libffi-platypus-perl
. On RedHat-based distributions, you can usednf install perl-FFI-Platypus
. If your distribution doesn't provide a package for the "FFI::Platypus" Perl module, you can install the module using the "CPAN" tool included with Perl instead, with following command:cpan FFI::Platypus
- Recommended: install the "IO::Socket::SSL" Perl module (required: 1. by lobby servers which require TLS encryption such as official Spring lobby server, 2. for automatic install of engines from GitHub, and 3. for automatic download of some map sets). Usually this module can be installed using the standard system package manager of your Linux distribution. For example, on Debian-based distributions, you can use the following command to install the "IO::Socket::SSL" Perl module:
apt-get install libio-socket-ssl-perl
. On RedHat-based distributions, you can usednf install perl-IO-Socket-SSL
. If your distribution doesn't provide a package for the "IO::Socket::SSL" Perl module, you can install the module using the "CPAN" tool included with Perl instead, with following command:cpan IO::Socket::SSL
- If you plan to run multiple instances of SPADS in parallel from same installation directory (multi-instance mode), it is recommended to install the "DBD::SQLite" Perl module. Usually this module can be installed using the standard system package manager of your Linux distribution. For example, on Debian-based distributions, you can use the following command to install the "DBD::SQLite" Perl module:
apt-get install libdbd-sqlite3-perl
. On RedHat-based distributions, you can usednf install perl-DBD-SQLite
. If your distribution doesn't provide a package for the "DBD::SQLite" Perl module, you can install the module using the "CPAN" tool included with Perl instead, with following command:cpan DBD::SQLite
- Install Strawberry Perl (available here: http://strawberryperl.com)
- Ensure your Perl bin directory is in your PATH environement variable
- Ensure Perl is installed.
- Install the "FFI::Platypus" Perl module.
- Recommended: install the "IO::Socket::SSL" Perl module (required: 1. by lobby servers which require TLS encryption such as official Spring lobby server, 2. for automatic install of engines from GitHub, and 3. for automatic download of some map sets).
- If you plan to run multiple instances of SPADS in parallel from same installation directory (multi-instance mode), it is recommended to install the "DBD::SQLite" Perl module.
- Install the Spring engine server (check the locations of the unitsyc library, "spring-dedicated" and "Spring data directory", they will be asked during SPADS installation)
- Install at least one mod in Spring data directory.
- Create the directory where SPADS should be installed
- Download SPADS installation archive from http://planetspads.free.fr/spads/installer/spadsInstaller.tar and extract it in SPADS installation directory
- From SPADS installation directory, launch the installer using following command:
perl spadsInstaller.pl
- After installation, check and customize your configuration files if needed (in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf")
- Launch SPADS using following command:
perl spads.pl etc/spads.conf
- SpringRTS/SPADS subforum: https://springrts.com/phpbb/viewforum.php?f=88
- Github/SPADS discussions: https://github.com/Yaribz/SPADS/discussions