[rendering] Add native 5120x1440 output #508

Open
github-bot wants to merge 1 commit from github-bot/gh-508 into main AGit
Owner

@⁠Wraithstalker90 on GitHub · 2026-12-06 01:40 UTC · original
Wraithstalker90:feat/native-5120x1440-output → main · +8 −2 · 5 files · 1 commits · open

Building on #182 (native 3440x1440 output), this adds native 5120x1440 (32:9) output support for the retail title.

Using native 5120x1440 output fixes the shadows that occur when using the VI Ultrawide mod.

Usage

Set LARP_RESOLUTION=5120x1440 before launch (or select 5120x1440 in F10 -> Picture -> Resolution and restart).

Changes

  • Add 5120x1440 to the resolution choices in crates/larp-game/src/settings.rs.
  • Route (5120, 1440) through hooks::ultrawide_output in apps/larp/src/run.rs.
  • Add unit tests for 5120x1440 UI memory pool sizing (apps/larp/src/hooks.rs) and virtual HUD map hover coordinates (crates/larp-hle/src/mapmouse.rs).
  • Document 5120x1440 under LARP_RESOLUTION in docs/environment-variables.md.

Testing

  • Verified unit tests (larp, larp-hle, larp-gpu) pass.
  • Built and tested a Windows release build at 5120x1440; confirmed native output works and fixes the shadow issues seen with the VI Ultrawide mod.
**@⁠Wraithstalker90** on GitHub · 2026-12-06 01:40 UTC · [original](https://github.com/gamingwithhomie/larp/pull/508) `Wraithstalker90:feat/native-5120x1440-output` → `main` · +8 −2 · 5 files · 1 commits · open Building on #182 (native 3440x1440 output), this adds native 5120x1440 (32:9) output support for the retail title. Using native 5120x1440 output fixes the shadows that occur when using the VI Ultrawide mod. ### Usage Set `LARP_RESOLUTION=5120x1440` before launch (or select `5120x1440` in F10 -> Picture -> Resolution and restart). ### Changes - Add `5120x1440` to the resolution choices in `crates/larp-game/src/settings.rs`. - Route `(5120, 1440)` through `hooks::ultrawide_output` in `apps/larp/src/run.rs`. - Add unit tests for `5120x1440` UI memory pool sizing (`apps/larp/src/hooks.rs`) and virtual HUD map hover coordinates (`crates/larp-hle/src/mapmouse.rs`). - Document `5120x1440` under `LARP_RESOLUTION` in `docs/environment-variables.md`. ### Testing - Verified unit tests (`larp`, `larp-hle`, `larp-gpu`) pass. - Built and tested a Windows release build at `5120x1440`; confirmed native output works and fixes the shadow issues seen with the VI Ultrawide mod.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 01:46:40 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/508/head:github-bot/gh-508'
git switch 'github-bot/gh-508'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-508'
git switch 'github-bot/gh-508'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-508'
git switch 'github-bot/gh-508'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-508'
git switch 'main'
git merge --squash 'github-bot/gh-508'
git switch 'main'
git merge --ff-only 'github-bot/gh-508'
git switch 'main'
git merge 'github-bot/gh-508'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.