Skip to content

nx2-relink 0.1.8 (pre-release)

Pre-release
Pre-release

Choose a tag to compare

@Olmectron Olmectron released this 25 Nov 20:13
· 4 commits to main since this release

Pre-release. These changes come from reports that are still being looked into, and things are still being tried.

Less work for every call a game makes. Every call from a game's own code to its SDK and its C library went through the port's logging path, for the whole run. Now only a function's first call does (it is still named in the log), and later calls go straight to the function, as on the console. A game in play makes such calls by the hundred thousand for each picture.

The log says how fast the game runs: a line for each 256 pictures shown, with the pictures a second. If a game is slow somewhere, send log.txt from that run.

Which game you start the homebrew menu over matters. To the console, a port is that game, and has what that game's own description allows, not what its own game was made for. The reports so far show three such things: the memory for graphics, the "system resource" (without any, a program can't map memory as it runs, which some games do from their start), and the system services a program may open. A port whose game needs more than the host game has ends at its start, or as it runs.

Start the homebrew menu over the same game the port was made from, whenever you can: it has exactly what the game needs. Otherwise try another game.

What a port now says of it:

  • log.txt and crash.txt have, near their start, what the host game had and what the port's game was made for: the lines memory for graphics and system resource.
  • A service the console doesn't give is named in the log, and crash.txt says so in its ended: line when the game ends on it.
  • The tool says the game's own figures when it builds a port.

Reports say more.

  • When the port's own side ends the program, its last lines now reach the card. They were lost, and the report said nothing of the end.
  • The game's files on the card are checked at start: an image that is incomplete (a copy cut short, a card with no room left) is said so, in place of the game's SDK ending the program with "data is corrupted".
  • A game that moves its threads between cores all the time no longer fills the end of the log with it.

Build your port again with this release (the program only: "Copy only the program" or --nro-only) to have these.

Experimental. Use it at your own risk, and with your own backups only.