NUSPacker - pack files into installable packages

Discussion in 'Wii U - Hacking & Backup Loaders' started by timogus, Nov 7, 2016.

  1. timogus
    OP

    timogus Member

    Newcomer
    2
    Oct 28, 2016
    United States
    Version 0.2!
    - parsing values now directly from the app.xml (no hardcoded values anymore). This should also increase the compatibility.
    - If no encryption key is provided, a default one will be used.
    - the encryptWith key can be stored in an external file. Create a file called "encryptKeyWith" with the key as an hexstring.
    - fixed bug in the FST creation. This should be finally working now.
    - added proper error messages when unassigned files are found. Error message when code/content or meta folder is empty.
    - tmp folder will be deleted automatically at the end
    - fix support for files >2GB (stupid java for not having unsigned ints)
    - fixed int underflow error in the first table of the FST
    - outputing now the current progress for hashing and decrypting. Overall improvement of the output
    - putting .jpg's file from the meta into an extra .app file.
    - restructured the sources

    Last but not least:
    - splitting up the content file if its getting bigger then ~3GB. Limit can be increased but gives not advantages. Single files bigger than 3gb will still be packed.

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

    Now you can simply use this after you set the common key in the encryptKeyWith file:
    Code:
    java -jar NUSPacker.jar -in "inputDir" -out "outputDir"
    The other infos are grabbed directly from the app.xml

    This should finally pack all kind of things. Tested it with SSBU (13GB, with 2 really big (3.9gb) files) and Xenoblade (19gb, with 20k files). Both packed and installed+booted fine.
     
    Last edited by timogus, Nov 13, 2016
    BIFFTAZ, Arck, Maschell and 1 other person like this.
  2. LoganK93

    LoganK93 GBAtemp Advanced Fan

    Member
    7
    Dec 5, 2012
    United States
    Can you maybe answer if it is currently possible to create a new title id and have it install correctly? I am currently using the newest release, and while it seems to pack everything just fine I am still getting error FFFBF442 on installation...
     
  3. Tigran

    Tigran GBAtemp Advanced Maniac

    Member
    9
    Nov 6, 2002
    United States
    With or without sig patches?
     
    CatmanFan likes this.
  4. Yardape8000

    Yardape8000 GBAtemp Regular

    Member
    5
    Feb 26, 2011
    United States
    Files packed with this will not install for me either using sig patched SysNAND. (error FFFBF442)
    Though Cdecrypt will decrypt them fine.
     
  5. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    Still detecting too big files for me... :(
    [​IMG]

    BTW, I put the Wii U Common Key in the file but the progam still does not detect it...

    EDIT: Problem solved, its packig now
     
    Last edited by Txustra, Nov 13, 2016
  6. LoganK93

    LoganK93 GBAtemp Advanced Fan

    Member
    7
    Dec 5, 2012
    United States
    I even tried tricking it by using the tile Id from a legit app and it still won't install. Not sure why.
     
  7. Tarantus

    Tarantus GBAtemp Regular

    Member
    1
    Mar 11, 2015
    Brazil
    -24.100361, -45.689251
    Loadiine games packed with this will install to sysNAND or at least, to the patched one (using CFWBooter, not redNAND)?
     
  8. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    No
     
    Tarantus likes this.
  9. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    Has this been tested? You know you can sig patch sysnand and install unsigned titles.
     
  10. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    I have tried with my TMS Uncensored and it didnt work... :(
     
  11. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    What do you mean it didn't work?
    Did wup installer give an error?
    Did it just no launch?
     
  12. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    Install error in both sys config tool and wupinstaller.
     
  13. ADS3500

    ADS3500 GBAtemp Fan

    Member
    3
    Jul 27, 2016
    Canada
    You can install the normal version of TMS and use wupclient to move mod files from your SD card to the USB. If you do it this way you don't need sig patches and it works on sysnand.
     
  14. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    Some files are >2gb, which would take like... 24 hours to upload via wupclient?
     
    Last edited by Txustra, Nov 13, 2016
  15. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    Wait you installed sys config to sysnand?
    And it didn't brick?
    (Make sure you boot iosuhax for sysnand then install title)
     
  16. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    No, no, I tried on redNAND :)
     
  17. ADS3500

    ADS3500 GBAtemp Fan

    Member
    3
    Jul 27, 2016
    Canada
    If you do the SD card to USB transfer it only takes about an hour for each file over 2gb.
     
  18. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    LoL I have to try that. Which is the path to put those files on the SD?
     
  19. xtheman

    xtheman GBAtemp Guru

    Member
    13
    Jan 28, 2016
    United States
    ???
    Are you sure you didn't generate the file right then? Try a low data loadiine dump convert and see if it installs (Nes remix is 100 mb)
     
  20. Txustra

    Txustra GBAtemp Fan

    Member
    5
    May 18, 2013
    Spain
    Give me some minutes
     
Quick Reply
Draft saved Draft deleted
Loading...