automatic/unattended SPADS install

automatic/unattended SPADS install

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
bibim
Lobby Developer
Posts: 901
Joined: 06 Dec 2007, 11:12

automatic/unattended SPADS install

Post by bibim » 16 Jun 2019, 14:29

SPADS now supports fully automatic/unattended installation when using spadsInstaller version 0.23 (only in unstable SPADS release for now).

To perform a fully automatic installation, you need to create a file named "spadsInstaller.auto" in your SPADS installation directory (the location where you extracted the spadsInstaller.tar package). This file must define the settings values which are normally asked during the installation. Here are 4 examples below.

1) This file will install SPADS with default values for all settings except "release" (because the default release is "testing" and the testing release doesn't support automatic installation yet), and the 3 last settings which have no default values so they must be defined:

Code: Select all

release:unstable
etcDir:
varDir:
logDir:
springBinariesType:
autoManagedSpringVersion:
mapModDataDir:
downloadedGameShortName:
downloadMaps:
springServerType:
useLatestMod:
lobbyLogin:SpadsLogin
lobbyPassword:SpadsPassword
owner:OwnerLogin
2) This file will produce the exact same installation as the previous one, the only difference is that the default values are written explicitly:

Code: Select all

release:unstable
etcDir:etc
varDir:var
logDir:log
springBinariesType:official
autoManagedSpringVersion:104.0
mapModDataDir:new
downloadedGameShortName:ba
downloadMaps:yes
springServerType:dedicated
useLatestMod:yes
lobbyLogin:SpadsLogin
lobbyPassword:SpadsPassword
owner:OwnerLogin
3) This file will install SPADS the same way as previous files except SPADS will always use the stable version of Spring engine, and it will use an existing Spring data directory for games and maps and a specific game version:

Code: Select all

release:unstable
etcDir:etc
varDir:var
logDir:log
springBinariesType:official
autoManagedSpringVersion:stable
mapModDataDir:/home/spring/data
springServerType:dedicated
modName:Balanced Annihilation V9.46
lobbyLogin:SpadsLogin
lobbyPassword:SpadsPassword
owner:OwnerLogin
4) This last example will install SPADS so that it will use an existing Sring installation:

Code: Select all

release:unstable
etcDir:etc
varDir:var
logDir:log
springBinariesType:custom
unitsyncPath:/home/spring/spring104.0/libunitsync.so
baseDataDir:/home/spring/spring104.0
mapModDataDir:/home/spring/data
springServerType:dedicated
springServer:/home/spring/spring104.0/spring-dedicated
modName:Balanced Annihilation V9.46
lobbyLogin:SpadsLogin
lobbyPassword:SpadsPassword
owner:OwnerLogin
4 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14572
Joined: 17 Nov 2005, 02:43

Re: automatic/unattended SPADS install

Post by Forboding Angel » 20 Jun 2019, 10:24

Oh, super cool, thanks!
0 x

User avatar
FabriceFABS
Posts: 345
Joined: 28 Jul 2010, 16:20

Re: automatic/unattended SPADS install

Post by FabriceFABS » 20 Jun 2019, 12:35

:arrow: Top !
Merci.
0 x

Post Reply

Return to “SPADS AutoHost”