Repository navigation
Launch options: Display mode, and the render scale in pixels (#35, #36) - #55
Merged
Merged
Conversation
…tings (LNPANDY#37) The sheet listed every row of the app's launcher.json in one column of sections (Game, Controls, Performance), so the settings a player changes most sat among the ones only a tuning session needs. The basic ones come first now, in their sections: frame rate, render scale, console mode, language and rumble. The rest is behind an Advanced settings row that says how many it holds and opens them in place. Which rows are basic comes from the list when it says so (a row's level, seedds/nxnative#399: settings.tsv's optional level column), else from the launcher's own list of those five. Apps packed before the column show the same split. LaunchOptionsTests: the default split, and a level in launcher.json winning over it.
, LNPANDY#36) LNPANDY#35 Display mode: Window or Fullscreen for a Mac game, under the render scale. The host starts fullscreen when DM_FULLSCREEN is set at all (front_mac.m), so Window leaves the variable out instead of setting it empty. A list from settings.tsv will carry the row once it has a platform condition (seedds/nxnative#352); until then the launcher adds it to a list that has none. LNPANDY#36 Render scale in pixels: with the game's base size, the row shows 0.75 as 1200x675 and says what it is a share of ("75% of 1600x900 docked"), for the console mode chosen (1280x720 handheld for Breath of the Wild). The base size comes from the row's base (seedds/nxnative#399: a profile's render_base, written by settings.py), else from the game's profile in the repository, so apps packed before still show pixels. A game without one keeps the percentage. Play goes through the same list, so Display mode reaches the app. LaunchOptionsTests: Display mode's place and its unset Window, the pixels docked and handheld from the profile, and the percentage without a base size.
This was referenced Oct 27, 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.
Closes #35 and #36. Builds on #54: until that merges this PR shows its commit too. The change here is the last commit.
#35 Display mode
Window or Fullscreen for a Mac game, placed under the render scale.
DM_FULLSCREENis set at all (front_mac.m). So Window leaves the variable out instead of setting it empty.settings.tsvcan carry this row once the table has a platform condition, which seedds/nxnative#352 adds. Until then the launcher adds the row itself to any list that lacks it.#36 Render scale in pixels
Given the game's base size, the render scale row shows pixels for the console mode chosen. For example, 0.75 on Breath of the Wild shows 1200×675, with "75% of 1600×900 docked" underneath; in handheld mode the base is 1280×720.
The base size comes from:
basefield (seedds/nxnative#399: a profile'srender_base, written bysettings.py);A game without a base size keeps the percentage.
Play reads the same list, so Display mode reaches the app.
Checked
swift test: 26 tests pass.LaunchOptionsTestscovers:render_basereaches the repository with The shell folder caches every game's framework, and Settings names it (#398) #399 and the next sync.