loader: lay the interface out by its root size below 4K (upstream #49 and ultrawide marker fix) #37

Manually merged
github merged 2 commits from github-bot/gh-37 into main 2026-12-05 18:48:10 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 16:15 UTC · original
Kal0s-design:fix/ui-root-size-below-4k → main · +169 −2 · 1 files · 2 commits · merged 2026-12-05 18:46 UTC

This brings over two upstream loader commits unchanged, with their authorship kept. They are b84ce67 from upstream PR #49, which lays the interface out by its root size below 4K output and keeps the map at the output size, and 47d0db4, which fixes the pause-map marker click offset on ultrawide.

The fork still uses the older layout-scale patch for outputs under 4K. Upstream's description says it misplaced the phone screen content and the nearby-missions markers at 1440p. #33 reports the interface out of alignment on a 7800 XT, and if that report is below 4K it's likely the same thing. At 4K nothing is patched in either version, so the default output is unaffected.

Both commits cherry-picked cleanly on main and only touch crates/victory-loader/src/resolution.rs. The victory-loader resolution tests pass (13), and clippy reports nothing in that file. I haven't checked the interface in game myself.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 16:15 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/37) `Kal0s-design:fix/ui-root-size-below-4k` → `main` · +169 −2 · 1 files · 2 commits · merged 2026-12-05 18:46 UTC This brings over two upstream loader commits unchanged, with their authorship kept. They are b84ce67 from upstream PR #49, which lays the interface out by its root size below 4K output and keeps the map at the output size, and 47d0db4, which fixes the pause-map marker click offset on ultrawide. The fork still uses the older layout-scale patch for outputs under 4K. Upstream's description says it misplaced the phone screen content and the nearby-missions markers at 1440p. #33 reports the interface out of alignment on a 7800 XT, and if that report is below 4K it's likely the same thing. At 4K nothing is patched in either version, so the default output is unaffected. Both commits cherry-picked cleanly on main and only touch crates/victory-loader/src/resolution.rs. The victory-loader resolution tests pass (13), and clippy reports nothing in that file. I haven't checked the interface in game myself. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Below 2160 lines of output the interface was scaled by the fwui layout
scale (36ea0e5). At 2560x1440 that drew the phone screen's content in the
top-left two thirds of the phone and put the nearby-missions markers out
of place: they are not laid out by the root's scale.

Now the UI root size (+0x1de410a) is written as the output times
2160 / height (3840x2160 at 2560x1440): the title lays its interface out as
at 4K, draws it into a target of that size and scales it to the output
itself, so every part of the interface stays in proportion. The fwui scale
patches are not written then; the pause-map cursor patches still are.

The screen map instance takes its size from the UI root, but the targets
it draws into stay at the output size, so its blips sat off the map (more
so further from the centre). +0x1833fd0 now reads the output size for the
screen target, and +0x2a61610's size check asks the UI root provider's
output-size slot so the map is not rebuilt every update.

Checked by eye at 2560x1440: HUD, phone, nearby-missions markers, pause map
icons at several zooms, and minimap all right. Series S mode (own
interface) is unchanged. No new switch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 16:15:40 +00:00
github manually merged commit 23a8654956 into main 2026-12-05 18:48:10 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.