slp Command
Work In Progress
This documentation is a work in progress. Help out by submitting a pull request to the docs repository
StationeersLaunchPad adds the slp command to the in-game console (-slp as launch argument) with utility subcommands. On the StationeersLaunchPad startup menu (when AutoLoad is disabled), the subcommands can be entered as commands without the slp prefix.
slp commands wait for the game to be loaded to the required stage for the command, and will always be executed in order (async commands like installing repo mods will block future commands until the operation finishes). This allows chaining -slp <cmd> commands in command-line arguments to run a series of steps in order.
Commands
modpkg
slp modpkg [<path.zip>]
Documents/my games/Stationeers/.
selfupdate
slp selfupdate [<tag>] [force]
force argument to the command will cause StationeersLaunchPad to always update, even if updating to the same or a previous version.
debugpkg
slp debugpkg [<path.zip>]
Tip
When reporting an issue with StationeersLaunchPad or a mod, include this zip file to speed up diagnosing and resolving the issue.
logs
slp logs
config
Contains commands for viewing and setting StationeersLaunchPad configuration from the console.
list
slp config list [<search>]
set
slp config set <name> <value>
repos
Contains commands for viewing and managing connected mod repos. See Repo Hosted Mods
list
slp repos list [<searchtext>]
add
slp repos add <RepoURL> [novalidate]
modrepo.xml file. This makes mods in this mod repo available for installation. The optional novalidate argument will still add the repo even if the initial fetch of the modrepo.xml file fails.
For mods hosted in a github repository, you can use the base repo url and it will automatically convert it to fetch the modrepo.xml from the modrepo branch
Example
slp repos add github.com/RepoOwner/RepoName
remove
slp repos remove <RepoID|Index>
slp repos list). Any mods installed from this repo will no longer update to the latest available version.
update
slp repos update <RepoID|Index>
RepoCheckUpdates configuration option is enabled (on by default), this will occur automatically on startup.
updateall
slp repos updateall
RepoCheckUpdates configuration option is enabled (on by default), this will occur automatically on startup.
index
slp repos index [mod=<ModID>] [repo=<RepoID>] [branch=<Branch>] [version/minversion/maxversion=<Version>]
repomods
Contains commands for viewing and managing installed repo mods. See Repo Hosted Mods
list
slp repomods list
add
slp repomods add <ModID> [version=<Version>] [branch=<Branch>] [repo=<RepoID>]
branch will be the default (empty) branch, and version will be the latest available. If a mod is provided by multiple connected mod repos, you must specify the repo to install from.
remove
slp repomods remove <ModID|Index> [version=<Version>] [branch=<Branch>] [repo=<RepoID>]
slp repomods list). The optional parameters are used for disambiguation.
update
slp repomods update <ModID|Index> [version=<Version>] [branch=<Branch>] [repo=<RepoID>]
updateall
slp repomods updateall
RepoModCheckUpdates configuration option is enabled (on by default), this will happen automatically on startup.
loadto
slp loadto (config|mods|gamedata)
Waits for the game to load to the specified stage before running the following commands.
configwaits for the mod configuration to be loaded (the list of installed mods, the mods themselves will not be loaded yet)modswaits for the enabled mods to be loaded and initializedgamedatawaits for the game to load in all prefabs and xml data
This is primarily useful as a launch argument to wait for more information to be available before creating a debug package. Most commands will automatically wait for the necessary stage before running.
Example
rocketstation.exe -slp loadto gamedata -slp debugpkg -slp exit
exit
slp exit
quit command, but is included so it can be used on the startup menu, or as part of launch arguments.