Repository navigation
Conversation
AppMap draws the map tiles into a fixed 2250x1080 capture (its 1500x720 layout at 1.5x). Its shape is not 16:9, so it was never scaled: at 4K the map was the 1080-line picture stretched 2x, whatever the window size. The capture now has its own scale group (RS_MAP): RS_OUT's vertical scale on both axes, without the HUD handling RS_OUT passes get. At 3840x2160 it is 4500x2160.
Zarigis
marked this pull request as ready for review
November 26, 2026 01:57
3 tasks done
Revivedx
added a commit
that referenced
this pull request
Nov 26, 2026
… on light ground, texture filtering - Mods > HD texture packs > More memory for HD textures (#1135, Zarigis): game_memory_mb gives the game 6144 MB instead of its own 3120, and grows its resource heaps and texture pool, so big HD texture packs load. Off by default (checked: the 3120 MB heap and the same RAM as before); on, about 3 GB more RAM, and the shaders read a heap past 4 GB by address. The switch is locked off under 12 GB of RAM. SAVAGEWIND_GAME_MEMORY_MB sets it for one run. - The world map's terrain capture follows the window's height (#1137, Zarigis): at 4K it was the 1080p picture stretched 2x. - Collectible hints stand out on light ground (#1131, Quorthon13): a small copy of the game image, read back a few times a second while the hints show, tells each circle how light the ground is. - The texture memo follows sampler registration (#1118, Dathinel): a filter the game replaced within a frame could stay on a later draw. - Tegra copies take full 64-byte GOB rows as four fixed sector copies (#1129, Dathinel). - Render context 1/7: the pass in progress is one struct, ExecPass ps (#1139, Dathinel). - A keyboard regression test for #1103 (#1119, Dathinel). - The cascade-cut launch flag described on the start screen, and a CI job that keeps the launch flag table in sync (#1128, FictionHub). Measured on a Ryzen 5 5600X + RTX 3060 at 1080p, Original preset (busy PC, 4 runs each): the runtime changes move fps by -3 to +5 % per route, within the noise. Co-authored-by: Dathinel <221246794+Dathinel@users.noreply.github.com> Co-authored-by: Zarigis <2862464+Zarigis@users.noreply.github.com> Co-authored-by: Quorthon13 <44161862+Quorthon13@users.noreply.github.com> Co-authored-by: FictionHub <294548785+FictionHub@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Integrated in |
This was referenced Nov 26, 2026
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.
The world map now draws its terrain at the window's resolution. Before, it was always drawn at 1080 lines and then stretched, so at 4K the map was a 1080p picture enlarged 2×.
What this changes
AppMap draws the map tiles into a fixed 2250×1080 capture: its 1500×720 layout at 1.5×. Render targets are scaled to the window only when they're 16:9, and this one isn't, so it stayed at its guest size whatever the window.
The capture now gets its own scale group,
RS_MAP. That'sRS_OUT's vertical scale on both axes, without the HUD handling thatRS_OUTpasses get. At 3840×2160 the capture is 4500×2160. Nothing else changes size.Details
runtime/nvn/vulkan/textures.c:tex_scale_grouprecognises the 2250×1080 2D render target (and a depth target of that size, if any) before the 16:9 test.rs_wantgivesRS_MAPthe valueg_rs[RS_OUT][1]on both axes.runtime/nvn/vulkan/vk.h:RS_MAP = 4.g_rsisn't indexed with it, and every other check onrs_groupcompares against a specific group, so a new value doesn't change them.RS_OUTitself, because that would switch on the pause-menu and HUD adjustments thatRS_OUTpasses get on windows that aren't 16:9 (hud_patch, the scissor cuts). The capture's own fix for wider and taller windows (map_capture_patch) keys on the guest size, so it's unaffected.How it was tested
Windows 11, RTX 4080 SUPER, NVIDIA 617.42, 3840×2160, game 1.9.0, on
testat 2a51d02.Not tested
map_capture_patchhandles), and window sizes other than 3840×2160.Checklist
testand opened againsttest