SPADS:Installation: Difference between revisions

From Spring
Jump to navigationJump to search
Maddox (talk | contribs)
Adding install guide from the package
Maddox (talk | contribs)
Added details on Swig and G++ installation
Line 2: Line 2:
===============================================
===============================================
<ol><li>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")</li>
<ol><li>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")</li>
<ol>•  Perl comes installed in Ubuntu</ol>
<ol>•  To check if perl is installed, at your ssh connection prompt enter: '''perl -v'''</ol>
<ol>•  To install Swig in Ubuntu or other debian-based Linux distros, enter: '''apt install swig'''</ol>
<ol>•  To install g++, the C++ compiler:
    <ol>•  sudo apt-get update</ol>
    <ol>•  sudo apt-get install g++</ol>
</ol>
<li>Run "./spadsInstaller.pl" (SPADS will be installed in current directory)</li>
<li>Run "./spadsInstaller.pl" (SPADS will be installed in current directory)</li>
<li>Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"</li>
<li>Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"</li>

Revision as of 20:24, 26 January 2019

To install SPADS on Linux/UNIX, you have to:

===================================
  1. 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")
    1. • Perl comes installed in Ubuntu
      • 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++
  2. Run "./spadsInstaller.pl" (SPADS will be installed in current directory)
  3. 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")


To install SPADS on Windows, you have to:

=================================
  1. Install ActivePerl Windows (x86) (available here: http://www.activestate.com/activeperl/downloads) or Strawberry Perl (32bit) (available here: http://strawberryperl.com)
  2. Ensure your Perl bin directory is in your PATH environement variable
  3. 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)
  4. 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:

================================
  1. Ensure Perl, swig and g++ are installed and available in your PATH
  2. Install Spring server (check the locations of the unitsyc library, "spring-dedicated" and "Spring data directory", they will be asked during SPADS installation)
  3. Install at least one mod in Spring data directory
  4. Run "./spadsInstaller.pl" (SPADS will be installed in current directory)
  5. 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