Skip to content

Commit

Permalink
feat: Configurable Steam AppID
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren committed Oct 30, 2023
1 parent 1a3831c commit 428e433
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV TRACY_NO_INVARIANT_CHECK=1

ENV STEAM_USER=""
ENV STEAM_PASSWORD=""
ENV STEAM_APPID="1874900"
ENV STEAM_BRANCH="public"
ENV STEAM_BRANCH_PASSWORD=""

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ Check [the Dockerfile](Dockerfile#L32-L64), more docs will come later.
By default the configs are generated from the ENV variables in the dockerfile. After the first run the file can be expanded with additional options manually, but the fields will always be overwritten by the ENV variables.

Alternatively, change the `ARMA_CONFIG` variable to a file present in the `Configs` volume. It will be used without modification.

### Experimental server

To use the experimental server instead of the regular set `STEAM_APPID` variable to `1890870`.
2 changes: 1 addition & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def bool_str(text):
)
else:
steamcmd.extend(["+login", "anonymous"])
steamcmd.extend(["+app_update", "1874900"])
steamcmd.extend(["+app_update", os.environ["STEAM_APPID"]])
if env_defined("STEAM_BRANCH"):
steamcmd.extend(["-beta", os.environ["STEAM_BRANCH"]])
if env_defined("STEAM_BRANCH_PASSWORD"):
Expand Down

0 comments on commit 428e433

Please sign in to comment.