hle: VICTORY_HIDDEN_WINDOW keeps the title's window off the screens for unattended runs #31
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/31"
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 uiliannn/VItoriaBr. Originally posted by martindevbr on 2026-11-25T17:15:02Z.
O 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.