run: let victory.toml pick the console #441
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/441"
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?
Imported from Marvisak/VIctory. Originally posted by arminkhaleghirod on 2026-11-24T03:27:38Z.
Adds a
consoleoption under[run]in victory.toml, plusVICTORY_CONSOLE, so people with less RAM/VRAM can default to Series S instead of passing--console series-severy run.--consolestill overrides it. Default stays Series X.Helps with #203 but doesn't close it: Series S still needs #211 for the menus, and the world still uses a lot of memory.
Tested with
cargo test --workspaceon Windows 11. Couldn't test in-game.Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T06:10:38Z.
Review: APPROVED
Tested
157e0ceon Windows 11, RTX 5070, MSVC:cargo test --workspace --no-fail-fastpasses (265 passed, 0 failed). Not tested in game.--console>VICTORY_CONSOLE>[run].console> Series X.console_modeland the config tests cover each step.#[serde(deny_unknown_fields)]stays onFileRun, so a typo under[run]is still an error.Config::loadis shared by every subcommand, so an invalidVICTORY_CONSOLE(for exampleone-x) now makesvictory translateorvictory configfail too, not onlyrun. The error message is clear. Still, parsing the variable only whererunuses it, or warning and falling back, would keep the other commands working.Consoleenums, the clap one inmain.rsandvictory_core::config::Console. AValueEnumderive on the core one would remove the mapping.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T06:10:47Z.
Correction to the count in my review: the run at
157e0cewas 269 passed, 0 failed (not 265). The verdict is unchanged.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:18:21Z.
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:apps/victory/src/main.rs,apps/victory/src/run.rs,crates/victory-core/src/config.rs.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
Pull request closed