VICTORY_HOST_WAVE and VICTORY_HOST_MAX_WAVE are the same setting, and translate --warm honours only one of them #27
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@itsonewi on GitHub · 2026-11-25 23:49 UTC · original
Two environment names set the same translation setting, and the one the
--warmhelp tells you to use is not the one the code comment names.apps/victory/src/main.rs:207-210(only inside theTranslatearm):apps/victory/src/translate.rs:248-251:The
--warmhelp text (main.rs:91-97) says "SetVICTORY_HOST_WAVEandVICTORY_VIEW_LIMITto what the run's log says of the host", the code comment one screen below saysVICTORY_HOST_MAX_WAVE, and a search of the repository finds each name in exactly one file. Consequences worth fixing:victory translate --warm <file>honours onlyVICTORY_HOST_WAVE(themain.rsblock runs before thewarmearly return attranslate.rsline ~212 is reached;translate::warmnever reads the other name). Someone following the comment — which is the only place the full rule is explained — gets their value ignored there.victory translateboth are read, andVICTORY_HOST_MAX_WAVEwins because it is applied second, so the two names silently disagree when both are set.One name, read in one place (
translate::run, or better inmain.rsfor the wholeTranslatecommand including--warm), and a warning when the other spelling is set, would remove the ambiguity.VICTORY_HOST_WAVEis the one in the help text and indocs/, so that is the spelling I would keep.Same shape, smaller:
VICTORY_HOST_RDNAattranslate.rs:253-254is the only switch of the three that has no runtime equivalent (host.rsdecides RDNA by adapter), which is fine, but it is worth a line in the same help text.Not checked
Source reading at
0a43566; I did not run either command. Which of the two names the--warmpath takes is read from the call order inmain.rs, not observed.AI use
AI-assisted review (source reading). No build, no run, no game files.