steamship 1.0.7

Commands

Every command steamship takes and every option, generated from its own command line, so this page and steamship --help say the same thing. steamship help <command> prints any of these at a terminal.

steamship login

Log in to Steam, once, for uploads.

Asks for the account name if none is given or remembered. It then asks for the password and a Steam Guard code or approval in the Steam Mobile app. steamcmd receives what you type. steamship never logs or saves it. At a terminal, it then offers to keep the publisher Web API key in the system's credential store. builds and the other Web API commands use it.

steamship login [OPTIONS]
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered
--web-api-key-only
Keep only the publisher Web API key, after Steam accepts it. No login happens

steamship status

Show the login, steamcmd and whether Steam accepts the login.

Shows steamship's home, the build account and steamcmd. Then it logs in with the login steamcmd saved, as an upload does. Nothing is asked for.

steamship status [OPTIONS]
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered

steamship check

Check the build scripts, without logging in.

Reads an app build script and every depot script it names, and refuses anything that would upload the wrong thing. Without an app, in a game's folder, it checks the game's scripts. It then compares the game's achievements, leaderboards, rich presence and branches on Steam with the game's files, and names every difference.

Given a build's folder, it checks the files alone, before any script maps them. It names every DLL the folder's Windows programs and libraries load that neither Windows nor the folder has.

In a game's folder, a DLL that a Steamworks Common Redistributable installs is refused unless the settings snapshot ticks that redistributable. A Common Redistributable is a runtime Steam installs for the game, such as the Visual C++ runtime. A build without the Steam Input action manifest the snapshot names is refused too. The snapshot is the demo's with --demo, or for a folder only the demo's depots ship.

The game's rich presence files are read too, as rich-presence --dry-run reads them. All of this is offline.

steamship check [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script, such as steam/app_build.vdf. A build's folder, such as export/windows, is checked instead of a script. In a game's folder, the game's own
--scripts-only
Check the scripts alone, not the content they map, as before the build exists. upload still checks both
--demo
In a game's folder, check the demo, a separate app, instead of the full game. With a build's folder, judge it against the demo's settings snapshot. A folder only the demo's depots ship is judged that way without the flag
--content-root <DIR>
In a game's folder, check the files in this folder instead of those in the app build script's ContentRoot. check alone leaves the content's files to upload. A relative path is read from the current folder, and a depot's own relative ContentRoot is read from this folder. The folder must exist

steamship upload

Check, build and upload, then print the build ID.

Runs check, then the build, without showing steamcmd's console. It prints the build's ID and the branch it was set live on.

Without an app, in a game's folder, it ships the game. That is refused while the game's tree holds anything uncommitted. It is also refused unless its commit is the tip of origin's default branch, apart from the green case below. The game's script must set the game's branch live: testing, or the branch steamship.toml names.

The game is built with its build command, with steamcmd and the build held to 4 processors or the file's cores. A file its depots map that the build did not write is refused.

The build is checked against the settings snapshot steam/settings.vdf, its achievements, leaderboards and rich presence. Its version is the newest release CHANGES.md heads, or else the one project.godot gives.

A game whose steamship.toml sets green ships only a commit on that branch of origin, unless --allow-ungreen is given. --dry-run skips that check.

The tip of green ships even after the default branch has moved past it, while the default branch has it in its history. Every build live on a branch the upload sets live must then come from that history, as Steam shows, which needs a Web API key. That includes the default branch until steamship.toml sets released. --dry-run skips the comparison with Steam.

While the app is unreleased, the build goes live on the default branch too. A game whose steamship.toml sets released = true never gets a build live on default. Once the build is live, the branch's description becomes the version, or the file's description. An app with only the default branch gets the build on default alone. steamship then prints the commands that set it live on the game's branch and describe that branch, to run once the branch exists.

steamship upload [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script, such as steam/app_build.vdf. In a game's folder, the game's own
--version <VERSION>
The version being shipped. With the commit, it becomes the build's description. In a game's folder, the newest release CHANGES.md heads, or else project.godot's version. A version of all zeros, such as 0.0.0, is refused
--dry-run
Compute and log the whole build without uploading anything, as Valve's dry run
--default
Also set the build live on the default branch, while Steam shows the app unreleased. This goes through Steam's partner Web API, with the publisher key as builds finds it. Once the app is released, the build goes up without this. Set its default branch live in Steamworks then. In a game's folder, an upload does this without the flag
--demo
In a game's folder, ship the demo, a separate app, instead of the full game. It is built with the demo's build command. Its depots are kept apart from the full game's and ship only the Godot exports made with the demo's feature. It is checked against the demo's own settings snapshot, which must show it typed Demo with the full game as its base game
--content-root <DIR>
In a game's folder, upload the build from this folder instead of the one the game's app build script names as its ContentRoot. A relative path is read from the current folder, and a depot's own relative ContentRoot is read from this folder. A build command may make the folder. Without one it must exist already
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered
--json
Once steamcmd has run, print what came of it on standard output as one line of JSON: outcome, app, build_id, branch, live, default, description and, when the run failed, error with a code and a message. Everything else goes to standard error
--allow-ungreen
Upload a commit that is not on the game's green branch, such as a hotfix

steamship workshop

Upload a Workshop item, then print its ID.

Takes the item as a Valve workshopitem script, or as fields: the app first, then --items and the other options. From the fields, steamship writes the script itself. It checks the item and what it names, then has steamcmd upload it with the saved login.

A script with no publishedfileid makes a new item. Its ID is printed for you to add to the script. Given by fields, an item whose name the --items file lacks is made new, and its ID is written into that file. Either way, later uploads update the same item. In CI, a new item needs --new, since every run would make another.

With no fields and no first word, in a game's folder it uploads each example mod, or only the one --name names. The game's own app as the first word does the same. An example mod is a folder in modding/ holding a manifest.json. This is refused unless the tree holds nothing uncommitted and its commit is the tip of origin's default branch. Each mod's title, description and version come from its manifest. Its preview is the preview.png in its folder. Each item's ID is kept in steam/workshop_items.json.

A game's steamship.toml can set held_until_launch under [workshop]. An item for that game's app then goes up only once Steam shows the game released, or with --for-launch.

steamship workshop [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script, when the item is given by fields. Otherwise an item script such as workshop/item.vdf, or the game's own app
--items <FILE>
The file that keeps the ID of each item made, by the item's name, such as steam/workshop_items.json. Keep it with the game. A run on any machine then updates the item an earlier run made. steamship writes it and makes it if missing
--content <FOLDER>
The folder uploaded as the item's content
--preview-image <IMAGE>
The item's preview image, 1 MB at most
--title <TITLE>
The item's title, 128 bytes at most
--description <TEXT>
The item's description, 8000 bytes at most
--change-note <TEXT>
What changed in this upload, 8000 bytes at most, shown in the item's change notes
--name <NAME>
The item's name in the --items file, such as example. In a game's folder, the one example mod to upload
--visibility <VISIBILITY>
Who may see the item: public, friends-only, private or unlisted. Needed to make a new item. Left out, an existing item keeps its visibility. In a game's folder, it applies only to the items being made
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered
--new
Make a new item from CI, which is otherwise refused there
--for-launch
Upload an item while Steam still shows the game unreleased, though steamship.toml holds its Workshop items until launch
--dry-run
Check each item and upload nothing
--json
Once steamcmd has run, print what came of the run on standard output as one line of JSON: app, items (each with name, item_id, outcome and log) and, when the run failed, error with a code and a message. Everything else goes to standard error

steamship builds

Show an app's branches and last builds.

Lists each branch with the build live on it, then the last builds uploaded. It asks Steam's partner Web API, with the publisher key from STEAMSHIP_WEB_API_KEY, or else the one login kept. At a terminal, it asks for a key when there is neither.

steamship builds [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
--demo
In a game's folder, list the demo's branches and builds
--count <COUNT> default 10
How many of the last builds to list
--json
Print the branches and builds on standard output as one line of JSON, or what Steam failed with as an error holding a code. Everything else goes to standard error

steamship fetch

Download a branch's live build into its own folder.

Asks Steam's partner Web API which build is live on the branch, with the publisher key as builds finds it. steamcmd then downloads that build as the build account, with the saved login. It downloads for this system, or the one --system names.

Each app, branch and system has its own folder under steamship's home, or the one --output names. Nothing is installed in a Steam library. A fetch into a folder already holding a build of the branch checks each of the build's files there. It downloads only those that differ, and leaves files the build does not have in place. A folder holding another branch is refused. The folder and its build are printed once steamcmd's record of it shows the build asked for.

A branch's password comes from STEAMSHIP_BRANCH_PASSWORD, or else the system's credential store, or else the prompt, which can then keep it. steamship types it into steamcmd's console. --password-on-command-line gives it on steamcmd's command line instead. A kept password that Steam refuses is forgotten.

steamship fetch [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
--demo
In a game's folder, its demo
--branch <BRANCH>
The branch whose live build is fetched. The default branch, unless --build names a build live on another
--build <BUILD>
The build, by its build ID. Refused unless it is live on --branch, or without --branch, on some branch
--system <SYSTEM>
The system whose depots are fetched: windows, linux or macos. This system's by default
--output <FOLDER>
The folder to fetch the build into. It holds this one branch and system alone
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered
--password-on-command-line
Give steamcmd the branch's password on its command line, not typed into its console. Any program on this machine can read it there while the fetch runs
--keep-password
Keep the branch's password, from STEAMSHIP_BRANCH_PASSWORD or typed, in the system's credential store without asking, once Steam has accepted it
--json
Print one line of JSON on standard output: app, branch, build_id, system and folder once the build is fetched, or app and error when the fetch failed. Everything else goes to standard error

steamship achievements

Show, save or check an app's achievements and stats, or write their import.

Lists the achievements and stats Steam holds for the app, in English. Each achievement shows the share of players who have it, and each aggregated stat its total over all players. This goes through Steam's partner Web API, with the publisher key as builds finds it. --save writes them to a file instead, which --check then reads.

With --check, it compares them by API name with the files, read together. It exits 2 and names every achievement missing on either side, and every display name, description or hidden flag that differs. It also names every icon or locked icon Steam lacks. When a file lists stats, it compares their display names and defaults too, and whether Steam totals them over all players. With a localisation or gettext catalogues among the files, it also asks Steam for the achievements in each of their languages. It names every name or description that differs, or that Steam lacks in a language. Nothing on Steam is changed.

With --write, it writes the files for the achievement editor's Bulk Import/Export into the --output folder instead, from the same kind of files. Nothing is asked of Steam. The files hold the definitions, every name and description in each language, the sets' names, and each icon named for its achievement.

Either way, the files are refused first, exiting 2, when an achievement unlocks at a value its stat never takes. They are refused too for an achievement in a set no file lists, or for more sets or achievements than Steam takes.

Once the files are imported and published, --imported compares each icon Steam serves with its file, pixel by pixel. When all match, it writes the receipt steam-icons.json into the --output folder. --check with that --output then also names icons changed in the files since, and icons Steam made anew from an unchanged file. It names icons the receipt has no import of too. It fetches no images for this.

In a game's folder, --check and --write with no files read the game's own. These are the games-kit records in mods/base/data holding achievements, stats or sets, and every catalogue in game/locale. The --output folder is steam/achievements. --check compares the icons with its receipt once there is one. --imported alone writes that receipt.

steamship achievements [OPTIONS] [APP] [FILES]...
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<FILES>
JSON files of the achievements the app should have, each with its api_name, name, description and hidden. Stats to be checked go in them too, each with its api_name, name and default. A file may instead be a list of games-kit records, the JSON records a game keeps its content in. Those typed achievement and stat are read by the API name in steam. Each achievement and stat is in one file only. A .csv file is a localisation in the columns Steamworks' achievement editor exports. A .po file is a gettext catalogue. Either must translate every achievement. Files follow the app. --check or --write says what to do with them
--check
Compare the achievements Steam holds with the files
--save <FILE>
Write the achievements and stats Steam holds to this JSON file, as --check reads it. Refused, exiting 2, when an achievement has no name in English, which a file must give. Refused too when the file is there and holds more than --save writes, such as an icon or a sets list
--write
Write the achievement editor's import files from the achievement files, read as --check reads them. In a game's folder, with no files, write from the game's own into steam/achievements. The uploading page of the docs lists the fields an achievement and a set may give. It also says how a catalogue's texts are found: <https://aureliolo.github.io/steamship/uploading.html>
--output <FOLDER>
The folder --write writes into, made if missing. Files of the kinds it writes for the app that it would no longer write are removed. Other files, steam-icons.json among them, are left alone. With --check, the folder whose steam-icons.json the icons are checked against
--unchanged
Write nothing, and exit 2 naming each file in the folder that differs from what --write would write there, is missing, or is left over. steam-icons.json is none of these
--imported
Write only steam-icons.json into the folder, from the icons Steam holds once the folder's files are imported and published. In a game's folder it needs no --write. It is refused, exiting 2, when the folder is not as --write would write it. It is refused when Steam lacks an achievement or icon the files have, or has an icon for an achievement the files give none. It is refused when an icon Steam serves is not its file. That is when more than one pixel in a thousand is more than 64 of 255 off in a channel
--json
Print the achievements and stats on standard output as one line of JSON, or what Steam failed with as an error holding a code. Everything else goes to standard error

steamship assets

Check artwork and icons against Valve's sizes, before they are uploaded.

Reads every PNG, JPEG, icon and zip in the folder. Each is named for its asset, such as header_capsule.png, library_logo.png, screenshot_01.jpg or linux_icons.zip. A language's file adds Steam's name for the language, as in header_capsule_koreana.png. A subfolder named for a language, such as de or koreana, holds that language's files.

It exits 2 and names every file that is not a size or format Steamworks takes, is named for no asset, or cannot be read. It also names every file in the Linux icons that is not a square PNG, and says when there are too few screenshots. Nothing is sent anywhere.

steamship assets <FOLDER>
<FOLDER> required
The folder the artwork is kept in, such as steam/store

steamship drm-wrap

Wrap a Windows executable in Steam DRM, before it is uploaded.

Valve's servers add the app's Steam DRM to the executable, through steamcmd with the saved login. The wrapped executable replaces the one given, or goes to --output. Nothing is replaced unless the wrap succeeded. Valve's tool wraps only an executable that already imports GetModuleHandleA, and Godot's do not.

steamship drm-wrap [OPTIONS] [APP] <EXECUTABLE>
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<EXECUTABLE> required
The Windows executable, such as build/windows/game.exe
--output <FILE>
Write the wrapped executable here instead of replacing the one given
--compatibility
Wrap in Valve's compatibility mode, for an executable the default wrap breaks
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered

steamship settings

Show an app's settings in Steamworks, or check them against a snapshot.

Asks Steam, through steamcmd with the saved login, for the Steamworks settings a build depends on. These are the app's name, type and systems, its install folder, launch options and runtime, its depots' systems, and Steam Cloud. --save keeps them in a snapshot file, in Valve's own format. --check exits 2 naming every setting that differs from that file. In a game's folder, with no file given, the file is settings.vdf beside the build scripts. Nothing on Steam is changed.

steamship settings [OPTIONS] [APP] [FILE]
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<FILE>
The snapshot file, after the app. In a game's folder, settings.vdf beside its build scripts
--demo
In a game's folder, uses the demo and its own snapshot beside the build scripts. Takes no app or file. To name a file, give the demo's ID as the app instead
--save
Write the settings to the snapshot file, replacing it, to check against later. Refused, exiting 2, for an install folder of anything but letters and digits
--check
Compare the settings with the snapshot file, as --save wrote it. An install folder of anything but letters and digits is a difference
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered

steamship leaderboards

Show, save, check, create or delete an app's leaderboards.

Lists the leaderboards Steam holds for the app, through Steam's partner Web API with the publisher key as builds finds it. --save writes them to a file instead, which --check then reads. With --check, it compares them by name with the files. It exits 2 and names every leaderboard missing on either side and every setting that differs.

With --create, leaderboards in the files that Steam lacks are made first, with the files' settings. With --delete-missing, leaderboards on Steam that the files no longer hold are deleted first, with their scores. That happens only while steamcmd's app info shows the build account the app unreleased. An existing leaderboard is never changed or made again.

In a game's folder, --check with no files, --create or --delete-missing alone reads the games-kit records in mods/base/data holding leaderboards.

steamship leaderboards [OPTIONS] [APP] [FILES]...
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<FILES>
JSON files of the leaderboards the app should have, each with its name, sort, display, trusted_writes, friends_only and period. A file may instead be a list of games-kit records, the JSON records a game keeps its content in. Those typed leaderboard are read by the name in steam. Each leaderboard is in one file only. Files follow the app. --check, --create or --delete-missing says what to do with them
--check
Compare the leaderboards Steam holds with the files
--save <FILE>
Write the leaderboards Steam holds to this JSON file, as --check reads it. Refused, exiting 2, when a leaderboard has no display type, which a file cannot give. Refused too when the file is there and holds more than --save writes, such as a period
--create
Make the leaderboards in the files that Steam lacks, before checking
--delete-missing
Delete the leaderboards on Steam that the files do not hold, before checking. Refused once the app is released, as their players' scores would go with them
--json
Print the leaderboards on standard output as one line of JSON, or what Steam failed with as an error holding a code. Everything else goes to standard error
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account that asks Steam whether the app is released, if not the one the last login remembered

steamship rich-presence

Upload an app's rich presence localisation.

Sends Valve's rich presence files, one per language, through Steam's partner Web API with the publisher key as builds finds it. Each language's tokens on Steam are replaced by the file's. A token taken out of the file is gone from Steam after the upload.

Files are checked first, and nothing is sent while one is wrong. A file is refused for a token that does not start with #, or for a token listed twice. It is refused for a text that refers to {#Prefix_%field%} when no token starts with that prefix. It is refused for a text holding a slot Steam cannot fill: anything but %field% and {#Token_%field%}.

With neither the app nor files, in a game's folder, it sends every rich_presence_<language>.vdf beside the game's build scripts. That is refused unless the tree holds nothing uncommitted and its commit is the tip of origin's default branch.

steamship rich-presence [OPTIONS] [APP] [FILES]...
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
--demo
In a game's folder, send the full game's files to its demo
<FILES>
The rich presence files after the app, such as steam/rich_presence_english.vdf. In a game's folder, every one beside its build scripts
--dry-run
Check the files and show what would be sent, without sending anything

steamship text

Write a game's store, Workshop and rich presence text in every language it speaks.

In a game's folder, translates the English kept beside its build scripts with every gettext catalogue in its locale folder. It writes five kinds of file beside the scripts.

store/<language>.json comes from store_english.json once that names the page's itemid. The store page's Localization tab uploads these, every language at once.

basic_info.json holds each language's recommended system requirements, by their names on the Basic Info form. The Localization tab drops them.

ai_disclosure.json is the content survey's statement of how AI was used, by language, from the disclosure in store_english.json.

workshop/<language>.json is the Workshop page's title and description, from workshop_english.json.

rich_presence_<language>.vdf comes from presence_english.json, or else from a rich_presence_english.vdf kept by hand. rich-presence sends it.

A catalogue translates the English under the context store page, steam workshop or rich presence. Anything it leaves untranslated or marks fuzzy is refused, and then nothing is written. The same goes for a short description past the 300 characters the store page shows, or a Workshop description past the 200 it takes. A file of these kinds that would no longer be written is removed.

steamship text [OPTIONS]
--unchanged
Write nothing, and exit 2 naming each file that differs from what would be written, is missing, or is left over
--template
Print every English text Steam shows as a gettext template, for a game's own template to take in. Nothing is written beside the scripts. Each text is under the context the catalogues translate it by, with a translator note and max-length:N where Steam's room for it is short. Texts that records or other files supply are left out. The rest are under steam achievements
--steam
Write nothing. Exit 2 and name each minimum or recommended system requirement that the game's public store page does not show as given. The page is compared in each language with store_english.json and its translations. Steam shows requirements only once the page is public, Coming Soon included. Memory, storage, the DirectX version and VR support are not compared

steamship promote

Set an uploaded build live on a branch.

Nothing is uploaded again. It goes through Steam's partner Web API, with the publisher key as builds finds it. The default branch is set live only while Steam shows the build account the app unreleased. Once the app is released, set its default branch live in Steamworks instead.

steamship promote [OPTIONS] --build <BUILD> --branch <BRANCH> [APP]
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
--demo
In a game's folder, its demo
--build <BUILD> required
The build, by its build ID
--branch <BRANCH> required
The branch to set it live on
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account that asks Steam whether the app is released, for the default branch, if not the one the last login remembered

steamship rollback

Set a branch back to its previous build.

Players on the branch then update to that build. It sets live the build steamship recorded on the branch before the current one, through Steam's partner Web API, with the publisher key as builds finds it. Uploads from a game record the build they set live on each branch, in steamship's home. So this works only on the machine that uploaded. A branch with no earlier recorded build is refused. The default branch is set live only while Steam shows the build account the app unreleased.

steamship rollback [OPTIONS] [APP] <BRANCH>
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<BRANCH> required
The branch to set back
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account that asks Steam whether the app is released, for the default branch, if not the one the last login remembered

steamship branch

Set the description players see for a beta branch.

Steam shows this text where players choose a beta branch, in the game's Betas properties. It is set through Steam's partner Web API, with the publisher key as builds finds it. The default branch's description is set in Steamworks only.

steamship branch --description <DESCRIPTION> [APP] <BRANCH>
<APP>
The app, by its ID or its app build script. In a game's folder, the game's own
<BRANCH> required
The beta branch
--description <DESCRIPTION> required
Its new description, such as the version live on it

steamship ci

Set up uploads from CI, with the login as a secret.

Finds the GitHub repository, its app build script and the saved login. It checks the script, and checks the login with Steam. It then sets the login as a secret with the GitHub command line, gh, and shows the workflow step that uploads. It asks for anything it cannot find and an option did not give. The secret holds the token steamcmd saved, never a password.

steamship ci [OPTIONS] [APP]
<APP>
The app, by its ID or its app build script, if not the one found in the repository
--repo <REPO>
The GitHub repository as owner/name, if not the one origin points at
--account <ACCOUNT> or STEAMSHIP_ACCOUNT
The build account, if not the one the last login remembered
--secret <SECRET> default STEAMSHIP_LOGIN
The name of the secret the login is kept in
--output <OUTPUT>
Write the login to this file instead, for a CI other than GitHub Actions

steamship logout

Forget the saved login.

Removes the login steamcmd saved, the account steamship remembered, the kept Web API key and the kept branch passwords. The next upload needs steamship login first.

steamship logout

steamship init

Write starter build scripts for an app.

Writes a commented app build script, and a depot build script for each depot, into --output. They are in Valve's own format, for check and upload to read. Without --depot, there is one depot. Its ID is the app's ID plus one. It ships build/. Nothing already there is overwritten.

steamship init [OPTIONS] <APP>
<APP> required
The app's ID, from Steamworks
--depot <ID=FOLDER>
A depot and the folder its files ship from, such as 1001=build/windows. The folder is relative to where init runs, not to --output. Give it once for each depot
--output <OUTPUT> default steam
The folder the scripts are written into

steamship install

Install or verify the pinned steamcmd.

login and upload install it themselves. Run this to do it ahead of time, as in CI.

steamship install

steamship languages

List Steam's languages with their locale codes.

Lists each locale steamship reads a catalogue for with Steam's name for its language, such as pt-BR and brazilian. Steam's name is the API language code that names its files. A locale is matched regardless of case, with _ read as -.

steamship languages [OPTIONS]
--json
Print the list as one JSON object, from each locale to Steam's name for its language

steamship self check

Check that this steamship is its release's own binary, byte for byte.

Reads the SPDX SBOM published with this version's GitHub release. It lists the SHA-256 of each system's binary. This binary's is compared with the one built for this system. A binary that differs was built elsewhere or altered since. Install the release's own binary, from its archive or with cargo binstall. A build from source, such as cargo install, differs from every release's.

steamship self check

steamship completions

Print tab completion for bash, zsh, fish, PowerShell or elvish.

bash: steamship completions bash > ~/.local/share/bash-completion/completions/steamship zsh: steamship completions zsh > "${fpath[1]}/_steamship" fish: steamship completions fish > ~/.config/fish/completions/steamship.fish PowerShell: steamship completions powershell >> $PROFILE

steamship completions <SHELL>
<SHELL> required
The shell to complete in

Exit codes

CodeMeaning
0Done
1The command failed and printed why. A second run makes no duplicate
2A check refused the input or found a difference, and named each. Or the command line was wrong
3Not logged in, or Steam refused the saved login. Run steamship login
4steamcmd's install is missing, altered or failed. A second run makes no duplicate
5Steam holds a build or Workshop item that a second run would duplicate. The output says what to do
6Steam is limiting login attempts. Wait, then run the same command again. Do not log in again

On Linux and macOS, a SIGINT, SIGHUP or SIGTERM sent to steamship stops steamcmd. steamship prints its logs and ends as that signal would, so a shell sees 128 plus the signal's number: 130, 129 or 143. On Windows, steamcmd ends with steamship and its logs are not printed.

Environment

VariableMeaning
STEAMSHIP_HOMEFolder for steamcmd, its token and build output, in place of the per-user folder status shows
STEAMSHIP_ACCOUNTThe build account, if not the one login remembered
STEAMSHIP_LOGINIn CI, the login steamship ci set as a secret, for upload and status
STEAMSHIP_WEB_API_KEYThe publisher Web API key, for builds and the other Web API commands, before any kept one
STEAMSHIP_BRANCH_PASSWORDThe password of the beta branch fetch downloads, before any kept one
STEAMSHIP_NO_UPDATE_CHECKSet to anything to never ask GitHub for a newer release
CISet by CI systems. A non-empty value silences the update notice. Unless it is false, a Workshop item without an ID needs --new
GITHUB_ACTIONSSet to true by GitHub Actions. steamship then masks the CI account's name and prints Steam's logs as collapsed groups
GITHUB_OUTPUTIn GitHub Actions, the file steamship writes the build ID or the item's ID to, as a step output
HOMEOn macOS, and on Linux when XDG_DATA_HOME is not set, the folder the default per-user folder goes in
XDG_DATA_HOMEOn Linux, the folder the default per-user folder goes in, before HOME
LOCALAPPDATAOn Windows, the folder the default per-user folder goes in
DBUS_SESSION_BUS_ADDRESSOn Linux, the address of the session bus that reaches GNOME Keyring or KWallet, where the kept Web API key and beta branch passwords are
XDG_RUNTIME_DIROn Linux, where the session bus socket is looked for when DBUS_SESSION_BUS_ADDRESS is not set

There is no password setting anywhere: a password is typed at steamship login and passed straight to steamcmd.