HUD : Size the interface for 3840x2160 on the 1440p output (HUD, menus, map cursor) #391
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/391"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by ZackariaB on 2026-11-27T21:50:34Z.
Fixes #98 at the 2560x1440 output (the Series X default, and
-Res 1080to1440).The problem
The interface is laid out for 3840x2160, the stock Series X output. With the 1440p image patch, the title is told the screen is 2560x1440, so:
Before and after (1440p, compared with the stock 4K output)
HUD. Before, at 1440p, the profile screen prompt was 1.5 times too big: it covered 16.6% of the window's width against 11% at 4K. After, it measures 11.05%, and the in-game HUD is the 4K size.
Settings > Controls.
Map. Before, the cursor sat at 2/3 of the centre. After, it is centred, stays centred after snapping to a point of interest, and selects it. The terrain, the fog and the zone borders match the 4K output.
The fix
apps/victory/src/native_1440p.rsApplied with the 1440p patch at a 16:9 2560x1440 output.
VICTORY_UI_SCREEN=0turns it off.GetScreenSizethat answers 3840x2160.GetScreenSizeFcalls (0x2324351, 0x232478d) go to a copy that answers [3840.0, 2160.0], so the bound position is in interface pixels.GetScreenSizeitself and the screen size global keep 2560x1440. The map's terrain, its fog of unexplored zones and its zone borders are worked out from them. A 4K run shows all three in the same place as 1440p does.crates/victory-gpu/src/draw.rsChecked
native_1440ptests pass against the retail executable (VICTORY_DISPLAY_PROFILE_TEST_IMAGE).victory-gpu,indirect::tests::host_list_budget_starts_empty_at_each_submissionandwarp_batch_charges_every_executionfail the same way onmainwithout this change.Not covered
VICTORY_DISPLAY_MODE) is unchanged. Issue #98 also mentions it, but it is not the 1440p patch's path.🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ZackariaB on 2026-11-28T12:22:53Z.
Closing in favour of #541, which fixes the same problem through the title's own Series S legacy UI path (legacy flag, 3840x2160 layout size, 2560x1440 output in the settings). Every reader of the UI size then agrees, with no per-screen patches and no renderer scaling. Tested here on main
63b902f+ #541: menus, HUD and the pause map are right.Pull request closed