Repository navigation
Make BOTW iOS handheld scene size configurable without runtime code writes - #2029
Draft
mrliuzhiyu wants to merge 2 commits into
Draft
mrliuzhiyu wants to merge 2 commits into
mrliuzhiyu wants to merge 2 commits into
Conversation
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.
BOTW's iOS handheld scene is fixed at 960×540 even when a device cannot meet the 16.7 ms GPU budget for 60 FPS. Add explicit 800×450 and 640×360 choices while keeping 960×540 as the default, the game's 1280×720 canvas and UI layout. Lower sizes soften the world image; docked settings, macOS, visionOS and other games retain their policy.
Replace the handheld immediate pair with an export-time ADRP + LDR to a dedicated writable-data slot at +0x28, following the existing docked-scene approach. Runtime selection only writes the float pair; iOS never writes executable pages. Unsupported values fall back to 960×540; mismatched old exported instructions fail verification. Existing iOS exports must be rebuilt. Add the BOTW-only Settings row and French localization.
Validation:
Kept as a draft while sustained frame pacing, heavy views and image quality are tested. See
docs/ios-botw-handheld-scene.md. Independent of address-space #2025, initial presets #2026 and memory-mode #2027.Latest documentation update: the latest commit records the device measurements and remaining multi-second hitches. This follow-up changes documentation only; functional test results above refer to the preceding code commit. Checks for the updated head are pending.