1. timogus

    OP timogus Member
    Newcomer

    Joined:
    Oct 28, 2016
    Messages:
    22
    Country:
    United States
    Hello,

    NUSPacker is an open-source tool to pack files into an installable format for the WiiU. To install/use the created packages, you need to run a patched iosu (see: https://github.com/dimok789/iosuhax)

    Download: https://bitbucket.org/timogus/nuspacker

    To install/use the created packages, you'll need the newest iosuhax rednand version.
    https://github.com/dimok789/iosuhax

    This whole tool it still very experimental. Don't even think about trying to install shit on sysnand, only use it on rednand!

    How to use

    Its not really for end-users yet, but working if you know what you're doing. Make sure you're using the same titleID as you're using the .xml files (or let the tool parse it from the xml, which its the default case)

    Setup
    To use this, you'll a folder which contains a "code", "content" and "meta" folder.

    Optional:
    To save you some typing you can also create a text file "encryptKeyWith" which contains the common key as hexstring (32 characters). This will be used to encrypt the encryption key.

    Pack files
    To pack files, you can use these arguments:
    Code:
    -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 00050000XXXXXXXX
    -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  ; the key that is used to encrypt the package
    -encryptKeyWith ; the key that is used to encrypt the encryption key
    
    In most cases the following command will be totally fine. (make sure to have a valid app.xml)
    Code:
    java -jar NUSPacker.jar -in "inputDir" -out "outputDir"
    
    Without common key stored in file.
    Code:
    java -jar NUSPacker.jar -in "inputDir" -out "outputDir" -encryptKeyWith 12345678123456781234567812345678
    
    --------------------

    Notes:
    • To create a channel out of an .rpx you need valid .xml files and meta data. This tool is just packing everything together.
    • Don't use ddd dumps! The code folder is not working. Redump/get the code folder without ddd.

    Credits:
    timogus
     
    Last edited by timogus, Nov 25, 2016
    JGSHEW, unixkcd, DarthDub and 19 others like this.
  2. Zarklord

    Zarklord GBAtemp Regular
    Member

    Joined:
    May 13, 2016
    Messages:
    194
    Country:
    United States
    HOLY SHIET
     
  3. Wolfy

    Wolfy Person That Never Was
    Member

    Joined:
    Aug 18, 2015
    Messages:
    832
    Country:
    United States
    So I am only guessing at this, but does this mean we can now decrypt a game, modify it, and then repack and install?

    If so.............SM4SH!
     
  4. Zarklord

    Zarklord GBAtemp Regular
    Member

    Joined:
    May 13, 2016
    Messages:
    194
    Country:
    United States
    yup
    im creating a second game with a different title id for having mods preinstalled
     
  5. Tigran

    Tigran GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 6, 2002
    Messages:
    1,560
    Country:
    United States
    Can we use this to convert Loadiine games into NUS games for installation?
     
    CatmanFan likes this.
  6. KillzXGaming

    KillzXGaming GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 2, 2016
    Messages:
    1,627
    Country:
    United States
    Yeah this ideally does just that. We could also possibly make modded updates for those who wanna mod smash or mario kart 8, or even make full separate titles with custom meta files and stuff. Oh and i also heard you can get region free games by edting the meta file (as the wii u just checks the meta files for region checks).
     
    CatmanFan likes this.
  7. timogus

    OP timogus Member
    Newcomer

    Joined:
    Oct 28, 2016
    Messages:
    22
    Country:
    United States
    Currently I guess its limited to 2gb. I need to figure out a smart way to split the content automatically between serveral .app files when they get bigger than 2gb.
    I tested repacking NSMBU though. 1,7gb and 1000+ files. worked fine =)
     
  8. Zarklord

    Zarklord GBAtemp Regular
    Member

    Joined:
    May 13, 2016
    Messages:
    194
    Country:
    United States
    smash has 2gb > .app files tho
     
  9. Don Jon

    Don Jon GBAtemp Maniac
    Member

    Joined:
    Nov 20, 2015
    Messages:
    1,051
    Country:
    United States
    there is another release of this. is the other release also limited to 2gb?
     
  10. Billy Acuña

    Billy Acuña GBAtemp Psycho!
    Member

    Joined:
    Oct 10, 2015
    Messages:
    3,093
    Country:
    Mexico
    Unsure, but could this lead to homebrew packaging?
     
    KiiWii likes this.
  11. Tigran

    Tigran GBAtemp Advanced Maniac
    Member

    Joined:
    Nov 6, 2002
    Messages:
    1,560
    Country:
    United States
    Damn.. Limited to 2 gig.. Still won't do the game I want then.
     
  12. Jayro

    Jayro MediCat USB and Malwarebytes Bootable Developer
    Developer

    Joined:
    Jul 23, 2012
    Messages:
    8,277
    Country:
    United States
    Someone please make a GUI for this! :D
     
  13. Quantumcat

    Quantumcat Dead and alive
    Member

    Joined:
    Nov 23, 2014
    Messages:
    15,149
    Country:
    Australia
    I will right now
    Probably easier to use the command line though
     
    iVcU and Jayro like this.
  14. KiiWii

    KiiWii Reporter
    Reviewer

    Joined:
    Nov 17, 2008
    Messages:
    11,003
    Country:
    United Kingdom
    Swap rpl/rpx with HBL (if it's been compiled as rpl/rpx), edit icons and meta, package and instal.

    Worth a try!
     
  15. driverdis

    driverdis I am Justice
    Member

    Joined:
    Sep 21, 2011
    Messages:
    2,693
    Country:
    United States
    won't work as the Wii U checks file signatures of the binary and meta (not sure about icons) and will fail. this is why region modding games does not work. since meta sig is invalid, it fails unless on sigpatched RedNAND.
     
  16. KiiWii

    KiiWii Reporter
    Reviewer

    Joined:
    Nov 17, 2008
    Messages:
    11,003
    Country:
    United Kingdom
    Well yeah is needs sig patches.
     
    Billy Acuña likes this.
  17. driverdis

    driverdis I am Justice
    Member

    Joined:
    Sep 21, 2011
    Messages:
    2,693
    Country:
    United States
    I am tired right now and missed the part about using this on RedNAND :sleep:
     
    KiiWii likes this.
  18. DaBlackDeath

    DaBlackDeath .::[ lone wolf ]::.
    Member

    Joined:
    Dec 22, 2007
    Messages:
    908
    Country:
    Germany
    Is this the same like the Wii U Installer Packer 0.4 ? But just a java port ?
     
    CatmanFan and Masterwin like this.
  19. nikeymikey

    nikeymikey This is now a Spiderman thread.........
    Member

    Joined:
    Nov 19, 2008
    Messages:
    1,280
    Country:
    United Kingdom
    Whoops
     
  20. driverdis

    driverdis I am Justice
    Member

    Joined:
    Sep 21, 2011
    Messages:
    2,693
    Country:
    United States
    No, what will delay SALT will be their mindset on the current status of the Wii U scene and how people treat them while they are working on it.

    we should all not bother them to avoid delaying or cancelling any sort of release.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - installable, NUSPacker, packages