Repository navigation
Conversation
With the 1440p image patch the HUD and menus laid out in 2560x1440 while their sizes are made for 3840x2160: the HUD came out 1.5 times too big and Settings' panels were cut to 2/3. - native_1440p.rs: the interface screen getters (0x4f21f10, 0x4f21f00) read the legacy 3840x2160 size, Scaleform's buffer size load (0x13cba73) reads [3840.0, 2160.0], and the menus' target size read (0x53915bc) jumps to a cave in int3 padding (0x55e8250) that gives the legacy size when it reads the output's. VICTORY_UI_SCREEN=0 turns it all off. - draw.rs: viewports of exactly 3840x2160 on a target of at most 2560x1440 (the interface canvas) and their scissors are scaled onto the output; a full-output scissor and the intro video's 3840x2160 target are left as they are. Checked in game at 1440p: HUD, intro video and Settings > Controls match the 4K output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the interface laid out in 3840x2160 on the 1440p output, the map's cursor sat at 2/3 of the screen's centre, shifted to the upper left, and went back there after snapping to a point of interest. - When the map opens, 0xb19260 turns the cursor's fraction of the screen into interface pixels with GetScreenSize. That call (0xb19a4b) goes to a copy of GetScreenSize in int3 padding (0x55ff290) that answers 3840x2160. - After a snap the cursor's position is its object's +0x140, which the interface is bound to (0x388fa0 notifies on change). Its two GetScreenSizeF calls (0x2324351, 0x232478d) go to a copy that answers [3840.0, 2160.0], so the bound position is the interface's. The four reads the map's logic makes of it (under the cursor, near it, where it points in the world, the controller's copy) call stubs that scale it back by 2/3. The stubs live in the int3 padding past the code section's used size, which the file maps with it. GetScreenSize and the screen size global keep the output's size: the map's terrain, its fog, its zone borders and what the cursor points at are worked out from it, as the 4K output shows them. Checked in game at 1440p against the 4K output: cursor centred and staying centred after snapping, points of interest selected, fog and zone borders in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closed
paaulrex
added a commit
to paaulrex/VIctory-NVIDIA
that referenced
this pull request
Nov 28, 2026
…-coder#391) The interface is laid out for 3840x2160. With the native 1440p patch the title was told the screen is 2560x1440, so the HUD and menus came out 1.5 times too big, Settings > Controls was cut to two thirds, and the map cursor sat off centre. The interface now keeps its 3840x2160 canvas, scaled onto the 1440p output. Applies to Series X with VICTORY_NATIVE_1440P; VICTORY_UI_SCREEN=0 turns it off. From PR trustno1-coder#391 by ZackariaB.
Author
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 Screen scaling is really big #98 also mentions it, but it is not the 1440p patch's path.🤖 Generated with Claude Code