SPADS:Installation: Difference between revisions

From Spring
Jump to navigationJump to search
Maddox (talk | contribs)
Bibim (talk | contribs)
Remove obsolete information
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
To install SPADS on '''Linux/UNIX''', you have to:
===============================================
<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, but you'll probably need [https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.28.1.tar.gz a more recent version]. After downloading it at the root, enter the following commands:
    <ol>•  tar -xzf perl-5.10.1.tar.gz</ol>
    <ol>•  cd perl-5.10.1</ol>
    <ol>•  ./Configure -des -Dprefix=/usr/local</ol>
    <ol>•  make</ol>
    <ol>•  make test</ol>
    <ol>•  sudo make install</ol>
    <ol>•  export PATH=$PATH:/usr/local/bin/perl</ol>
</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 '''perl 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>
</ol>


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:
=============================================
<ol><li> Install ActivePerl Windows (x86) (available here: http://www.activestate.com/activeperl/downloads) or Strawberry Perl (32bit) (available here: http://strawberryperl.com)</li>
<li> Ensure your Perl bin directory is in your PATH environement variable</li>
<li> 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)</li>
<li> Check your configuration files, in particular "spads.conf", "hostingPresets.conf" and "battlePresets.conf"</li>
</ol>
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:
============================================
<ol><li> Ensure Perl, swig and g++ are installed and available in your PATH</li>
<li> Install Spring server (check the locations of the unitsyc library, "spring-dedicated" and "Spring data directory", they will be asked during SPADS installation)</li>
<li>Install at least one mod in Spring data 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></ol>
Then you can run SPADS as follows:
"./spads.pl <spadsConfPath>" (for instance: "./spads.pl etc/spads.conf")
<br /><br />
If you have any problem, you can contact the SPADS creator, ''bibim'', directly in SpringLobby or in the [https://springrts.com/phpbb/viewforum.php?f=88 SPADS subforum]
<br /><br />

Latest revision as of 08:51, 14 June 2023