Hacking NUSPacker - pack files into installable packages

  • Thread starter Thread starter timogus
  • Start date Start date
  • Views Views 280,099
  • Replies Replies 480
  • Likes Likes 24
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,
Version 0.2!
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.

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...
 
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.

With or without sig patches?
 
  • Like
Reactions: CatmanFan
NUSPacker is an open-source tool to pack files into an installable format for the WiiU. To install the created packages, you need to run a patched iosu (see: https://github.com/dimok789/iosuhax)
Files packed with this will not install for me either using sig patched SysNAND. (error FFFBF442)
Though Cdecrypt will decrypt them fine.
 
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.

Still detecting too big files for me... :(
8eef8811ad.png


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,
Files packed with this will not install for me either using sig patched SysNAND. (error FFFBF442)
Though Cdecrypt will decrypt them fine.
I even tried tricking it by using the tile Id from a legit app and it still won't install. Not sure why.
 
I have tried with my TMS Uncensored and it didnt work... :(
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.
 
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.

Some files are >2gb, which would take like... 24 hours to upload via wupclient?
 
Last edited by Txustra,

Site & Scene News

Popular threads in this forum