hle: VICTORY_HIDDEN_WINDOW keeps the title's window off the screens for unattended runs #31
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/uiliannn--VItoriaBr!31
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/31/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?
@martindevbr on GitHub · 2026-11-25 17:15 UTC · original
martindevbr:pr/hidden-window→main· +21 −0 · 1 files · 1 commits · merged 2026-11-25 19:56 UTCO que faz / What it does
Com
VICTORY_HIDDEN_WINDOW=1, a janela de nível superior que o título cria fica à direita da área de trabalho virtual (fora de todas as telas), comWS_EX_TOOLWINDOW(fora da barra de tarefas) eWS_EX_NOACTIVATE(nunca pega o foco). Desligado por padrão; janelas filhas não mudam.With
VICTORY_HIDDEN_WINDOW=1, the title's top-level window is placed right of the virtual desktop (off every screen), withWS_EX_TOOLWINDOW(out of the taskbar) andWS_EX_NOACTIVATE(never takes focus). Off unless set; child windows are left alone.Por quê / Why
Para rodar testes sem supervisão numa máquina em uso: a janela continua visível para o sistema, então a swap chain apresenta normalmente e as capturas (
VICTORY_CAPTURE,VICTORY_CAPTURE_WORLD) continuam funcionando, junto comVICTORY_KEYSe o frame log — sem a janela cobrir a área de trabalho nem roubar o teclado.For unattended test runs on a machine in use: the window stays visible to the system, so the swap chain presents as usual and frame captures keep working, together with
VICTORY_KEYSand the frame log, without covering the desktop or stealing keyboard focus.Testado / Tested
Dezenas de rodadas de 5–10 min no mundo 3D (RTX 3060 12 GB, Windows 11): janela fora da tela, sem foco, quadros capturados normalmente, frame log igual ao das rodadas com janela visível.
cargo test -p victory-hle lifecyclepassa.Dozens of 5–10 min runs into the 3D world (RTX 3060 12 GB, Windows 11): window off-screen and unfocused, frames captured as usual.
cargo test -p victory-hle lifecyclepasses.