Skip to content

Launch options: Display mode, and the render scale in pixels (#35, #36) - #55

Merged
LNPANDY merged 2 commits into
LNPANDY:mainfrom
v0lumehi:pr-35-36-display
Oct 27, 2026
Merged

LNPANDY merged 2 commits into
LNPANDY:mainfrom
v0lumehi:pr-35-36-display

Conversation

@v0lumehi

Copy link
Copy Markdown
Collaborator

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.

  • The host starts in fullscreen when DM_FULLSCREEN is set at all (front_mac.m). So Window leaves the variable out instead of setting it empty.
  • A list built from settings.tsv can 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:

  1. the row's base field (seedds/nxnative#399: a profile's render_base, written by settings.py);
  2. otherwise the game's profile in the repository, so apps packed before The shell folder caches every game's framework, and Settings names it (#398) #399 still show pixels.

A game without a base size keeps the percentage.

Play reads the same list, so Display mode reaches the app.

Checked

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Launch options: Display mode (window / fullscreen) for Mac games

2 participants