Homebrew RELEASE hacPack - Build and Repack NCAs and NSPs

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,867
Trophies
2
Location
At Home :)
XP
4,141
Country
I was just trying this I can build an .nca file to convert to .nsp but where do I put my main title logo 256x256 not the Nintendo logos I know those go into logo folder I'm talking about the main logo does that also go into the same logo folder also how do I name it. thanks.
 
Last edited by Reecey,

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
I was just trying this I can build an .nca file to convert to .nsp but where do I put my main title logo 256x256 not the Nintendo logos I know those go into logo folder I'm talking about the main logo does that also go into the same logo folder also how do I name it. thanks.

control.nca
icon_langname.dat
 
  • Like
Reactions: Reecey

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,867
Trophies
2
Location
At Home :)
XP
4,141
Country
control.nca
icon_langname.dat
Thank you

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

control.nca
icon_langname.dat
so the icon name goes into Control NCA box icon_langname.dat

where does the atucal icon go 256x256?

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

@The-4n which box does the control.nacp the title go?
 
Last edited by Reecey,

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
Thank you

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


so the icon name goes into Control NCA box icon_langname.dat

where does the atucal icon go 256x256?

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

@The-4n which box does the control.nacp the title go?

control.nacp and icons are all part of control nca
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,867
Trophies
2
Location
At Home :)
XP
4,141
Country
control.nacp and icons are all part of control nca
I thought you had two files one for the icon> con_langname.dat and another file for the name> control.nacp but in the Control.NCA/Application box under metanca tab I can only pick one file. I am trying to make the icon & name part of my homebrew nsp. I have created an .nca file I presume next I need to create a cnmt.nca file part to fully make an nsp on the nsp tab to install.
 
Last edited by Reecey,

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
I thought you had two files one for the icon> con_langname.dat and another file for the name> control.nacp but in the Control.NCA/Application box under metanca tab I can only pick one file. I am trying to make the icon & name part of my homebrew nsp. I have created an .nca file I presume next I need to create a cnmt.nca file part to fully make an nsp on the nsp tab to install.

Well you are totally confused
if you want to make nsp for your homebrew, you can use hacbrewpack which is easier
Also read docs
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,867
Trophies
2
Location
At Home :)
XP
4,141
Country
@The-4n

If I private pm you the required files can you have ago at compiling it for me I’m not sure if it’s me doing it wrong or it just cannot be done, it’s not the average homebrew app this is the issue and it’s winding me up keep trying.
 
Last edited by Reecey,

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
@The-4n

If I private pm you the required files can you have ago at compiling it for me I’m not sure if it’s me doing it wrong or it just cannot be done, it’s not the average homebrew app this is the issue and it’s winding me up keep trying.

Send me the files, I can build them for you
But i highly recommend that you do it yourself, specially with hacbrewpack, it's super easy
You can use hactool to extract some nsps/ncas and see what's inside different ncas so it'll be easier to learn
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
new version is out, v1.35
https://github.com/The-4n/hacPack/releases/tag/v1.35

Changelog:
Added option for setting nca distribution type to gamecard
Removed --noromfs and --nologo options, hacPack now skips creating romfs and logo sections for program nca if romfsdir and logodir are not set
Changed pfs0 padding size and hash table block size for better compatiblity and less nca size
 
  • Like
Reactions: hippy dave

alkar

Well-Known Member
Member
Joined
Apr 30, 2013
Messages
338
Trophies
1
Age
93
XP
1,093
Country
United States
Thanks for the new build @The-4n

BTW your latest versions fixed all my issues with some games not working.

Only issue remained (but maybe you fixed it with the Changed pfs0 padding size) is that I can't seem to be able to use official updates with rebuilt NCAs, it says when booting the game that the game has exited blah blah.

Is it normal ? I guess because I edited romFS? No way around that without modifying the updates NCA?
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
Thanks for the new build @The-4n

BTW your latest versions fixed all my issues with some games not working.

Only issue remained (but maybe you fixed it with the Changed pfs0 padding size) is that I can't seem to be able to use official updates with rebuilt NCAs, it says when booting the game that the game has exited blah blah.

Is it normal ? I guess because I edited romFS? No way around that without modifying the updates NCA?

There's a chance it's because of modified RomFS
Merge update with current ncas (with hactool) and repack them
 

alkar

Well-Known Member
Member
Joined
Apr 30, 2013
Messages
338
Trophies
1
Age
93
XP
1,093
Country
United States
Yeah that's what I did and obviously it works. Need to do that every time there is an update though. But good workaround I guess.
 
D

Deleted User

Guest
After building NCA as System Data Archive title, which FontStandard, how do I install it? I'm trying out some custom system font.

Here's the cmd I inputted
hacpack.exe --keyset keys.dat --keygeneration 6 --output Ubuntu-font --type nca --ncatype data --titleid 0100000000000811 --romfsdir Ubuntu-R\RomFS
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
After building NCA as System Data Archive title, which FontStandard, how do I install it? I'm trying out some custom system font.

Here's the cmd I inputted
hacpack.exe --keyset keys.dat --keygeneration 6 --output Ubuntu-font --type nca --ncatype data --titleid 0100000000000811 --romfsdir Ubuntu-R\RomFS

If it's systemdata, Create metadata nca
Also keep in mind that it breaks your ofw, so you can't boot into ofw anymore

Overall, It's dangerous, make sure to have a nand backup before doing this
 
Last edited by The-4n,
D

Deleted User

Guest
If it's systemdata, Create metadata nca
Also keep in mind that it breaks your ofw, so you can't boot into ofw anymore

Overall, It's dangerous, make sure to have a nand backup before doing this
Yeah, I'll backup NAND and boot CFW. What software do I use to install nca? ChoiDujour?
Also I'm having trouble making meta
hacpack.exe -k keys.dat --keygeneration 7 -o "Ubuntu-font-meta" --type nca --ncatype data --titleid 0100000000000811 --titletype systemdata --datanca "Ubuntu-font\3b55d4cfd6f4aa60aa0577d2e4d4e94e.nca"

it prints --help instead
 
Last edited by ,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: Chili dog :ninja: