docs: mention path override env vars in README #2339

Open
github-bot wants to merge 1 commit from github-bot/gh-2339 into main AGit
Owner

@⁠romeawayfromhome-rgb on GitHub · 2026-11-25 11:03 UTC · original
romeawayfromhome-rgb:docs/path-overrides-readme → main · +1 −1 · 1 files · 1 commits · open

Documents the path override environment variables next to the README's data/cache folder description.

Source check: crates/victory-core/src/config.rs resolves VICTORY_CACHE_DIR, VICTORY_DATA_DIR, and VICTORY_GAME_DIR before the config file/default paths. The README described the default data/cache folders but did not name the overrides.

Claim: #1633

Prepared with AI assistance (Clifford / Muse Spark); conducted by LegendaryGodKing (romeawayfromhome-rgb).

**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-25 11:03 UTC · [original](https://github.com/Marvisak/VIctory/pull/2339) `romeawayfromhome-rgb:docs/path-overrides-readme` → `main` · +1 −1 · 1 files · 1 commits · open Documents the path override environment variables next to the README's data/cache folder description. Source check: `crates/victory-core/src/config.rs` resolves `VICTORY_CACHE_DIR`, `VICTORY_DATA_DIR`, and `VICTORY_GAME_DIR` before the config file/default paths. The README described the default data/cache folders but did not name the overrides. Claim: https://git.gtahub.st/github/Marvisak--VIctory/issues/1633 Prepared with AI assistance (Clifford / Muse Spark); conducted by LegendaryGodKing (romeawayfromhome-rgb).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:02:45 +00:00
Author
Owner

@⁠cloph-dsp on GitHub · 2026-11-25 13:09 UTC · original

Independent local validation for Victory PR #2339 (Windows, Rust 1.100.0/MSVC, head a0dab6a, no game data): README one-line note about VICTORY_DATA_DIR/VICTORY_CACHE_DIR overrides and VICTORY_GAME_DIR when victory.toml has no game dir — docs-only. cargo test --locked -p victory --bins -> 10 tests passed, exit 0; git diff --check HEAD~1 HEAD clean. I did not verify the override behaviour at runtime. AI-assisted (Hy4 flash). GPU/driver: N/A. No game data, assets or extracted content used.

**@⁠cloph-dsp** on GitHub · 2026-11-25 13:09 UTC · [original](https://github.com/Marvisak/VIctory/pull/2339#issuecomment-7163371894) Independent local validation for Victory PR #2339 (Windows, Rust 1.100.0/MSVC, head a0dab6a, no game data): README one-line note about VICTORY_DATA_DIR/VICTORY_CACHE_DIR overrides and VICTORY_GAME_DIR when victory.toml has no game dir — docs-only. `cargo test --locked -p victory --bins` -> 10 tests passed, exit 0; `git diff --check HEAD~1 HEAD` clean. I did not verify the override behaviour at runtime. AI-assisted (Hy4 flash). GPU/driver: N/A. No game data, assets or extracted content used.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 15:27 UTC · original

Automated triage for the maintainers.

Needs work (one wording fix). Documenting the path overrides is useful, and VICTORY_DATA_DIR / VICTORY_CACHE_DIR are described correctly. The VICTORY_GAME_DIR sentence is not accurate, though: in crates/victory-core/src/config.rs (Config loading), env_path("VICTORY_GAME_DIR").or(file.game_dir) means the variable takes precedence over [paths].game_dir in victory.toml, not only when the file leaves it unset. Please reword it, for example "VICTORY_GAME_DIR sets the game folder (it takes precedence over victory.toml)"; the data and cache variables also take precedence over the file. CI: not run.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 15:27 UTC · [original](https://github.com/Marvisak/VIctory/pull/2339#issuecomment-7166866224) <!-- victory-triage v1 head=a0dab6a5c56f10e05975d67ad9324f67abbacc98 verdict=needs-work at=2026-11-25T15:27:00Z --> Automated triage for the maintainers. **Needs work (one wording fix).** Documenting the path overrides is useful, and `VICTORY_DATA_DIR` / `VICTORY_CACHE_DIR` are described correctly. The `VICTORY_GAME_DIR` sentence is not accurate, though: in `crates/victory-core/src/config.rs` (`Config` loading), `env_path("VICTORY_GAME_DIR").or(file.game_dir)` means the variable takes precedence over `[paths].game_dir` in `victory.toml`, not only when the file leaves it unset. Please reword it, for example "`VICTORY_GAME_DIR` sets the game folder (it takes precedence over `victory.toml`)"; the data and cache variables also take precedence over the file. CI: not run. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2339/head:github-bot/gh-2339'
git switch 'github-bot/gh-2339'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2339'
git switch 'github-bot/gh-2339'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2339'
git switch 'github-bot/gh-2339'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2339'
git switch 'main'
git merge --squash 'github-bot/gh-2339'
git switch 'main'
git merge --ff-only 'github-bot/gh-2339'
git switch 'main'
git merge 'github-bot/gh-2339'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!2339
No description provided.