Skip to content

nx2-flow 0.2.5

Choose a tag to compare

@Olmectron Olmectron released this 26 Nov 20:16
· 46 commits to main since this release

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).

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.

What is new

All three fixes are the work of @ptichalouf.

  • A game with a very large module starts. A game whose main module asks for more than some 100 MB of zeroed memory (one asks for 136 MB) ended before it began with "no memory for its ... KB". That memory now comes from the loader's own room, which is kept that much longer (#16).
  • A game's "cache storage" has folders of its own. A game that makes cache storage ended on the first one it made. Each is now a folder on the card, /nx2-flow/<title id>/cache/<index>/, apart from the saved data and the same for every slot of it (#17, after nx2-relink's pull request 27 by @cosminneamtiu).
  • A game that opens a file of its saved data with fopen no longer ends there. The file system's command 16, which a newer SDK sends first, is passed on (#17, after nx2-relink's issue 30 by @hellmew).
  • nvnnative. An empty file of that name in a game's folder leaves the game's calls to the graphics driver uncounted by the loader. The log then has no line of how fast the game runs; for a game that needs it only.
  • The loader's version, in a game's log and crash report, is 0.1.6. The menu is the one of 0.2.3 with its number changed.

For those who send changes

The loader's source is this repository's own from this version on: a pull request against loader/ is merged here, as these were. The README has a few lines on what helps one get in.

Install

Unzip nx2-flow-0.2.5.zip onto the card's root, over the earlier one. It holds one folder:

/switch/nx2-flow/nx2-flow.nro      the menu (what the homebrew menu shows)
/switch/nx2-flow/nx2-game.nro      the game loader

Put your NUP files in /nx2-flow/games/, open the homebrew menu over a game (hold R while starting it), and start nx2-flow.

What to know

  • Tried with four games and one setup (kaiHEN 20261117.1): all four run as with 0.2.4, one of them through several minutes of play with the same pace between pictures. None of the four makes cache storage or has a module that large, so those two fixes were seen working by their author only, in the game the pull requests name. Things are still being tested, and mods are in beta.
  • A game that kept its cache storage with its saved data before (in save/) keeps it in cache/0000/ now and makes it again; what it left in save/ is not used and can be deleted.
  • A game gets a little less memory than before: what its modules ask for as zeroed memory (2 to 16 MB in the four games).
  • Which game the homebrew menu is started over matters: a Switch 2 game for a Switch 2 game, and the surest host is the same game. A user's table of hosts is in #5.
  • Not every game runs: one that doesn't fit the loader service needs a port made with nx2-relink.