PC Homebrew for creating NRO forwarders for the Nintendo Switch.
You will need a pc with Visual Studio 2022. You also need to create a folder called Tools (with the relevant files, (which are contained in the release page) in the build folder or it will not run).
On the main picture box you can drag a graphics file, supported formats are png, jpg, jpeg, jfif, tif, bmp, gif, ico. A new graphics file will be created automatically which will be a 256x256 pixel jpg.
You can also drag an existing nro file onto this, information from that will auto populate the programs input boxes and graphics from it will be loaded into the picture box.
Double clicking on this box will auto generate a random value, you can also enter one manually if you want, just keep entering hex values until the program won't let you add anymore. The first character will auto change to "0" as this is required for Hackbrewpack.
For a normal homebrew, don't check the RetroArch forwarder box, just enter the relevant paths to where you expect to run your nro from, usually this is inside the sd card switch folder inside the apps own folder.
RetroArch Forwarders can be made for various gaming systems, such as the Amiga500 using Uae4all2, you have two paths to fill in, one for the nro file and one for the game/config file.
NRO icons can be saved by right clicking on the picture box and selecting "Save Image" from the dropdown menu.
Clicking with your right mouse button on the Generate button will open a hidden patch window, you can patch main.npdm with the following:
No Debug flags
Allow Debug
Force_debug_prod (Use for firmware 18.0.x and below and < AMS 1.8.x)
Force_debug (Use for firmware 19.0.x and + AMS 1.8.x)
This has been modified from the original source, it has had the extra debug flag values added to make it generate compatible NRO forwarders for firmware version 19+ and AtmosphereNX 1.8.0+
On other forwarder programs, I experienced graphic issues in the forwarders due to the way they converted the icon files, this program fixes those issues and converts them properly for you.
Included control.nacp - modifies the PlayLogPolicy flag (0x3037) which is now set to 0x02 (Return None). PlayLogQueryCapability (0x3210) is also set to 0x02 (Allow all titles). This stops the forwarder from showing up in your activity logs (you can use DBI installer to check this).
NSP Forwarder Generator
NRO Editor
SwitchBrew Wiki NRO
SwitchBrew Wiki NCAP
Greetings to impeeza, may the force be with you!
The-4n for hacbrewpack source code.
Switchbrew team for various information on file headers.
cristianmiranda for information about RetroArch forwarders.
Skywalker25 for source code for making forwarders.