Skip to content
daniel-madrid-07Public

About

Switch-style home menu for PC: an emulator frontend and game launcher for your own Switch dumps (Ryujinx, Ryubing, Eden, Citron, Suyu) and native PC ports. Native C++, one small exe, no Electron.

Topics

Resources

Stars

24 stars

Watchers

1 watching

Forks

Repository files navigation

NSW-Home

A console-style home menu for playing your own Switch game dumps on a PC, with the emulator kept completely out of sight. NSW-Home starts the game in the emulator of your choice, shows its picture inside its own window, and handles everything around the game itself: users, settings, controllers, screenshots, friends, updates and add-ons. The emulator only emulates.

NSW-Home in use: the game row, all software, System Settings and starting a game

Home, second-generation style

Light theme First-generation style
All software System Settings
User page Online play with friends

Screenshots show games dumped by the author from his own console; their names and artwork belong to their publishers and are read by NSW-Home from the user's own dumps. None of them are included in this repository.

It is a native C++17 program (Win32 + Direct2D on Windows; SDL2 + Cairo on Linux, macOS and Android). No Electron, no web runtime, one executable.

NSW-Home is an independent project. It is not affiliated with, endorsed by or sponsored by Nintendo. "Nintendo", "Nintendo Switch", "Switch" and "Nintendo eShop" are trademarks of their owners and are used here only to describe what the program works with. NSW-Home contains no Nintendo software, firmware, keys, games, artwork, fonts or sounds, and it does not tell you where to get any of them.

Install

Download NSW-Home-Setup.exe from the latest release, run it and follow the steps. It installs for your user only (no administrator rights needed) and adds NSW-Home to the Start menu. NSW-Home can update itself from System Settings.

NSW-Home is not code-signed yet, so the first time Windows may show "Windows protected your PC". Click More info → Run anyway. Every release is built from this repository's source by GitHub Actions, so you can check what you are running.

What you need

  • A PC running Windows 10/11 (Linux, macOS and Android builds also exist, see below).
  • One of the supported emulators, installed by you.
  • Your own dumps of games you own, and your own console keys and firmware, dumped from your own console. NSW-Home reads them from where you keep them; it never downloads or ships them, and your dumps, keys and firmware are never sent anywhere. The one thing taken out of a dump that can leave your PC is its icon: with friends turned on, small copies of the icons of the games you play go to the friends you accepted (see Privacy).

Without your firmware, NSW-Home uses its own sounds and a system font. With it, the console's own sounds, font and wording are read from your firmware at run time (nothing is copied).

Supported emulators

Family Emulators Notes
Ryujinx Ryujinx 1.1.x, Ryubing, Kenji-NX Online play with friends: Ryubing and Kenji-NX only
yuzu Eden, Suyu, Citron, Lichii, Eglantine Lichii and Eglantine: recognised and set up from their source; not yet tried with the programs themselves

Several installs of the same emulator (a stable and a nightly build, say) can be added side by side in Settings > NSW-Home > Add Emulator…, each with a name of its own, and chosen per game. A program that is not in this list can be added there too, by saying whether it is based on yuzu or on Ryujinx. When a newer release of an emulator is unpacked in another folder, its entry there has Change Program… to point it at the new file, keeping its name and the games that use it.

Native PC programs (for example recompiled games) can be added as games too; no emulator is needed for them.

Launch options

Extra command-line words can be typed with the on-screen keyboard (or a real one) in three places:

  • A PC program: its options (+ on its tile) > Manage Program > Launch Options. The text goes on the command line exactly as typed, after the program's quoted path: "C:\Games\game.exe" <text>. Quotes are passed through as typed, so -g "D:\My Games\a.nsp" reaches the program as two words.
  • An emulator install: Settings > NSW-Home > the emulator's entry > Launch Options…. Used for every game started with that install.
  • One game: its options > Emulator (or the NSW-Home section in identical mode) > Launch Options. Used instead of the install's; empty it to go back to the install's.

Where an emulator's words go: NSW-Home already starts the yuzu family as <exe> [-u <n>] -f -g "<game>" (Suyu: -gamer -f -g "<game>") and the Ryujinx family as <exe> [--profile "<name>"] [--hide-updates] --fullscreen "<game>". The typed words are put right before the game: before -g "<game>" in the yuzu family, before the game's path in the Ryujinx family, so a switch that takes a value gets the one typed after it. What NSW-Home already adds is left out of them so that nothing is given twice: -f / --fullscreen, -g <file> and any game file (.nsp, .xci, .nsz, .xcz, .nca, .nro, .nso), -u <n> / --profile / -p <name> when NSW-Home names the profile itself, and -gamer / --hide-updates where its own command line has them (each also in its --switch=value form; a game file typed right after another switch is kept as that switch's value). Quotes in an emulator's words only group: a quote left open closes at the end of its word, and a backslash is always a backslash, so -r "D:\Ryu data\" gives D:\Ryu data\ and can never run on into the game. A command such as lichii.exe -f -g game.nsp is therefore what NSW-Home already runs for Lichii; nothing has to be typed for it. On Android, emulators are started as apps, and these options are not offered.

Supported game files

NSW-Home looks in your game folders for .nsp and .xci dumps and for their compressed forms, .nsz and .xcz (games, updates and DLC alike), and for .nup and .nx containers (see NUP and NX files below). A compressed dump shows its title, icon and version like any other: NSW-Home reads them without decompressing anything.

Not every emulator opens compressed dumps, so a game is only started with one that does:

Emulator .nsz / .xcz
Lichii Yes (files compressed in one stream, the nsz tool's default for .nsz: build 228 or later)
Eden Only files compressed in blocks (nsz -B, and the default for .xcz), and only in builds made after 26 October 2026; the stable 0.2.1 opens none
Eglantine Only files compressed in blocks
Ryujinx, Ryubing, Kenji-NX, Suyu, yuzu No
Citron, Sudachi, programs added by hand Not known: NSW-Home lets them try

When a game's emulator does not open its file, NSW-Home says so instead of starting it, and offers another emulator you have that does; the emulators' rows in the game's options carry the same note. Compressed updates and DLC are left out for the emulators that cannot read them. If a game is in your folders both plain and compressed it is listed once, and the plain file is the one started. Decompressing a file (with the tool that made it) makes it work everywhere.

NUP and NX files

Two newer kinds of file are looked for as well: .nup (NUP) and .nx (NXFormat). Each is a container for a dump that has already been decrypted, of a Switch or a Switch 2 game, and one file can hold the game together with its updates and its DLC. They need no keys: such games are listed with their title, icon and version even when no console keys are set up. A file is told by its content, not by its name (.nx is used by other things too), so another kind of file that happens to be called .nx is left alone.

Emulator .nup .nx
Lichii Yes Yes
Eglantine Yes No
Eden, Ryujinx, Ryubing, Kenji-NX, Suyu, yuzu No No
Citron, Sudachi, programs added by hand Not known: NSW-Home lets them try Not known

The same rule applies as for compressed dumps: a game is only started with an emulator that opens its file, and NSW-Home says so and offers another one otherwise. The updates and DLC inside such a file are loaded by the emulator itself, so the game's Update Data and DLC pages only say what the file holds and its version: nothing is chosen there, and loose update or DLC files are not offered for such a game. A game that is in your folders in several forms is listed once; the file started is the plain dump if there is one, then the compressed one, then the .nup, then the .nx. That order goes by the file's kind only, not by which emulators you have: with Eglantine alone, a solid .nsz is chosen over the .nup of the same game although only the .nup would start. (Without console keys a plain dump cannot be read, so it cannot be matched with its container and both show.)

What is not verified: the readers were written from the two formats' specifications and tried only with made-up files written from those same specifications, never with a real dump, and neither Lichii nor Eglantine has been run. The table comes from reading the emulators' source in November 2026 (Lichii, Eglantine and Eden that day; the others as read for compressed dumps). Files from the NUP reference packer that number their metadata one too low are read as well. An .nx file with more than one game in it shows as its first game only. A file of a later version of either format than these readers know (a NUP whose fourth byte is not 1, for example) is listed as a game that cannot be read.

Features

  • Home menu, game row, all-software grid, album, user pages and settings in the style of the console's first or second generation, light and dark, with animations measured frame by frame.
  • The emulator's window is never shown: the game is displayed inside NSW-Home, the emulator's dialogs are answered in NSW-Home's own dialogs, its hotkeys are blocked, and the game pauses when you go to HOME.
  • Users mirrored into every emulator; separate saves per user. A user can be pointed at a profile an emulator already has, to go on with its saves: in System Settings > User Profiles, on the user's tile ("Profile in "); in the Switch 2 style also on the user's page, under User Settings.
  • Controllers read by NSW-Home itself (DualSense, DualShock 4, Switch Pro, Joy-Con, XInput) with player order passed to the emulator; the controller a game is started with is its player 1.
  • Screenshots taken by NSW-Home, an album, and a capture key.
  • Friends without a server, by request and acceptance, over the public BitTorrent DHT; online play with friends for games with a local wireless mode (Ryubing / Kenji-NX).
  • Game updates, DLC, mods and cheats managed per game; amiibo collection from your own dumps.
  • Settings rows given real meanings on a PC (display, sound, network, accessibility, parental controls, data management...).
  • 16 languages; English by default.
  • An "identical" mode that shows every row of the console's menus, and a normal mode that shows only what works on a PC.

Controllers and players

When a game starts, NSW-Home puts the emulator's own controller entries in its player order, with the controller in your hand as player 1. It never writes a button mapping of its own, so:

  • Every controller has to be set up once in the emulator. Xbox (XInput) pads and Joy-Con are only ever moved to their player: one the emulator has no entry for is left for you to set up there.
  • Only a DualSense, a DualShock 4 or a Switch Pro Controller can get an entry without that: a copy of the entry of a similar controller you already set up in that emulator.
  • This is done on Windows. On Linux, macOS and Android nothing is written to the emulator's controller settings: the players are the ones set in the emulator.

Building

Windows (Visual Studio 2022 or its Build Tools, C++ workload):

build.bat            → build\NSW-Home.exe
build.bat dev        → build\dev.exe (test build)

Linux / macOS (CMake, pkg-config, SDL2, Cairo, FreeType, fontconfig, libjpeg):

cmake -S . -B build-linux && cmake --build build-linux -j

On Linux and macOS the menu is drawn by the processor, at the window's size in real pixels, 60 times a second (the console's rate, also on a 120 or 240 Hz display). On a display whose rate 60 does not divide, every frame stays up the same whole number of refreshes instead, the nearest to 1/60 s: 75 frames a second at 75 Hz, 72 at 144 Hz, 55 at 165 Hz. Animations follow real time, so they last the same everywhere. Only the part of the picture that changed since the frame before is drawn and sent to the graphics card, so a menu left alone costs what its cursor costs: the home menu's cursor never stops pulsing, so a focused menu is not at zero. Environment variables for a machine that still struggles, or to look into a drawing fault:

  • NSWHOME_RENDER_HEIGHT=<pixels>: draw the picture no taller than this and let the graphics card stretch it (for example 982 on a 14" MacBook: a quarter of the pixels, softer text). Off by default.
  • NSWHOME_REDRAW_ALL=1: draw and send every frame whole, as older versions did.
  • NSWHOME_VERIFY_REDRAW=1: check every frame, pixel for pixel, against a whole drawing of it and stop at the first difference (slow; for tests).
  • NSWHOME_DISPLAY_CLOCK=1 or 0: what times the frames. 1: the display's refresh, which is the default wherever showing a frame waits for it (OpenGL with vsync). 0: the program's own timer, the default on macOS (SDL's Metal renderer does not wait) and without vsync. To try the other one if movement looks uneven.

nsw-home --help lists the test options (--frames, --size, --step, --shot).

Android: see android/ (fetch_deps.sh downloads the third-party sources, then Gradle).

Data

Settings, users, captures and caches live in %APPDATA%\NSW-Home (Windows) or ~/.config/NSW-Home (Linux). Nothing is written to the emulators' folders except the settings NSW-Home manages for you, always with a backup of the original file. The profile pictures your friends show you, and the pictures of their games, are kept in the friendpics folder there; removing a friend removes theirs. Resetting NSW-Home from its settings empties that folder, but it does not end friends: your friends, your friend code and "Share My Activity" stay as they were (the pictures are fetched again), and only "Show My Picture to Friends" is turned off. To stop sharing, turn "Share My Activity" off.

Privacy

NSW-Home sends nothing over the network until you turn something on: friends (after a consent screen that explains what is shared), online play, the update check (only when you press it), and the web pages of the shop and news buttons.

With friends turned on, anyone who has your friend code can see your nickname and the colour of your icon. Your profile picture (a small copy, 128 pixels), what you play and your play time go only to the friends you accepted, encrypted for them, through the public BitTorrent DHT, which sees your IP address. The picture has a switch of its own ("Show My Picture to Friends", under "Share My Activity"): turning it off stops sending it and takes it back from the network, but a friend who already received it may still have it. If you turned friends on before pictures existed, nothing of your picture is sent until you are asked once and answer "Share". Your friends also receive the pictures of the console games you play (small copies, for the games in your play activity), so that they see them next to the games' names; the picture of a PC program you added is never sent. These game pictures come from your own dumps. They follow "Share My Activity" and have no switch or question of their own: whoever shares what they play shares them, also after updating from a version that did not send them, and turning "Share My Activity" off stops it.

License

GNU General Public License v3.0 — see LICENSE. Third-party code and its licenses are listed in THIRD_PARTY.md.

About

Switch-style home menu for PC: an emulator frontend and game launcher for your own Switch dumps (Ryujinx, Ryubing, Eden, Citron, Suyu) and native PC ports. Native C++, one small exe, no Electron.

Topics

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages