Honor selected configuration in Play and Warm scripts #17
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ToLIManl--VIctory-Hydra!17
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/17/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lmouz823-lang on GitHub · 2026-11-30 14:57 UTC · original
lmouz823-lang:fix/selected-launcher-config→main· +214 −5 · 3 files · 2 commits · closed without mergingSummary
Fixes #16.
Both Play and Warm now read the selected configuration. When no selector is supplied and a local
victory.tomlexists, its path is exported so the runtime reads that same file from an unrelated working directory. Explicit game/cache environment overrides retain priority.Evidence
Pinned base
babf51150b6fa0389e0709698622e1dda065996e. Submitted head8bfdb5aa536fb342eb87c86b49acab8759fb87bf.The new native Windows regression launches the actual CMD scripts from another working directory. A temporary CPU-only C# executable captures every runtime argument and the CONFIG/GAME_DIR/CACHE_DIR values. It returns sentinel 37. Each test checks that exit, the exact argument order and all selected paths. The regression script itself exits 0 on success.
The eight configurations cover an external absolute selector, a relative selector, launcher-local default, explicit environment path overrides, empty selector, no-config fallback, missing selected file forwarding and a configured executable path. Configuration filenames include Unicode, spaces, parentheses, brackets and an apostrophe. The environment-override paths also include an apostrophe.
The initial fixed run, independent review rerun and final frozen Windows CRLF run each pass 16/16. A separate native replay of the canonical Git LF upload files also passes 16/16. The remote files match those canonical LF bytes.
Independent Standards and Spec reviews both pass with zero findings. Local
cargo xtask policyexits 0 and reportsasset policy: 326 files ok.The CI workflow has executed no jobs and is awaiting approval from a maintainer in this PR. Its current conclusion is
action_required. Full-workspace Cargo tests and Clippy remain pending. CI run 46444783255Reproduce with Windows PowerShell 5.1.
The production change affects two CMD files with eight additions and five removals. The regression is a separate 206-line PowerShell file. PowerShell parsing, diff checks and pinned-base forward/reverse patch checks pass.
Validation limits
The temporary executable is an argv/environment probe. Actual Rust runner execution, shader/pipeline compilation, GPU/game acceptance, FPS, other operating systems and full-workspace tests remain unverified. The missing-file scenario checks selector forwarding. The Rust missing-configuration error path remains unexecuted. Coverage uses the scripts' existing simple path assignments. General TOML scalar grammar and a launcher installation root containing an apostrophe were skipped.
Existing #5 and #6 reports do not establish this specific cause.
Merge Danger
The change is reversible through a code revert.
Its scope is Play/Warm configuration selection and the native script regression. Tests use synthetic markers and a temporary probe outside the repository.
AI assistance from Codex covered diagnosis, implementation, execution, review and reporting.
@ToLIManl on GitHub · 2026-11-30 23:55 UTC · original
Superseded by \29f9ea\ and \869198.
--config\ forwarding was already addressed in \29f9ea, and the launcher-local \VICTORY_CONFIG=%~dp0victory.toml\ export when unset was ported into \Play-VIctory.cmd, \Play-VIctory-4GB.cmd, and \Warm-Shaders.cmd\ in \869198\ with \Co-authored-by\ attribution and verified across [UNSET], [EMPTY_QUOTED], and [MISSING]\ native CMD probes.
Pull request closed