From WikiTemp, the GBAtemp wiki
(Creating the page)
 
(small edit)
Line 12: Line 12:
  
 
You need a specific makefile for your homebrew in order to build a nsp, or you can generate a forwarder (nro loader) to install on your console.  
 
You need a specific makefile for your homebrew in order to build a nsp, or you can generate a forwarder (nro loader) to install on your console.  
A Homebrew Forwarder template is provided with HacBrewPack. replace [https://github.com/The-4n/hacBrewPack/blob/master/sample_hbmenu_loader/source/main.c#L210 the path to the nro], and [https://github.com/The-4n/hacBrewPack/blob/master/sample_hbmenu_loader/hbmenu.json#L3-L5 the TitleID] to use for your nsp.
+
 
 +
A Homebrew Forwarder template is provided with HacBrewPack. replace [https://github.com/The-4n/hacBrewPack/blob/master/sample_hbmenu_loader/source/main.c#L210 the path to the nro] and [https://github.com/The-4n/hacBrewPack/blob/master/sample_hbmenu_loader/hbmenu.json#L2-L5 the name and TitleID] to use for your nsp, and the other parameters if needed.
  
 
The nro loader will have the advantage of not needing any update and reinstall when you release a new homebrew revision, it will always load the .nro file on your SD card.
 
The nro loader will have the advantage of not needing any update and reinstall when you release a new homebrew revision, it will always load the .nro file on your SD card.

Revision as of 10:02, 29 September 2018


This page will maintain a list of TitleID used by Homebrew using the NSP format to prevent conflict with other packed homebrew, or even retail games.

You can find retail TitleID for system file and games on switchbrew.

Information

Creating a NSP for your homebrew

You can use HacBrewPack(Thread), or NSPBuild to create an installable nsp file for your homebrew.


You need a specific makefile for your homebrew in order to build a nsp, or you can generate a forwarder (nro loader) to install on your console.

A Homebrew Forwarder template is provided with HacBrewPack. replace the path to the nro and the name and TitleID to use for your nsp, and the other parameters if needed.

The nro loader will have the advantage of not needing any update and reinstall when you release a new homebrew revision, it will always load the .nro file on your SD card.


HacBrewPack recommendations

  • Always use lower-case titleid
  • Valid titleid range is: 0x0100000000000000 - 0x01ffffffffffffff


Choosing the titleID

When you create your nsp, you have to edit a setting file (npdm.json) and specify the homebrew's title, its TitleID, etc.


The Switch is using a TitleID protocol, and homebrew should follow it too:

  • ALL current Titles for Switch begins with 0100
  • Games always end with "000".
  • Systemtitles are all in "010000000000xxxx".
  • Updates ends with "800"
  • DLCs ends with "0xx" (from 01 - xx)


Homebrew TitleID List

TitleID Homebrew name Description
0104444444444001 HBMenu loader A forwarder to load hbmenu.nro