Hacking NUSPacker - pack files into installable packages

timogus

Member
OP
Newcomer
Joined
Oct 28, 2016
Messages
22
Trophies
0
Age
37
XP
257
Country
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,

LoganK93

Well-Known Member
Member
Joined
Dec 5, 2012
Messages
672
Trophies
1
Age
31
XP
1,992
Country
United States
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...
 

Tigran

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
1,628
Trophies
2
XP
3,648
Country
United States
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

Txustra

Well-Known Member
Member
Joined
May 18, 2013
Messages
458
Trophies
1
Age
32
XP
1,990
Country
Spain
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,

ADS3500

Well-Known Member
Member
Joined
Jul 27, 2016
Messages
330
Trophies
0
XP
286
Country
Canada
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.
 

Txustra

Well-Known Member
Member
Joined
May 18, 2013
Messages
458
Trophies
1
Age
32
XP
1,990
Country
Spain
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"