Default to light DRED only for diagnostic launches #327

Merged
loyodea merged 1 commit from upstream-pr/327 into a-publier 2026-11-26 22:30:23 +00:00
loyodea commented 2026-11-26 20:27:24 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by loyodea on 2026-11-26T20:27:24Z.


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.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5516714974 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/327). Originally posted by [loyodea](https://github.com/loyodea) on 2026-11-26T20:27:24Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Belobug/VIctory-Belobug-AMD!327
No description provided.