[pr-docs][startup] Clarify Windows play settings precedence #241

Open
superhero-520 wants to merge 1 commit from superhero-520/Darner:docs-windows-settings-precedence into main
First-time contributor

Contributor role (optional)

Role already held.

What it changes

The README says a Windows environment setting wins over both the settings file and --set. The normal darner play startup clears most inherited DARNER_* variables and applies --set after reading the file. Standalone shaders, warm and preload preserve values already set. This updates one README bullet.

How it was tested

  • On unmodified main f3840d73d3504c30218debfbc8795b9225447317, I used temporary settings files on Windows build 26300 and observed the process environment after the production settings functions returned. With DARNER_FRAMEGEN_X=6 inherited and 4 in the file, play installed 4. Adding --set DARNER_FRAMEGEN_X=5 installed 5. The standalone defaults path kept 6, and used 4 when the variable was absent.
  • Verified the three standalone command dispatches in main.rs. The 60 focused play/rig tests passed on that main revision.
  • Documentation commit c66ffd5776a8d7aa919fe10192eb9b48c353b5e8 passed git diff --check and the asset-policy check (555 files). The workspace-wide Rust gates were not rerun for this README-only change.

Checklist

  • Documentation only. The measurements stop before game startup.
  • One change based on main.
  • Checked the asset policy.
  • Depends on: none.

Checked for overlap

## Contributor role (optional) Role already held. ## What it changes The README says a Windows environment setting wins over both the settings file and `--set`. The normal `darner play` startup clears most inherited `DARNER_*` variables and applies `--set` after reading the file. Standalone `shaders`, `warm` and `preload` preserve values already set. This updates one README bullet. ## How it was tested - On unmodified main `f3840d73d3504c30218debfbc8795b9225447317`, I used temporary settings files on Windows build 26300 and observed the process environment after the production settings functions returned. With `DARNER_FRAMEGEN_X=6` inherited and 4 in the file, `play` installed 4. Adding `--set DARNER_FRAMEGEN_X=5` installed 5. The standalone defaults path kept 6, and used 4 when the variable was absent. - Verified the three standalone command dispatches in `main.rs`. The 60 focused play/rig tests passed on that main revision. - Documentation commit `c66ffd5776a8d7aa919fe10192eb9b48c353b5e8` passed `git diff --check` and the asset-policy check (555 files). The workspace-wide Rust gates were not rerun for this README-only change. ## Checklist - [x] Documentation only. The measurements stop before game startup. - [x] One change based on main. - [x] Checked the asset policy. - [x] Depends on: none. ## Checked for overlap - [x] Searched issues and pull requests and checked the current README diffs. - #233 changes saved F1 factor precedence. This correction describes existing main behavior and can merge independently. - Other open PRs touching the README were #9, #10, #12, #14, #15, #16, #17, #18, #34, #37, #59, #75, #110, #140, #142, #145, #146, #152, #153, #161, #175, #180, #185, #196, #205, #216 and #217. None changes this precedence statement.
On Windows at f3840d73, play replaced an inherited DARNER_FRAMEGEN_X=6 with the saved factor 4, or with 5 when supplied via --set. The defaults path shared by standalone shaders, warm, and preload preserved the inherited 6 and used 4 when the variable was absent.
First-time contributor

PASS

Review of c66ffd577.

The settings-precedence note distinguishes Windows darner play (which clears most inherited DARNER_* variables and applies --set after the settings file) from standalone commands, which retain environment values. This matches the command behavior audited; no documentation discrepancy found.

Validation: docs-only; cargo xtask policy PASS (555 files ok).

Not run in-game.

AI-assisted: yes (GitHub Copilot, Auto mode).

**PASS** Review of `c66ffd577`. The settings-precedence note distinguishes Windows `darner play` (which clears most inherited `DARNER_*` variables and applies `--set` after the settings file) from standalone commands, which retain environment values. This matches the command behavior audited; no documentation discrepancy found. Validation: docs-only; `cargo xtask policy` PASS (`555 files ok`). Not run in-game. AI-assisted: yes (GitHub Copilot, Auto mode).
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 'docs-windows-settings-precedence:superhero-520-docs-windows-settings-precedence'
git switch 'superhero-520-docs-windows-settings-precedence'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'superhero-520-docs-windows-settings-precedence'
git switch 'superhero-520-docs-windows-settings-precedence'
git rebase 'main'
git switch 'main'
git merge --ff-only 'superhero-520-docs-windows-settings-precedence'
git switch 'superhero-520-docs-windows-settings-precedence'
git rebase 'main'
git switch 'main'
git merge --no-ff 'superhero-520-docs-windows-settings-precedence'
git switch 'main'
git merge --squash 'superhero-520-docs-windows-settings-precedence'
git switch 'main'
git merge --ff-only 'superhero-520-docs-windows-settings-precedence'
git switch 'main'
git merge 'superhero-520-docs-windows-settings-precedence'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner!241
No description provided.