Hacking NUSPacker - pack files into installable packages

timogus

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

KillzXGaming

Well-Known Member
Member
Joined
Jan 2, 2016
Messages
1,629
Trophies
0
Age
28
XP
1,618
Country
United States
Can we use this to convert Loadiine games into NUS games for installation?
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).
 
  • Like
Reactions: CatmanFan

timogus

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

Zarklord

Well-Known Member
Member
Joined
May 13, 2016
Messages
194
Trophies
0
Age
25
XP
268
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 =)
smash has 2gb > .app files tho
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
Swap rpl/rpx with HBL (if it's been compiled as rpl/rpx), edit icons and meta, package and instal.

Worth a try!

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.
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
Do you think that this being released will delay SALT's release, as they may want to incorporate a coldboot hack into their version of iosu/rednand??

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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    although im off school that day
  • BakerMan @ BakerMan:
    today is the 7th anniversary of Captain Underpants, which was actually a surprisingly good movie
  • K3Nv2 @ K3Nv2:
    That's been around since I was in elementary
  • Xdqwerty @ Xdqwerty:
    @BakerMan, i recall watching it on fox
  • SylverReZ @ SylverReZ:
    Who watches FOX nowadays? Only reason to get alt-right viewers interested.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that was like when i was 10
  • SylverReZ @ SylverReZ:
    @Xdqwerty, We didn't have FOX Kids over here, back then it was Jetix.
  • SylverReZ @ SylverReZ:
    Similar to FOX Kids. I remember when Sonic X aired.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the latin american fox feed doesnt air news, it airs movies and tv shows
    +1
  • SylverReZ @ SylverReZ:
    Ah, I see.
  • Xdqwerty @ Xdqwerty:
    and i wasnt even born when fox kids/jetix was alive
  • Xdqwerty @ Xdqwerty:
    also a couple years ago latin american fox got renamed to star channel
  • SylverReZ @ SylverReZ:
    Yes?
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, sorry
    i thought you didnt read the last couple messages before quoting you agin
  • BakerMan @ BakerMan:
    ah sonic x, that show is valid
  • BakerMan @ BakerMan:
    (of course the mf with a sonic pfp would say that 😭)
  • BigOnYa @ BigOnYa:
    @Xdqwerty you are not dumb or stupid, you need to stop saying that, you are very smart, even about alot of things I have no clue about. We all love you here, like a big family.
  • K3Nv2 @ K3Nv2:
    Yeah @BigOnYa love me so much he started yelling at me for having my shoes on in the bed when he caught me with his wife
    +1
  • BigOnYa @ BigOnYa:
    True, I don't want mud crumbs in my bed, and btw you left without paying your tab. Ill add it to next month but getting tired of extending.
  • K3Nv2 @ K3Nv2:
    I hope silent hill 2 turns out good
    +1
  • BigOnYa @ BigOnYa:
    I seen that, hope so too, the first was so epic back then.
  • K3Nv2 @ K3Nv2:
    Didn't look into much is it just a remake
  • BigOnYa @ BigOnYa:
    Only thing drive me crazy is all these new horror games nowadays is its so dark, all time.
    BigOnYa @ BigOnYa: Only thing drive me crazy is all these new horror games nowadays is its so dark, all time.