Skip to content

nx2-layered 0.1.4

Latest

Choose a tag to compare

@Olmectron Olmectron released this 29 Nov 13:07

Warning

Experimental. Use it at your own risk. No warranty: the authors take no responsibility for any damage or loss (console, card, saved data, account). Starting a game this way swaps the saves of an installed title: back up your saves first. Read the README first.

Important

Use dumps of games you own, made by you. No game, key or console file is part of this release, and none will be provided.

Needs kaiHEN 20261128.1 or later and an exFAT card.

Changes

  • Name filter stand-in, an advanced option in Donor options (Yes by default): a game that checks a name as it is entered (the console's profanity filter) closed there with an error in place of a title that doesn't allow that filter. make now gives such a game a copy of its own sdk whose filter needs no service and lets every name through; the game runs with it while the option is Yes, and Put back gives its own sdk back. Only games whose code uses the filter get the copy.
  • Services warning: before a start, the settings say when the title doesn't allow services the game uses (read from both main.npdm files), and that the game may close with an error when it uses one. + starts it all the same. The name filter is left out of it while the stand-in is on.
  • System memory for the game's process (its system resource size): with Whole RomFS and the modified kaiHEN (below), the game gets its own size, not the title's. A game that asks for more than the title keeps closed as it started. With Whole RomFS set to No, such titles aren't chosen.
  • 32 or 64-bit read on the console: each title's main.npdm is read through kaiHEN, game cards included, and shown in the settings before a start. Copies are kept in /nx2/.npdm/.
  • A Switch 2 Edition runs in place of another Switch 2 Edition only (in place of other kinds it closed with an error).
  • Put back no longer leaves a romfs.whole mark in the title's folder (it was then set aside as that title's own mods).

kaiHEN fork (optional)

Caution

Unofficial builds, use them at your own risk. They are not made or supported by kaiHEN's authors. No warranty: the authors of this fork and of nx2-layered take no responsibility for any damage or loss (console, card, saved data, account). Keep the original main to go back.

Two builds of kaiHEN's HEN with romfs.whole support (what the Whole RomFS setting uses) and, new in this release, the system resource size mark (exefs/main.npdm.srs.<hex>, what nx2-layered uses to give a game its own size). Each replaces only sd:/kaihen/bin/hen/main (keep the original to go back); a folder without these files behaves as stock. Pick the one that matches your kaiHEN install: a HEN with the other base's RO/bootstrap stops R from opening the homebrew menu.

zip for source
kaihen-nx2-fork-hen.zip ouncebrew's official kaiHEN 20261128.1 nx2-whole-romfs (changes)
kaihen-nx2-fork-hen-autoloader.zip civ-autoloader v1.3-beta nx2-whole-romfs-autoloader (changes)

In sd:/kaihen/contents/<id>/: romfs.whole (empty) makes romfs.bin the whole RomFS, romfs.layer.bin (optional) is a second image over it, romfs/ loose files go over both, and exefs/main.npdm.srs.<8 hex digits> (empty) serves the title's main.npdm with that system resource size, every other byte the title's own. The size mark was tried on the console with the autoloader build; the official build has the same change and its segments where the release has them. md5 of main: f0546aceecfc2112bf0aa6e74d9e048c (official), 1f1479fa3d54c70e6d0fd2b5ca16741e (autoloader).

Install

Attached, for /switch/nx2-layered/ on the card: nx2-layered-options.nro (Donor options) and nx2-layered-restore.nro (Put back and restore saves). A game's own program is built from your dump by the tool on your PC (python nx2layered.py): make each game's program again (python nx2layered.py remake, with --sd or --ftp) to get the new settings and, for a game that uses the name filter, its sdk copy.