automatic/unattended SPADS install
Posted: 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:
2) This file will produce the exact same installation as the previous one, the only difference is that the default values are written explicitly:
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:
4) This last example will install SPADS so that it will use an existing Sring installation:
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
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
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
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