Repository navigation
Advanced
Welcome to the advanced wiki! You'll find more in-depth explanations and options here. For a list of every command and option, see Commands.
You can preserve your user settings (user.ltx: hotkeys, graphics) between updates with this switch.
Switch: --preserve-user-settings
Commands:
full-installupdate apply
stalker-gamma full-install --preserve-user-settings
stalker-gamma update apply --preserve-user-settingsThis keeps your MCM settings between updates.
Switch: --preserve-mcm-settings
Commands:
full-installupdate apply
stalker-gamma full-install --preserve-mcm-settings
stalker-gamma update apply --preserve-user-settings --preserve-mcm-settingsIf full-install or update apply fails or is cancelled partway through, the CLI writes resume.txt to your gamma folder. It records which addons were already downloaded and extracted. Run the same command again with --resume to pick up where it stopped instead of starting over:
stalker-gamma full-install --resume
stalker-gamma update apply --resume- Resume with the same command that failed. A
resume.txtwritten byfull-installcan't be resumed withupdate apply, and the reverse is also true. - If there's no
resume.txt,--resumelogs a warning and starts from scratch. -
resume.txtis deleted when the command succeeds.
Download Threads = the number of concurrent downloads and extracts. The default is 4, and the allowed range is 1–20.
Set it permanently on your profile (replace X):
stalker-gamma config set DownloadThreads XOr override it for a single run:
stalker-gamma full-install --download-threads XModDB can limit download speed per addon. If each download runs at about 2 MB/s, you're probably limited, and raising Download Threads a lot helps. If you have the processing power, 10 is a good start in that case. On slow disks or low-RAM machines, go lower instead.
config set changes one setting on the active profile. Setting names are case-insensitive.
stalker-gamma config set <setting> <value>
stalker-gamma config info # check the result| Setting | What it is |
|---|---|
ProfileName |
The CLI profile's name |
Anomaly, Gamma, Cache
|
Install paths. Use absolute paths; config set doesn't resolve relative ones. |
Mo2Profile |
The MO2 profile the mo2 mod commands work on |
DownloadThreads |
See Download Threads |
ModPackMakerUrl, ModListUrl
|
Where the addon list and MO2 mod order come from |
GammaSetupRepoUrl, GammaSetupRepoBranch
|
gamma_setup repo |
StalkerGammaRepoUrl, StalkerGammaRepoBranch
|
Stalker_GAMMA repo |
GammaLargeFilesRepoUrl, GammaLargeFilesRepoBranch
|
gamma_large_files_v2 repo |
TeivazAnomalyGunslingerRepoUrl, TeivazAnomalyGunslingerRepoBranch
|
teivaz_anomaly_gunslinger repo |
PythonApiUrl |
Leave as is unless you know you need it |
You can keep several installs, for example a stable one and a testing one, each with its own profile. Every command works on the active profile.
stalker-gamma config create --name testing \
--anomaly ~/games/gamma-testing/anomaly \
--gamma ~/games/gamma-testing/gamma \
--cache ~/games/gamma/cache # profiles can share a cache
stalker-gamma config list # -> marks the active profile
stalker-gamma config use gamma # switch back
stalker-gamma config delete testingconfig create makes the new profile active. Deleting a profile only removes it from the CLI's settings. Your files stay on disk.
Each GAMMA git repo has a URL and a branch setting. The branch setting also accepts a commit SHA, which lets you pin your install to a specific GAMMA version or try a fork:
stalker-gamma config set StalkerGammaRepoBranch <commit-sha>
stalker-gamma config set GammaSetupRepoUrl https://github.com/<you>/gamma_setupTo use a different addon list, such as the Steam Deck / Potato Mode lists, set ModListUrl and ModPackMakerUrl, or pass --mod-list-url and --mod-pack-maker-url to config create.
--minimal deletes each archive from your cache after it's extracted. A full install then takes about 100 GB instead of about 150 GB.
stalker-gamma full-install --minimalThe trade-offs: installs are more likely to fail, and every update has to download its addons again, so updates are much slower. Use it only if you're short on space.
When GAMMA updates an addon, the old archive stays in your cache. To see what can be removed, then remove it:
stalker-gamma cache prune check
stalker-gamma cache prune applyAnomaly archives are never pruned.
-
--skip-extract-on-hash-match: skip extracting archives whose MD5 hash matches. -
--skip-github-downloads: don't re-download GitHub addons that are already in your cache. -
--use-anomaly-mirror: download Anomaly as an archive that extracts about 9× faster. See Anomaly Mirror.