Repository navigation
Graphics settings, and cup screen hints at the screen sides - #32
Open
codedpalette wants to merge 5 commits into
Open
codedpalette wants to merge 5 commits into
codedpalette wants to merge 5 commits into
Conversation
…ynamic resolution The settings go into the Graphics section of the launcher, on macOS and iOS. Console mode lists 4K, then 1080p, then 720p. - NX_ANISO, NX_TEXTURE_FILTER (bilinear or trilinear) and NX_LOD_BIAS change samplers of mipmapped game textures. Render targets keep the game samplers, because filtering them cost up to 6 ms of GPU time per frame. - NX_DYNRES=0 stops the GPU stress analyzer, which lowers the resolution in races and replays. Two 4.0.1 patches read a new keypage byte. They are an optional patch group, so a mod can replace them. - The present pass averages up to 4x4 samples when it shrinks the image more than 2:1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014XqAMq7Da9ETLipXZ4rHbK
The hints (P_UndrBase_ panes of mn_GrprCupSlct_00) now follow the HUD spread. A rule pane name can end in * to match panes by prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014XqAMq7Da9ETLipXZ4rHbK
codedpalette
force-pushed
the
graphics-settings
branch
from
October 30, 2026 19:24
9a1f4a1 to
f02e552
Compare
The graphics options move into upstream's Graphics pages, with each description on its own option's row (macOS) or in its own section footer (iOS). Anisotropic filtering still respects upstream's cap for older iPhones.
Metal ignores MTLSamplerDescriptor.lodBias on Apple7 GPUs, so the setting needs the shader-side bias from c22dev#45. It comes back in a follow-up that builds on it.
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.
This PR adds graphics settings to the launcher and moves the cup screen L and R hints to the screen sides with Fill screen.
The mod changes that were here before (mod order, new MSBT labels, archive files, code modules) moved to their own PR, and the test-run options to another one.
Graphics settings
The texture LOD bias setting moved to its own PR, because it needs the shader-side bias from #45 to work on Apple7 GPUs. This PR and #45 merge cleanly in either order.
The settings go into the Graphics page of the launcher, on macOS and iOS. On macOS each setting has its description on its own row. On iOS each one has its own section with a footer. Console mode lists Docked (4K), then Docked (1080p), then Handheld (720p).
NX_DYNRES=0), the game stops lowering its resolution in races and replays. Two 4.0.1 game patches read a new keypage byte. They are an optional patch group, so a mod can replace them.NX_ANISO) sets 2x to 16x, or keeps the game value. It stays under the cap for older iPhones (NX_MAX_ANISO).NX_TEXTURE_FILTER) is Game default, Bilinear or Trilinear.The sampler settings change only mipmapped game textures. Render targets keep the game samplers, because filtering them cost up to 6 ms of GPU time per frame. The present pass also averages up to 4x4 samples when it shrinks the image more than 2:1. The README has a Graphics section.
Cup screen hints
The L and R hints of the cup screen (
P_UndrBase_panes ofmn_GrprCupSlct_00) now follow the HUD spread, so they sit at the screen sides on wide screens. A rule pane name can end in*to match panes by prefix.Tests
cargo test --workspacepasses, and./make-app.shbuilds the macOS app.swiftc -typecheckwith the iOS SDK. The iOS app is not built.main: the settings run in the game. The graphics settings were not compared side by side with the game defaults.