Skip to content

Switch 2 (4/8): a Switch 2 mark in the library and a note on the Builds page - #606

Merged
v0lumehi merged 2 commits into
v0lumehi/switch2-stagesfrom
v0lumehi/switch2-label
Nov 3, 2026
Merged

v0lumehi merged 2 commits into
v0lumehi/switch2-stagesfrom
v0lumehi/switch2-label

Conversation

@v0lumehi

@v0lumehi v0lumehi commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Fix or feature

  • Fix
  • Feature

Part of #445. Stack PR 4 of 8, on #605. This changes how the library and the Builds page look, so it starts from #445, which plans the mark and the note.

What and why

  • A "Switch 2" mark beside the status of a Switch 2 game, in the hero and on its card. Its tooltip says the engine's support is new.
  • A note under Play on on the Builds page when the chosen game is a Switch 2 game, for the chosen target:
    • This Mac: the support is new, each game is still being brought up, parts may not work yet.
    • iPhone / iPad: Switch 2 games are barely tested there, a build may not start, and the game needs a lot of memory.
      Nothing is blocked. The engine builds both targets, and @LNPANDY played Donkey Kong Bananza on an iPhone 17 Pro Max (Switch 2 games: what nxnative supports now and how the launcher integrates it #445). Splatoon Raiders' profile says its memory layout is over iOS's limit for now, which is why the note does not promise more.
  • How the launcher knows. No profile key says Switch 2. Every Switch 2 profile at 641d148 names it in its first line, for example # Donkey Kong Bananza (Switch 2, update v458752). In bring-up, so GameFolder.profileIsSwitch2 reads that. The 04 start of the title IDs is not used. An upstream key (console, Switch 2 games: what nxnative supports now and how the launcher integrates it #445 step 6) would be the better source, and the check moves there when it exists.
  • The library folder scan finds a game folder as one game, with its profile's name, and does not walk its files.

The key art comes from ArtworkStore and the engine's docs/images by name, as for other games. The engine has docs/images/donkey-kong-bananza.jpg and the other four.

New strings in zh, en, sv, de, fr and it. The sv, de, fr and it texts are machine-translated. "Switch 2" stays as it is in every language and is listed as such in the German and French tests.

Checked

  • Tests: cd frontend && swift test passes. New: GameFolderTests.testTheProfilesFirstLineTellsASwitch2Game (only the first comment line counts), GameFolderCaptureTests.testTheLibraryScanFindsAGameFolder.
  • Test for a fix: not a fix.
  • Visual QA: testRenderLauncherForVisualQAGameFolderLibrary and testRenderLauncherForVisualQAGameFolder, in English, German and Chinese. The library "before" is the same capture on PR 3's code.
  • Run on a device or Mac: not run. No Switch 2 game was built or played here. The notes say what upstream's profiles and Switch 2 games: what nxnative supports now and how the launcher integrates it #445 say, nothing more.

Screenshots

Library, before and after:

library before
library after
library after zh

Builds page with iPhone / iPad chosen, before and after:

build ios before
build ios after
build ios after zh

This Mac, German (the longest text):

build mac after de

Scope

  • No engine file (dm/, scripts/, docs/, ref/) is added to the repository: a change there is a patch in patches/ (a commit in engine/, then tools/engine.py export, and tools/engine.py check passes), with its Upstream-Status
  • A fix to the engine or a game profile also goes to seedds/nxnative as a PR in parallel: this PR's patch says forwarded seedds/nxnative#..., or pending until that PR is open
  • A change to a launcher view has before and after screenshots above
  • No keys, game files or data extracted from a game in the change or the attachments

A game whose engine profile is a Switch 2 game gets a "Switch 2" mark in
the library, and the Builds page says how far the engine's support goes
for the chosen target. No profile key says Switch 2 yet: the launcher
reads the profile's first line, which says it for every Switch 2 game.
The library folder scan also finds a game folder as one game.
@v0lumehi v0lumehi added this to the v1.1.0 milestone Nov 3, 2026
@v0lumehi v0lumehi added enhancement New feature or request launcher The NX2Apple launcher app mac Mac labels Nov 3, 2026
@github-actions github-actions Bot added the windows Windows (the Qt front end) label Nov 3, 2026
@v0lumehi
v0lumehi added this pull request to stack #611 November 3, 2026 18:11
@v0lumehi
v0lumehi merged commit 52df32e into main Nov 3, 2026
18 of 32 checks passed
@v0lumehi
v0lumehi deleted the v0lumehi/switch2-label branch November 20, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request launcher The NX2Apple launcher app mac Mac windows Windows (the Qt front end)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant