Repository navigation
Commands
Every command and option the CLI accepts. Run any command with --help to see the same information for your installed version:
stalker-gamma --help
stalker-gamma full-install --helpThe executable is stalker-gamma (stalker-gamma.exe on Windows, stalker-gamma+linux.<arch>.AppImage if you run the AppImage directly).
Every command accepts --json to write machine-readable output. See JSON Output.
Most commands work on your active profile, which stores your Anomaly, GAMMA and cache paths. Create one with config create before anything else.
Installs or updates Anomaly and every GAMMA addon. Needs about 150 GB.
stalker-gamma full-install| Option | Description |
|---|---|
--preserve-user-settings |
Keep user.ltx (hotkeys, graphics). See Advanced. |
--preserve-mcm-settings |
Keep MCM settings. See Advanced. |
--resume |
Continue a failed full-install from resume.txt in your gamma folder. See Advanced. |
--download-threads <n> |
Override the profile's download threads for this run (1–20). |
--minimal |
Delete cache archives after extracting. About 100 GB instead of 150 GB, but installs are more likely to fail and updates are much slower. |
--use-anomaly-mirror |
Download Anomaly from the faith-beam.com mirror, which extracts about 9× faster. See Anomaly Mirror. |
--stalker-gamma-server-url <url> |
Send ModDB page requests through the Stalker GAMMA Server (experimental). |
--skip-github-downloads |
Don't re-download GitHub addons. They still download if the archive isn't in your cache. |
--skip-extract-on-hash-match |
Skip extracting archives whose MD5 hash matches. |
--offline-archive-path <path> |
Extract an offline cache tar archive to your cache folder, then install offline with the modpack_maker_list.txt and modlist.txt inside it. Nothing is downloaded. See Offline Install. |
--mod-pack-maker-path <path> |
Install this modpack_maker_list.txt instead of downloading the latest one. Overrides the one in --offline-archive-path. |
--mod-list-path <path> |
Install this modlist.txt instead of downloading the latest one. Overrides the one in --offline-archive-path. |
--add-folders-to-win-defender-exclusion |
(Windows) Add the anomaly, gamma and cache folders to the Windows Defender exclusion list. |
--enable-long-paths |
(Windows) Enable long path support. |
--verbose |
More detailed logging. |
--json |
NDJSON output. |
Lists the addons that were added, changed or removed since your last install.
stalker-gamma update checkApplies those updates.
stalker-gamma update apply| Option | Description |
|---|---|
--preserve-user-settings |
Keep user.ltx. |
--preserve-mcm-settings |
Keep MCM settings. |
--resume |
Continue a failed update apply from resume.txt. |
--minimal |
Delete cache archives after extracting. |
--stalker-gamma-server-url <url> |
Use the Stalker GAMMA Server. |
--verbose |
More detailed logging. |
--json |
NDJSON output. |
| Command | Description |
|---|---|
anomaly install |
Install only Stalker Anomaly. Accepts --use-anomaly-mirror, --verbose and --json. |
anomaly check |
Verify every Anomaly file against checksums.md5 and report missing or corrupt files. |
anomaly purge-shader-cache |
Delete <anomaly>/appdata/shaders_cache. Try this after graphics changes or visual glitches. |
anomaly delete-reshade |
Delete ReShade files (d3d9.dll, dxgi.dll, ReShade.ini, reshade-shaders/, …) from <anomaly>/bin. |
| Command | Description |
|---|---|
cache prune check |
List cached addon archives that are out of date and could be deleted, with their sizes. |
cache prune apply |
Delete them. Anomaly archives are never pruned. |
A profile stores your install paths and settings. Settings live in settings.json in the CLI's app data folder (%APPDATA%\stalker-gamma on Windows, ~/.config/stalker-gamma on Linux and macOS). config info prints the exact path.
| Command | Description |
|---|---|
config create |
Create a profile and make it active. See the options below. |
config / config info
|
Print the active profile's settings. |
config set <setting> <value> |
Change a setting on the active profile. See Advanced. |
config list |
List profiles and show which is active. |
config use <name> |
Make a profile active. |
config delete <name> |
Delete a profile. If it was active, run config use for another one. |
| Option | Default | Description |
|---|---|---|
--anomaly <path> |
required | Where Anomaly is installed. |
--gamma <path> |
required | Where GAMMA (Mod Organizer 2) is installed. |
--cache <path> |
required | Where downloaded archives are kept. |
--name <name> |
gamma |
Profile name. |
--download-threads <n> |
4 |
Concurrent downloads and extracts (1–20). |
--mo2-profile <name> |
G.A.M.M.A |
The Mod Organizer profile the mo2 mod commands work on. |
--mod-pack-maker-url <url> |
stalker-gamma.com API | Source of modpack_maker_list. |
--mod-list-url <url> |
Stalker_GAMMA modlist.txt
|
Source of modlist.txt. |
--gamma-setup-repo-url / --gamma-setup-repo-branch
|
Grokitach/gamma_setup, main
|
|
--stalker-gamma-repo-url / --stalker-gamma-repo-branch
|
Grokitach/Stalker_GAMMA, main
|
|
--gamma-large-files-repo-url / --gamma-large-files-repo-branch
|
Grokitach/gamma_large_files_v2, main
|
|
--teivaz-anomaly-gunslinger-repo-url / --teivaz-anomaly-gunslinger-repo-branch
|
Grokitach/teivaz_anomaly_gunslinger, main
|
|
--python-api-url <url> |
http://localhost:8000 |
Leave as is unless you know you need it. |
Branch options accept a branch name or a commit SHA. See Advanced.
Relative paths such as
gamma/anomalyare resolved against the folder you runconfig createfrom and saved as absolute paths. Runconfig infoafterwards to check where everything will go. (config setsaves paths exactly as you type them, so use absolute paths there.)
The installer links <gamma>/downloads to your cache folder, so the cache is also where Mod Organizer looks for downloads.
Running config create with the --name of an existing profile updates that profile.
These commands edit your GAMMA install's Mod Organizer files directly. Close Mod Organizer before running them.
| Command | Description |
|---|---|
mo2 profiles list |
List the MO2 profiles in your GAMMA install. |
mo2 profile list mods <profile> |
List every mod in a profile and whether it's enabled. |
mo2 profile delete <profile> |
Delete an MO2 profile. |
mo2 config get selected-profile |
Show the profile MO2 opens with. |
mo2 config set selected-profile <profile> |
Change the profile MO2 opens with. |
mo2 mod status <mod> |
Show whether a mod is enabled. |
mo2 mod enable <mod> |
Enable a mod. |
mo2 mod disable <mod> |
Disable a mod. |
mo2 mod delete <mod> |
Remove a mod from the profile's modlist.txt. This doesn't delete the mod's files. |
The mo2 mod commands work on the MO2 profile set in your CLI profile (mo2Profile, G.A.M.M.A by default). Mod names must match exactly, including case. Quote names with spaces:
stalker-gamma mo2 mod disable "Some Addon Name"| Command | Description |
|---|---|
gog fix-install |
Fix a GOG GAMMA install whose ModOrganizer.ini has bad paths. It also moves the installer's git repos into <gamma>/downloads so the CLI can update them. |
| Command | Description |
|---|---|
debug logs |
Open the logs folder. |
debug hash-install |
Hash your Anomaly, GAMMA and cache folders and zip the result. Only for debugging a broken install when asked. |