SPADS:Installation
From Spring
To install SPADS on Linux/UNIX, you have to:
===================================
- Ensure Perl, swig and g++ are installed and available in your PATH (all standard Perl core modules must be available, on some systems such as RedHat/Fedora/CentOS this requires installing a metapackage usually named "perl-core")
- Run perl spadsInstaller.pl (SPADS will be installed in current directory)
- Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"
- Then you can run SPADS as follows: perl spads.pl <spadsConfPath> (for instance: perl spads.pl etc/spads.conf)
- • Perl comes installed in Ubuntu, but you'll probably need a more recent version. After downloading it at the root, enter the following commands:
- • tar -xzf perl-5.10.1.tar.gz
- • cd perl-5.10.1
- • ./Configure -des -Dprefix=/usr/local
- • make
- • make test
- • sudo make install
- • export PATH=$PATH:/usr/local/bin/perl
- • To check if perl is installed, at your ssh connection prompt enter: perl -v
- • To install Swig in Ubuntu or other debian-based Linux distros, enter: apt install swig
- • To install g++, the C++ compiler:
- • sudo apt-get update
- • sudo apt-get install g++
- • In hostingPresets you'll probably want to edit battleName to what will be shown in Spring Lobby
To install SPADS on Windows, you have to:
=================================
- Install ActivePerl Windows (x86) (available here: http://www.activestate.com/activeperl/downloads) or Strawberry Perl (32bit) (available here: http://strawberryperl.com)
- Ensure your Perl bin directory is in your PATH environement variable
- Open a Command shell, go in the directory where you extracted SPADS installation files, and run "perl spadsInstaller.pl" (SPADS will be installed in current directory)
- Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"
Then you can run SPADS as follows: "perl spads.pl <spadsConfPath>" (for instance: "perl spads.pl etc/spads.conf")
To install SPADS on macOS, you have to:
================================
- Ensure Perl, swig and g++ are installed and available in your PATH
- Install Spring 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
- Run "./spadsInstaller.pl" (SPADS will be installed in current directory)
- Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"
Then you can run SPADS as follows: "./spads.pl <spadsConfPath>" (for instance: "./spads.pl etc/spads.conf")
If you have any problem, you can contact the SPADS creator, bibim, directly in SpringLobby or in the SPADS subforum