UI 1.5x too large at 1440p: VICTORY_UI_LEGACY lays it out for 4K #39

Closed
github-bot wants to merge 2 commits from github-bot/gh-39 into main AGit
Owner

@⁠Timmybread22 on GitHub · 2026-12-01 07:05 UTC · original
Timmybread22:pr-uilegacy → main · +102 −0 · 1 files · 2 commits · closed without merging

Problem: at 2560x1440 (any non-4K output) on the Series X profile, the HUD and menus are about 1.5x too large ("zoomed in"): the UI is laid out on a 1440p stage with 4K-sized content.

Fix: VICTORY_UI_LEGACY=1 lays the UI out for 3840x2160 and scales it onto the output, as the Series S preset does (legacy UI flag + size set in a code cave after the settings copy, UI memory pool raised for the two 4K surfaces). Based on the DexNom/VIctory fork's approach.

  • Off by default (env switch only; no launcher toggle in this PR).
  • All three patches or none: each site is checked for its stock bytes first, so a different executable never gets a jump into an unwritten cave.

Tested on Linux/Proton at 1440p: UI the right size.

🤖 Generated with Claude Code

**@⁠Timmybread22** on GitHub · 2026-12-01 07:05 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/39) `Timmybread22:pr-uilegacy` → `main` · +102 −0 · 1 files · 2 commits · closed without merging **Problem:** at 2560x1440 (any non-4K output) on the Series X profile, the HUD and menus are about 1.5x too large ("zoomed in"): the UI is laid out on a 1440p stage with 4K-sized content. **Fix:** `VICTORY_UI_LEGACY=1` lays the UI out for 3840x2160 and scales it onto the output, as the Series S preset does (legacy UI flag + size set in a code cave after the settings copy, UI memory pool raised for the two 4K surfaces). Based on the DexNom/VIctory fork's approach. - Off by default (env switch only; no launcher toggle in this PR). - All three patches or none: each site is checked for its stock bytes first, so a different executable never gets a jump into an unwritten cave. Tested on Linux/Proton at 1440p: UI the right size. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 07:05:55 +00:00
github-bot closed this pull request 2026-12-01 15:00:54 +00:00
Author
Owner

@⁠Slaktarn700 on GitHub · 2026-12-01 14:56 UTC · original

Taken under your name; the launcher sets it, on by default for outputs below 4K. Issue 41 was the same fault, so thank you for finding the fix before I read it.

**@⁠Slaktarn700** on GitHub · 2026-12-01 14:56 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/39#issuecomment-7315078862) Taken under your name; the launcher sets it, on by default for outputs below 4K. Issue 41 was the same fault, so thank you for finding the fix before I read it.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.