Hacking DiscU to pack as NUS Files up?

  • Thread starter Thread starter Reecey
  • Start date Start date
  • Views Views 2,513
  • Replies Replies 19

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,980
Reaction score
1,877
Trophies
2
Location
At Home :)
XP
4,908
How do I use DiscU to pack code/content/meta folders. I have never done it before can anyone help?

I have got the new version of discu and my folders and my ckey file but what do you type in etc.. thanks.
 
There must be a way to pack the code/content/meta folders in dimoks homebrew launcher rpx master folder else he would not put them in there for the end users purpose.
 
yes with NUSPacker
How did you do it cause I am stuck.

I have put in the NUSPACKER folder, code/content/meta/java file folders with a txt called encryptKeyWith with this text below:

-in ; is the dir where you have your decrypted data. Make this pointing to the root folder with the folder code,content and meta.
-out ; Where the installable package will be saves

(optional! will be parsed from app.xml if missing)
-tID ; titleId of this package. Will be saved in the TMD and provided as 0005000013374842
-OSVersion ; target OS version
-appType ; app type
-skipXMLParsing ; disables the app.xml parsing

(optional! defaults values will be used if missing (or loaded from external file))
-encryptionKey ; XXXXXXXXXXX "title key"
-encryptKeyWith ; XXXXXXX "Common Key"

then open cmd and type in
java -jar NUSPacker.jar -in"inputDir"-out"outputDir"

does not do anything for me?
 
Last edited by Reecey,
How did you do it cause I am stuck.

I have put in the NUSPACKER folder, code/content/meta folders with a txt called encryptKeyWith with this text below:

-in ; is the dir where you have your decrypted data. Make this pointing to the root folder with the folder code,content and meta.
-out ; Where the installable package will be saves

(optional! will be parsed from app.xml if missing)
-tID ; titleId of this package. Will be saved in the TMD and provided as 0005000013374842
-OSVersion ; target OS version
-appType ; app type
-skipXMLParsing ; disables the app.xml parsing

(optional! defaults values will be used if missing (or loaded from external file))
-encryptionKey ; XXXXXXXXXXX title key
-encryptKeyWith ; XXXXXXX Common Key

then open cmd and type in
java -jar NUSPacker.jar -in"inputDir"-out"outputDir"

does not do anything for me?
inputDir need to be the location the files are stored and outputDir needs to be where the files will be saved also you need the common key too.
 
make a folder called hbl and put there your code/content/meta folders. then you make a folder called hblout. then you type in a command line: java -jar Nuspacker.jar -in hbl -out hblout -encryptKeyWith "commonkey"
 
inputDir need to be the location the files are stored and outputDir needs to be where the files will be saved also you need the common key too.
I have done all those but its doing nothing, its not even recognising anything.

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

make a folder called hbl and put there your code/content/meta folders. then you make a folder called hblout. then you type in a command line: java -jar Nuspacker.jar -in hbl -out hblout -encryptKeyWith "commonkey"
Not working! you get an output folder with nothing in it.
 
the files are in the hblout folder
like it says -out hblout
-out means output.

You can send me the files per pm and I'll pack them for you
 
the files are in the hblout folder
like it says -out hblout
-out means output.

You can send me the files per pm and I'll pack them for you
I will send them to you now. Its frustrating me tbh? its just a tester there's nothing to it at the moment but tbh I really need to know how to do it myself but thanks its a help :)
 
Donwload the HBL repo, create the encryptKeyWith file with the common key and do
Code:
make install_channel

That's all.
 
On Windows I would download the file NUSPacker.jar from https://bitbucket.org/timogus/nuspacker/downloads/ manually and put it in the folder with the Makefile. For me the wget command (line 164) resulted in an error, but the manual way all worked great. When you then run 'make install_channel', it will skip the download.
 

Site & Scene News

Popular threads in this forum