README: where the cache and saves are, and how to move each (#810) #2179

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

@⁠hussainmussa on GitHub · 2026-11-29 10:15 UTC · original
hussainmussa:docs/810-cache-folder → main · +15 −2 · 2 files · 1 commits · open

Fixes #810

What it changes

The settings #810 asks for already exist (VICTORY_CACHE_DIR, VICTORY_DATA_DIR, VICTORY_HOME, and cache_dir / data_dir in victory.toml), but the README named only VICTORY_HOME. This adds two short points after it: what the cache folder holds and where it is, how to move the cache alone or the saves alone, that the old cache is not moved for you, that the saves must not be inside the cache, and which setting counts when several are set. victory.example.toml's comments get the defaults under VICTORY_HOME and the same rule. It also answers the question in #496 about where the cache folder is.

No code changes.

How it was tested

  • victory.exe config (release build of 0338ec6) in a temporary folder: nothing set, VICTORY_HOME alone, a victory.toml beside it, each variable over the file, an empty variable, and data_dir inside cache_dir (refused). Each gave the folders the README now describes.
  • cargo test -p victory-core: 16 passed.
  • Not run in the game: no code changed.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none found for #810.

Written with help from Claude; everything above was built and run on my machine.

**@⁠hussainmussa** on GitHub · 2026-11-29 10:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2179) `hussainmussa:docs/810-cache-folder` → `main` · +15 −2 · 2 files · 1 commits · open Fixes #810 ## What it changes The settings #810 asks for already exist (`VICTORY_CACHE_DIR`, `VICTORY_DATA_DIR`, `VICTORY_HOME`, and `cache_dir` / `data_dir` in `victory.toml`), but the README named only `VICTORY_HOME`. This adds two short points after it: what the cache folder holds and where it is, how to move the cache alone or the saves alone, that the old cache is not moved for you, that the saves must not be inside the cache, and which setting counts when several are set. `victory.example.toml`'s comments get the defaults under `VICTORY_HOME` and the same rule. It also answers the question in #496 about where the cache folder is. No code changes. ## How it was tested - `victory.exe config` (release build of `0338ec6`) in a temporary folder: nothing set, `VICTORY_HOME` alone, a `victory.toml` beside it, each variable over the file, an empty variable, and `data_dir` inside `cache_dir` (refused). Each gave the folders the README now describes. - `cargo test -p victory-core`: 16 passed. - Not run in the game: no code changed. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none found for #810. Written with help from Claude; everything above was built and run on my machine.
The settings exist (VICTORY_CACHE_DIR, VICTORY_DATA_DIR, VICTORY_HOME,
cache_dir and data_dir in victory.toml) but the README named only
VICTORY_HOME, and issue #810 asked for what is already there.

- README: what the cache folder holds and where it is, how to move the
  cache alone or the saves alone, that the old cache is not moved, that
  the saves must not be inside the cache, which setting counts when
  several are set, and that `victory.exe config` prints the folders in use.
- victory.example.toml: the defaults under VICTORY_HOME, and the rule
  about data_dir inside cache_dir.

Checked with `victory.exe config` in a temporary folder: nothing set,
VICTORY_HOME alone, a victory.toml beside it, each variable over the
file, an empty variable, and data_dir inside cache_dir (refused).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 10:17:28 +00:00
github-bot force-pushed github-bot/gh-2179 from ea167737b1 to 3bf176c142 2026-11-29 10:39:09 +00:00 Compare
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/2179/head:github-bot/gh-2179'
git switch 'github-bot/gh-2179'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2179'
git switch 'github-bot/gh-2179'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2179'
git switch 'github-bot/gh-2179'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2179'
git switch 'main'
git merge --squash 'github-bot/gh-2179'
git switch 'main'
git merge --ff-only 'github-bot/gh-2179'
git switch 'main'
git merge 'github-bot/gh-2179'
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/trustno1-coder--VIctory-NVIDIA!2179
No description provided.