DiscU to pack as NUS Files up?

Discussion in 'Wii U - Hacking & Backup Loaders' started by Reecey, Dec 28, 2016.

  1. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    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.
     
  2. xtheman

    xtheman GBAtemp Guru

    Member
    5,844
    5,264
    Jan 28, 2016
    United States
  3. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
  4. xtheman

    xtheman GBAtemp Guru

    Member
    5,844
    5,264
    Jan 28, 2016
    United States
  5. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
  6. xtheman

    xtheman GBAtemp Guru

    Member
    5,844
    5,264
    Jan 28, 2016
    United States
    can you define not working? Did you convert the elf to rpx? if so it won't work.
     
  7. NicoAICP

    NicoAICP Watches streams

    Member
    148
    159
    Nov 6, 2016
    Germany
    werfs Flammen
    eventually the rpx is broken.
     
  8. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    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.
     
  9. NicoAICP

    NicoAICP Watches streams

    Member
    148
    159
    Nov 6, 2016
    Germany
    werfs Flammen
    did you put the 3 folders into an rpx? Because that'S what I'm understanding. When yes, don't do that
     
  10. Zarklord

    Zarklord GBAtemp Regular

    Member
    191
    64
    May 13, 2016
    United States
    yes with NUSPacker
     
  11. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    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, Dec 28, 2016
  12. xtheman

    xtheman GBAtemp Guru

    Member
    5,844
    5,264
    Jan 28, 2016
    United States
    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.
     
  13. NicoAICP

    NicoAICP Watches streams

    Member
    148
    159
    Nov 6, 2016
    Germany
    werfs Flammen
    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"
     
  14. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    I have done all those but its doing nothing, its not even recognising anything.

    — Posts automatically merged - Please don't double post! —

    Not working! you get an output folder with nothing in it.
     
  15. NicoAICP

    NicoAICP Watches streams

    Member
    148
    159
    Nov 6, 2016
    Germany
    werfs Flammen
    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
     
  16. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    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 :)
     
  17. NicoAICP

    NicoAICP Watches streams

    Member
    148
    159
    Nov 6, 2016
    Germany
    werfs Flammen
    I could write a bat script which does it.
     
  18. Reecey
    OP

    Reecey Mario 64 (favorite game of all time)

    Member
    4,260
    1,105
    Mar 7, 2010
    At Home :)
    That would really help.
     
  19. Maschell

    Maschell GBAtemp Advanced Fan

    Member
    900
    1,314
    Jun 14, 2008
    Gambia, The
    Donwload the HBL repo, create the encryptKeyWith file with the common key and do
    Code:
    make install_channel
    That's all.
     
  20. gl1mml1ng

    gl1mml1ng GBAtemp Regular

    Member
    112
    60
    Jun 26, 2012
    Gambia, The
    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.