Homebrew RELEASE hacBrewPack - Make NSPs/NCAs from homebrews

  • Thread starter Thread starter The-4n
  • Start date Start date
  • Views Views 65,776
  • Replies Replies 102
  • Likes Likes 56
I thought using switchbrew was more logical because not everyone is following gbatemp (and even less wikitemp), but I can create a wikitemp page to keep track of current titleID until a proper switchbrew page is created.

alternatively, we could maintain the list on the first post of this thread too.

edit:
I created this page :
https://wiki.gbatemp.net/wiki/List_of_Switch_homebrew_titleID

Please, review and report any error !! I probably made some errors as I never tried that tool yet.
I put the link to the first post too.

I added switch category to Wikitemp main page to make them visible to everyone. they are still missing a lot of data.
 
Last edited by Cyan,
That is a BIG number. I don't think we will be running into the same random titleid. Unless of course you have a Quadrillion games.:lol:
 
Last edited by Bigjokker,
conflict might not happen, and (I thought it was a problem but apparently not) at worse it won't overwrite the existing title when trying to install it. but just to prevent people from using simple numbers 0100000000015000 for example
maybe it could be useful to someone to get a list of existing TitleID. for example, making launchers ? maybe not, I don't know.

I added a link to the python3 TitleID generator.
 
Last edited by Cyan,
Also if we can find the error code a conflicting titleid would cause would be helpful.

As the OP said the new one will not install and it won't conflict with your current game.

@Cyan Here is a bat TitleID maker for people who don't use python.

Code:
@ECHO OFF
setlocal enabledelayedexpansion
set n=0
:loop
set rand=
set /A rand=%RANDOM%%%16+1
set /A n=n+1
if %rand%==1 set rand!n!=a
if %rand%==2 set rand!n!=b
if %rand%==3 set rand!n!=c
if %rand%==4 set rand!n!=d
if %rand%==5 set rand!n!=e
if %rand%==6 set rand!n!=f
if %rand%==7 set rand!n!=1
if %rand%==8 set rand!n!=2
if %rand%==9 set rand!n!=3
if %rand%==10 set rand!n!=4
if %rand%==11 set rand!n!=5
if %rand%==12 set rand!n!=6
if %rand%==13 set rand!n!=7
if %rand%==14 set rand!n!=8
if %rand%==15 set rand!n!=9
if %rand%==16 set rand!n!=0
if !n!==11 goto end
if !n! LSS 11 goto loop
:end
echo.
echo Random TitleID : 01%rand1%%rand2%%rand3%%rand4%%rand5%%rand6%%rand7%%rand8%%rand9%%rand10%%rand11%000
echo.
pause
exit
 
Last edited by Bigjokker,
I thought using switchbrew was more logical because not everyone is following gbatemp (and even less wikitemp), but I can create a wikitemp page to keep track of current titleID until a proper switchbrew page is created.

If I recalled, WinterMute and others have expressed desires to keep switchbrew wiki to be only a technical wiki, and would prefer others to make their own solutions to maintain databases keeping track of everything outside of the technical info wiki. So, they won't put a page full of homebrew title IDs there, because it's not really a technical article.

I could be wrong.
 
I think gbatemp wiki is a better option for homebrew titleids, switchbrew is not suitable for this
There are lots of nsps floating around, some of them are made with hacBrewPack, others with sdk, but i'm not sure if devs or nsp creators post their tids
 
conflict might not happen, and (I thought it was a problem but apparently not) at worse it won't overwrite the existing title when trying to install it. but just to prevent people from using simple numbers 0100000000015000 for example
maybe it could be useful to someone to get a list of existing TitleID. for example, making launchers ? maybe not, I don't know.

I added a link to the python3 TitleID generator.
Why thank you, I hope someone finds it useful.
 
Last edited by DocKlokMan,
I repacked a retail backup with hacbrewpack and it loaded fine on my switch.

My question is does this remove the games firmware requirements or is that in the games files (i.e main)
 
I repacked a retail backup with hacbrewpack and it loaded fine on my switch.

My question is does this remove the games firmware requirements or is that in the games files (i.e main)

there's no minimum firmware requirement in main.
it's just in cnmt, and hacBrewPack fills it with 0
 
  • Like
Reactions: Bigjokker
what title ids can I use that won't interfere with other title ids? like I don't want to accidentally overwrite a system title just because they had the same title id
 
what title ids can I use that won't interfere with other title ids? like I don't want to accidentally overwrite a system title just because they had the same title id

you cant override system titles with hacbrewpack
if you choose a title id which is already exists in switch, your nsp doesn't install

here's the list of known system titles:
https://switchbrew.org/wiki/Title_list
 
  • Like
Reactions: jimmyj
so uh I want to rebuild a game with modified files to nsp,can I do that with this?
 
new version is out, v1.16
https://github.com/The-4n/hacBrewPack/releases/tag/v1.16

Changelog:
Fixed a bug cause failure of control.nacp validation in titles without AmericanEnglish title name and title author

--------------------- MERGED ---------------------------

so uh I want to rebuild a game with modified files to nsp,can I do that with this?

you can, but hacBrewPack is just limited to program and control ncas and it just make application cnmts
you can use hacPack for this purpose
https://gbatemp.net/threads/hacpack-build-and-repack-ncas-and-nsps.519815/
 
  • Like
Reactions: hippy dave
new version is out, v1.16
https://github.com/The-4n/hacBrewPack/releases/tag/v1.16

Changelog:
Fixed a bug cause failure of control.nacp validation in titles without AmericanEnglish title name and title author

--------------------- MERGED ---------------------------



you can, but hacBrewPack is just limited to program and control ncas and it just make application cnmts
you can use hacPack for this purpose
https://gbatemp.net/threads/hacpack-build-and-repack-ncas-and-nsps.519815/
Do you think it would be possible to implement this into the made NSPs?
https://gbatemp.net/threads/how-to-...crypto-equivalent-ban-risk-mitigation.518312/

Maybe not for the homebrew NSPs, but perhaps for the NCAs to NSPs conversions could help.
 
  • Like
Reactions: ShadowOne333
I like how it went like: "look my friends, I've got legal NSP for you" and everyone was like "bla bla bla, show source, provide proof, gtfo d00d!" ... and then out of the sudden: BOOM! Next Milestone in Switch Haxxing achieved ... everyone praise T3h-4n! Haha, you really kicked them balls there ... great job and thanks for all your efforts and sharing with the scene, ofc!
 
new version is out, v1.20
https://github.com/The-4n/hacBrewPack/releases/tag/v1.20

Changelog:
hacBrewPack now reads titleid from NPDM
Added nonacplogopatch option
Fixed a bug cause invalid IVFC level 6 when romfs section is big
Fixed a bug in writing padding
Fixed sdkversion valid range
Changed hash block size for better compatibility
Increased NCA section encryption buffer size
Changed valid titleid range
 
What cannot hacPack do that this one can if I may ask?

hacBrewPack is just easier than hacPack, hacPack has more capabilities
By using hacPack, You must make program nca, then control nca and after that metadata nca, then pack them into nsp, for every step you need to pass arguments
With hacBrewPack, you can just easily place your files in exefs,romfs,logo and control directories, run hacBrewPack with no argument and you'll get an nsp
 

Site & Scene News

Popular threads in this forum