Preload progress window over the title's splash screen #869

Merged
brucegrapes merged 1 commit from upstream-pr/869 into main 2026-11-29 08:16:58 +00:00
brucegrapes commented 2026-11-28 08:13:15 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by brucegrapes on 2026-11-28T08:13:15Z.


-Preload now shows its progress in a window (scripts/preload-window.ps1) instead of only console lines: the title's own splash screen (SplashScreenImage in MicrosoftGame.config beside -Exe), the step the preload is at (shaders, pipelines, library), how far it is, about how long is left, and the last line it printed. Skip (or Esc) ends the preload, keeping what it did, and starts the game. The window fades when the game's window opens.

On by default whenever a preload runs, including the F1 menu's PRELOAD SHADERS restart. -Splash puts another picture behind it; -NoPreloadWindow keeps the progress in the console only. The window runs on its own STA runspace so it stays responsive while the preload is quiet; if it cannot open, the preload goes on in the console as before.

The shader step prints no total, so the last preload's shader count is kept in %LOCALAPPDATA%\victory\preload-last.txt and used as the next one's total.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5538208691 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/869). Originally posted by [brucegrapes](https://github.com/brucegrapes) on 2026-11-28T08:13:15Z. --- `-Preload` now shows its progress in a window (scripts/preload-window.ps1) instead of only console lines: the title's own splash screen (SplashScreenImage in MicrosoftGame.config beside -Exe), the step the preload is at (shaders, pipelines, library), how far it is, about how long is left, and the last line it printed. Skip (or Esc) ends the preload, keeping what it did, and starts the game. The window fades when the game's window opens. On by default whenever a preload runs, including the F1 menu's PRELOAD SHADERS restart. -Splash <file or URL> puts another picture behind it; -NoPreloadWindow keeps the progress in the console only. The window runs on its own STA runspace so it stays responsive while the preload is quiet; if it cannot open, the preload goes on in the console as before. The shader step prints no total, so the last preload's shader count is kept in %LOCALAPPDATA%\victory\preload-last.txt and used as the next one's total.
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
trustno1-coder/VIctory-NVIDIA!869
No description provided.