Repository navigation
nx2-flow 0.7.1 (pre-release): game loader fixes from contributors
Pre-releaseCaution
PRE-RELEASE. TRY IT AT YOUR OWN RISK.
This build has changes to the game loader from several contributors, tried with few games. Games from a USB drive or from a PC (new in 0.7.0) stay HIGHLY EXPERIMENTAL.
NO WARRANTY. THE AUTHORS TAKE NO RESPONSIBILITY FOR ANY DAMAGE OR LOSS: console, SD card, USB drive, computer, saved data, account, or anything else. If you go on, it is your own decision and your own risk. Back up your saves first.
If you only want what is known to work, stay on 0.6.6, the latest release.
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.
Changed in 0.7.1
Everything here came in as pull requests. Thank you @hellmew, @ptichalouf and @asuasu.
Game loader (0.1.10)
These are for games that didn't start, or closed, with the loader. Games that already ran should run as before.
- A game with no add-on content is told so. Before, its questions went on to the donor title, and it could see the donor's add-ons as its own.
- The main thread gets the stack the game asks for in its
main.npdm, when that is more than the loader's own. - The loader's own code is hidden from a Switch 2 game that looks through its memory (a whole game, newer SDK), so it no longer takes it for one of its modules.
- Modules with many system calls (more than 165) can be loaded whole.
- Newer SDK's symbol look-up with two arguments is answered.
- No user is chosen for a game that doesn't ask for one at its start.
- A call bound late with
nopltno longer writes to a read-only slot, which closed the game. - A NUP file's table of contents is checked against the file's own size before it is used: a cut or damaged file is refused with a message.
Menu
- Game folders get plain names. A folder made from a title with a character the card refuses (a
:, for one) is no longer refused: the name is made plain, or the game's id is used. - LayeredFS turned off in
kaihen.ini([layeredfs], kaiHEN 20261201 and later) is seen and said, as the olderlayeredfs/disabledfile is.
For those who build it
- The tests that run on a computer now run on every push and pull request.
Tried, and not yet
- Tried on a console: the loader's code of this release (a build that differs from this one by its version number only), with two Switch 2 games started from NUP files on the SD card. Both ran as before.
- Not tried on a console by us: the cases the loader's changes are for, which those two games don't reach (each was tried by its author); this exact build of the menu.
Games from a USB drive or a PC
Nothing changed since 0.7.0: its notes say what it is, what to expect and what was tried. They need the nx2 fork's kaiHEN files, the same two zips as in 0.7.0, attached here again:
| Your kaiHEN | Zip to extract | Tried on a console |
|---|---|---|
| The official kaiHEN 20261201.1 | kaihen-nx2-fork-20261201.1-official.zip |
Yes |
| SeanHeuc/kaihen 20261202.1 (the autoloader's) | kaihen-nx2-fork-20261202.1-autoloader.zip |
Not yet |
Without them nx2-flow works from the SD card, and the menu says why a USB drive or a PC can't be chosen.
Install or update
Unzip nx2-flow-0.7.1.zip onto the root of the SD card and replace the files. The menu and the game loader are new; /nx2-flow/standin.nso is the same as before.