Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Switch-NSP-Forwarder: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
Line 23: Line 23:
The NSP is saved directly onto your SD card, so you no longer need to copy the generated forwarder onto your SD card manually.
The NSP is saved directly onto your SD card, so you no longer need to copy the generated forwarder onto your SD card manually.


A couple pre-requisite notes:
Note that the app needs full memory mode access so it will need to be launched via title redirection from the homescreen. It can not be launched directly from the album menu.
* You will need to have a prod.keys file generated from Lockpick RCM located on the SD card located within the /switch directory.
* The app needs full memory mode access so it will need to be launched via title redirection from the homescreen. It can not be launched directly from the album menu.


==Screenshots==
==Screenshots==
Line 34: Line 32:
==Changelog==  
==Changelog==  
'''v0.0.4'''
'''v0.0.4'''
* Add initial support for generating RetroArch forwarders
* Add initial support for generating RetroArch forwarders.
* Update nx.js to v0.0.59 ([https://github.com/TooTallNate/nx.js/commit/66ceb150c8e511f876501bb8320e04e127a57f75 fixes] an issue loading icon data for NROs that were larger than expected)
* Update nx.js to v0.0.59 ([https://github.com/TooTallNate/nx.js/commit/66ceb150c8e511f876501bb8320e04e127a57f75 fixes] an issue loading icon data for NROs that were larger than expected).
* Scale down the quality of the generated icon JPEG file (as needed) so that it fits within the allowed 0x20000 byte file size
* Scale down the quality of the generated icon JPEG file (as needed) so that it fits within the allowed 0x20000 byte file size.
* Overclock the CPU while the generator app is running to speed up generation time
* Overclock the CPU while the generator app is running to speed up generation time.
* Print a timestamp of how long it took to generate the forwarder NSP on Success page
* Print a timestamp of how long it took to generate the forwarder NSP on Success page.
* Use the "spl" service to dynamically retrieve the encryption header key, when prod.keys is not present
* Use the "spl" service to dynamically retrieve the encryption header key, when prod.keys is not present.
* 📣 Shout out to @impeeza for helping report and debug a couple different issues related to troublesome .nro files
* Shout out to @impeeza for helping report and debug a couple different issues related to troublesome .nro files.
* 📣 Shout out to @ITotalJustice for recommending to generate plaintext NSP files and retrieve the header key dynamically, so now the prod.keys file is no longer needed
* Shout out to @ITotalJustice for [https://github.com/TooTallNate/switch-nsp-forwarder/issues/7 recommending] to generate plaintext NSP files and retrieve the header key dynamically, so now the prod.keys file is no longer needed.
* Note: The "RetroArch" forwarder mode is very rudimentary so far. You will need to fill in the fields manually. In an upcoming release, this app will attempt to retrieve box art and metadata for the selected ROM through an API service.
'''v0.0.3'''
'''v0.0.3'''
* Use [https://www.npmjs.com/package/jimp <code>jimp</code>] to resize icon to 256x256 and remove EXIF data (this should prevent '''?''' from being shown for some apps, i.e. chiaki).
* Use [https://www.npmjs.com/package/jimp <code>jimp</code>] to resize icon to 256x256 and remove EXIF data (this should prevent '?' from being shown for some apps, i.e. chiaki).
* Fix potential error at boot-up if any nro files' metadata fails to parse (i.e. &quot;mame-nx&quot; which was reported [https://gbatemp.net/threads/switch-nsp-forwarder-generate-forwarders-directly-on-your-switch.663615/post-10554399 here]).
* Fix potential error at boot-up if any nro files' metadata fails to parse (i.e. &quot;mame-nx&quot; which was reported [https://gbatemp.net/threads/switch-nsp-forwarder-generate-forwarders-directly-on-your-switch.663615/post-10554399 here]).
* Fix crash when selecting the &quot;switch&quot; directory with the file picker.
* Fix crash when selecting the &quot;switch&quot; directory with the file picker.

Latest revision as of 04:02, 22 December 2024

Switch-NSP-Forwarder
SwitchNSPForwarder.png
General
AuthorTooTallNate
TypeUtilities
Version0.0.4
LicenseMixed
Last Updated2024/12/19
Links
Download
Website
Source

Switch-NSP-Forwarder is a homebrew app made with nx.js that aims to be equivalent of the online tool NSP Forwarder Generator, but it runs on your Switch instead.

The NSP is saved directly onto your SD card, so you no longer need to copy the generated forwarder onto your SD card manually.

Note that the app needs full memory mode access so it will need to be launched via title redirection from the homescreen. It can not be launched directly from the album menu.

Screenshots

SwitchNSPForwarder-01.png

SwitchNSPForwarder-02.png

Changelog

v0.0.4

  • Add initial support for generating RetroArch forwarders.
  • Update nx.js to v0.0.59 (fixes an issue loading icon data for NROs that were larger than expected).
  • Scale down the quality of the generated icon JPEG file (as needed) so that it fits within the allowed 0x20000 byte file size.
  • Overclock the CPU while the generator app is running to speed up generation time.
  • Print a timestamp of how long it took to generate the forwarder NSP on Success page.
  • Use the "spl" service to dynamically retrieve the encryption header key, when prod.keys is not present.
  • Shout out to @impeeza for helping report and debug a couple different issues related to troublesome .nro files.
  • Shout out to @ITotalJustice for recommending to generate plaintext NSP files and retrieve the header key dynamically, so now the prod.keys file is no longer needed.
  • Note: The "RetroArch" forwarder mode is very rudimentary so far. You will need to fill in the fields manually. In an upcoming release, this app will attempt to retrieve box art and metadata for the selected ROM through an API service.

v0.0.3

  • Use jimp to resize icon to 256x256 and remove EXIF data (this should prevent '?' from being shown for some apps, i.e. chiaki).
  • Fix potential error at boot-up if any nro files' metadata fails to parse (i.e. "mame-nx" which was reported here).
  • Fix crash when selecting the "switch" directory with the file picker.
  • Update nx.js to v0.0.58.
  • Improvements to the text input editor interaction with the virtual keyboard.

v0.0.2

  • Traverse subdirectories of the /switch directory to find ".nro" files.
  • Include the root hbmenu.nro in the selection screen as well.
  • Show five apps per row on the selection screen (previously was four).
  • Skip .nro entries that begin with a . character (MacOS tends to create these files, which are not actually NROs).
  • Use more optimized method for parsing NRO metadata.
  • Fix issue writing .nsp file when title contains illegal characters for a filename (i.e. :).
  • Add a file picker interface to the selection screen to explicitly select a ".nro" file.

v0.0.1

  • First Release.

External links

Advertising: