Default to light DRED only for diagnostic launches #327

Manually merged
github merged 1 commit from github-bot/gh-327 into a-publier 2026-11-27 00:57:57 +00:00 AGit
Owner

@⁠loyodea on GitHub · 2026-11-26 20:27 UTC · original
loyodea:victory-release-dred-warning → a-publier · +8 −1 · 2 files · 1 commits · merged 2026-11-26 22:30 UTC

Fixes #283.

Set the launcher's default VICTORY_D3D12_DRED=light for -Build diag. Plain -Build release leaves DRED unset. Both profiles accept explicit -More values. The README explains the diagnostics feature requirement and gives an opt-in example for a release build compiled with it.

Validation

  • Ran the original and updated launchers against a synthetic executable that reports its arguments and environment. The original sent DRED=light with plain -Build release. The updated launcher leaves it unset and still accepts explicit settings.
  • All 12 launcher cases passed on Windows PowerShell 5.1 and PowerShell 7.6.9, including defaults, explicit overrides, inherited settings, launch arguments, and missing input. The independent tester reran both shells using the exact updated script and a zero-byte input fixture.

Codex contributed the implementation and independent verification. The synthetic run verifies launcher settings and argument forwarding.

**@⁠loyodea** on GitHub · 2026-11-26 20:27 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/327) `loyodea:victory-release-dred-warning` → `a-publier` · +8 −1 · 2 files · 1 commits · merged 2026-11-26 22:30 UTC Fixes #283. Set the launcher's default `VICTORY_D3D12_DRED=light` for `-Build diag`. Plain `-Build release` leaves DRED unset. Both profiles accept explicit `-More` values. The README explains the `diagnostics` feature requirement and gives an opt-in example for a release build compiled with it. **Validation** - Ran the original and updated launchers against a synthetic executable that reports its arguments and environment. The original sent `DRED=light` with plain `-Build release`. The updated launcher leaves it unset and still accepts explicit settings. - All 12 launcher cases passed on Windows PowerShell 5.1 and PowerShell 7.6.9, including defaults, explicit overrides, inherited settings, launch arguments, and missing input. The independent tester reran both shells using the exact updated script and a zero-byte input fixture. Codex contributed the implementation and independent verification. The synthetic run verifies launcher settings and argument forwarding.
Keep the launcher default tied to the diagnostic profile and document explicit overrides for a diagnostics-enabled release build. Fixes #283.

Co-authored-by: Codex <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:33:01 +00:00
github manually merged commit 52326642f3 into a-publier 2026-11-27 00:57:57 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.