Manual Reference Pages - SPRING-DEDICATED (6)
spring-dedicated - An open source RTS game engine - Dedicated Server
spring-dedicated [-i|--isolation] [--isolation-dir PATH] [-C|--config FILE] SCRIPT
Spring is a versatile 3D RTS game engine. Using extensively Lua for scripting game-specific code to make nearly every aspect of the engine customizable, from GUI, to unit AI, to pathfinding.
It is mainly designed around online multiplayer games but can also be played in single-player mode against AIs.
This is the dedicated, GUI-less server for hosting multiplayer games. You need to feed it a start script in order to have it host a game. Start script are generated by lobby clients (SpringLobby) or autho-hosts (Spads, Springie). This is the most leight-weight version of the engine, which basically only redirects network traffic, while spring-headless still runs a full blown simulation of the game.
Print the options help message and exit
Display program version and exit
Display program sync version (for online gaming) and exit
Disables colorized stdout
Ignore unreccognized arguments
Limit the data-dir (games & maps) scanner to one directory (see --isolation-dir and the SPRING_ISOLATED env var)
Specify the isolation-mode data-dir (see --isolation and the SPRING_ISOLATED env var)
Specify the directory used for all saving.
Exclusive configuration file
Dump all default config vars in JSON-format to STDOUT
instantly start the GAME with a minimal setup. Requires --map to be present, too. Sets the modoption minimalsetup = 1
Requires --game to be set, too. see --game
The default data-directory (see section DATA DIR).
Contains the users settings for the engine, for things like graphic and sound.
Contains the : separated paths to additional data-dirs (see section DATA DIR).
SPRING_LOG_SECTIONS Selective functionality to change the verbosity (separated by ,).
SPRING_WRITEDIR Define custom primary write DATA DIR. Place where spring saves logs, settings, ...
SPRING_DATADIR Adds additional DATA DIRs Spring will search for files (separated by :).
SPRING_ISOLATED If defined, Spring will stop searching files outside of the binaries directory. If it is set to a valid directory path, it will be used as the isolation directory. See the --isolation and the --isolation-dir options.
SPRING_NOCOLOR Same as spring --nocolor.
An all-in-one-folder setup, which allows to run Spring without installation. To do so all relevant files (binaries & basecontent) must be in a single folder, esp. spring(.exe), libunitsync.so/unitsync.dll and springsettings.cfg. Spring will then use the all-in-one-folder for writing and wont do so anywhere else on the system, but it may open other files & directories for reading.
Not to confuse with Portable Mode, this mode disables all automatic Data Dir scanning and limit reading & writing to a single folder. This is very usefull when games want to run separate from other Spring games.
Data directories are searched for content, and among other things, may contain:
Sorted by priority the engine may use multiple data directories, but it will use only the one with the highest priority as writable, to write cache & log files to. The hierarchy the engine loads DATA DIRs in can be grouped in 3 sections:
|| || || || || |
Config directories in users home.
C:/.../My Documents/My Games/Spring/
INSTALL_DIR Location of spring-dedicated binary.
ETC_DIRS Additional : separated DATA DIRs defined in /etc/spring/datadir.
*nix/MacOSX: /usr/.../share/spring & binary dir if is Data Dir
Windows: Install directory
Mode A (--isolation): INSTALL_DIR
Mode B (--isolation-dir): supplied dir
Spring can load configurations from multiple files and merge them. So similar to DATA DIRs there is one file where the engine writes to and multiple read-only files.
It scans following directories for config files :
|| || |
(The one with highest priority will be used for writing.)
The filename of such config files can be as following:
(An example for a versioned config file is "springsettings-94.1.cfg".)
spring(6) spring-legacy(6) spring-headless(6)
More information about Spring can be found at link: [blue]http://springrts.com
Spring was written by the Spring developers.
This manual page was written by Marco Amadori <[blue]email@example.com>, for the Debian project (and may be used by others).
|Spring package ||SPRING-DEDICATED (6) ||04/05/2016 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.