Misc jwudtool error

link22534

Member
OP
Newcomer
Joined
Jun 6, 2017
Messages
15
Trophies
0
Age
124
XP
136
Country
United States
im looking for help with jwud tool, im trying to make my dumped wux a app
using the command
\Downloads\WudCompress>java -jar JWUDTool.jar -in "game.wud" -out "extracted" -extract all
outputs
Extracting: C:\Users\xxxx\Downloads\WudCompress\game.wud
Exception in thread "main" java.lang.IllegalArgumentException: Missing argument
at javax.crypto.spec.SecretKeySpec.<init>(SecretKeySpec.java:93)
at de.mas.wiiu.jnus.utils.cryptography.AESDecryption.init(AESDecryption.java:57)
at de.mas.wiiu.jnus.utils.cryptography.AESDecryption.init(AESDecryption.java:52)
at de.mas.wiiu.jnus.utils.cryptography.AESDecryption.<init>(AESDecryption.java:48)
at de.mas.wiiu.jnus.entities.Ticket.calculateDecryptedKey(Ticket.java:84)
at de.mas.wiiu.jnus.entities.Ticket.createTicket(Ticket.java:78)
at de.mas.wiiu.jnus.entities.Ticket.parseTicket(Ticket.java:71)
at de.mas.wiiu.jnus.NUSTitleLoader.loadNusTitle(NUSTitleLoader.java:68)
at de.mas.wiiu.jnus.WUDLoader.convertGamePartitionToNUSTitle(WUDLoader.java:113)
at de.mas.wiiu.jnus.WUDLoader.getGamePartionsAsNUSTitles(WUDLoader.java:103)
at de.mas.jwudtool.Main.extract(Main.java:219)
at de.mas.jwudtool.Main.main(Main.java:169)

ive tried using wux and wud but both output this error, the wux will convert into a wud just fine with the program
 

link22534

Member
OP
Newcomer
Joined
Jun 6, 2017
Messages
15
Trophies
0
Age
124
XP
136
Country
United States
"java -jar JWUDTool.jar -in "game.wux" -out "extracted" -extract all " is a command from the github page i downloaded it from, im not sure what im missing
edit: ive tried changing "extracted" to game.app but it makes a folder called game.app
 
Joined
Oct 19, 2021
Messages
847
Trophies
1
XP
2,313
Let me go over the basic trouble-shooting.

in the command

Code:
java -jar JWUDTool.jar -in "game.wud" -out "extracted" -extract all

Did you actually specify the output folder within the "extracted" paramater?

Secondly, is the game.key file created, and formatted correctly, also in the correct placement?

Also of course the "extracted" argument creates a new folder. That specifies the output .-.

It only clearly outlines it in the README

2022-11-20_23-25.png

Post automatically merged:

Anyways why are you even using WUX / WUD files? There are so many other alternatives that are WAYYYYY better.

NUSspli as an example.
 
Last edited by Deleted member 571007,

link22534

Member
OP
Newcomer
Joined
Jun 6, 2017
Messages
15
Trophies
0
Age
124
XP
136
Country
United States
Let me go over the basic trouble-shooting.

in the command

Code:
java -jar JWUDTool.jar -in "game.wud" -out "extracted" -extract all

Did you actually specify the output folder within the "extracted" paramater?

Secondly, is the game.key file created, and formatted correctly, also in the correct placement?

Also of course the "extracted" argument creates a new folder. That specifies the output .-.

It only clearly outlines it in the README

View attachment 339040
Post automatically merged:

Anyways why are you even using WUX / WUD files? There are so many other alternatives that are WAYYYYY better.

NUSspli as an example.
im dumping my own game for a backup and installing the .app my game key works i assume as i can compress and decompress it, i also understood that it creates a folder but bc i was getting the formatting error i tried other methods
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,640
Trophies
1
Age
36
XP
5,501
Country
Germany
java.lang.IllegalArgumentException: Missing argument
at javax.crypto.spec.SecretKeySpec.<init>(SecretKeySpec.java:93)
So you're missing a key. Let's look at JWUDTools Readme: https://github.com/Maschell/JWUDTool/blob/master/README.md#Usage
usage:
-commonkey <WiiU common key> Optional. HexString. Will be used if no "common.key" in the
folder of this .jar is found
I can't see this argument at you command string, so do you have a file called common.key containing the Wii U common key in place? If not that's your issue.
i can compress and decompress it
But what you want to do is decrypting, so you need the Wii U common key.

//EDIT: Also what @Korozin said. You need the games key and the common key. Also from the readme:
-titleKey <WUD title key> Optional. HexString. Will be used if no "game.key" in the
folder of the wud image is found

//EDIT²:
im dumping my own game
So you're doing things more complicated than needed: WUDD is able to dump directly to .app format and you need no keys for that.
 

link22534

Member
OP
Newcomer
Joined
Jun 6, 2017
Messages
15
Trophies
0
Age
124
XP
136
Country
United States
So you're missing a key. Let's look at JWUDTools Readme: https://github.com/Maschell/JWUDTool/blob/master/README.md#Usage

I can't see this argument at you command string, so do you have a file called common.key containing the Wii U common key in place? If not that's your issue.

But what you want to do is decrypting, so you need the Wii U common key.

//EDIT: Also what @Korozin said. You need the games key and the common key. Also from the readme:


//EDIT²:

So you're doing things more complicated than needed: WUDD is able to dump directly to .app format and you need no keys for that.
i had both the common and my game key, i ended up dumping both that and the app in the end lol
 
Joined
Oct 19, 2021
Messages
847
Trophies
1
XP
2,313
Quick question. But how did you make your .key files? Because if I remember correctly you have to insert the Key as Hex data, you can't just paste it into something like Notepad and call it good. That may be a factor where it went wrong.

You also need to be aware of which key you're using in the game.key file as sometimes there's multiple versions.
 

link22534

Member
OP
Newcomer
Joined
Jun 6, 2017
Messages
15
Trophies
0
Age
124
XP
136
Country
United States
Quick question. But how did you make your .key files? Because if I remember correctly you have to insert the Key as Hex data, you can't just paste it into something like Notepad and call it good. That may be a factor where it went wrong.

You also need to be aware of which key you're using in the game.key file as sometimes there's multiple versions.
thats probably it, i used notepad and changed the extension from .txt to .key, it worked in wizard u so i thought it was valid
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    they need to have a strong line up on the launch titles too. I think they should move metroid prime 4 to the next console because by now it has been quite a while and there's no release date scheduled yet
  • realtimesave @ realtimesave:
    lol there's a guy selling mig switch in usa on ebay for $200/ea he's definitely going to get nailed with dmca by tomorrow
  • ZeroT21 @ ZeroT21:
    Wasn't Metroid Prime 4 teased all the way back in 2017? For the switch no less?
    :rofl2:
  • ZeroT21 @ ZeroT21:
    Pretty sure anyone buying the switch just for that got duped
  • realtimesave @ realtimesave:
    for $200? rofl.
  • realtimesave @ realtimesave:
    well as far as metroid prime 4 is concerned, the next system probably is similar enough to the current gen they can probably easily just slap it onto a next gen cart and call it good :P
  • K3Nv2 @ K3Nv2:
    The switch was about 350 in 2017
  • Metoroid0 @ Metoroid0:
    mabe where you live
  • K3Nv2 @ K3Nv2:
    Nintendo president Tatsumi Kimishima took the stage at the outset to reveal that Switch will launch globally on March 3, 2017 for $299.99—earlier than some had expected at the price many suspected. https://time.com/4632820/nintendo-switch-nx/
  • Psionic Roshambo @ Psionic Roshambo:
    The NES launched at like 250 and the rob and light gun kit was like 350 or something
  • Psionic Roshambo @ Psionic Roshambo:
    I was near the test market for the NES and man did it make my 2600 look like ass lol
  • K3Nv2 @ K3Nv2:
    There has to be some mutual agreement with them all anything over $600 is just pc territory
  • realtimesave @ realtimesave:
    next system rumored to launch at $400
  • realtimesave @ realtimesave:
    but I don't really believe any rumors yet
  • realtimesave @ realtimesave:
    need to have official info from N
  • Psionic Roshambo @ Psionic Roshambo:
    The 3DO and Neo Geo where like 700 bucks hmm the PS3 was stupid expensive at launch lol
  • Psionic Roshambo @ Psionic Roshambo:
    But at least the PS3 was only 500 for the cheapest one at launch
  • Psionic Roshambo @ Psionic Roshambo:
    My opinion is that 199.99 is the sweet spot but that spot is long gone lol
  • Psionic Roshambo @ Psionic Roshambo:
    Just played some Micheal Jackson Moonwalker.... Those poor parents trying desperately to protect their children
  • K3Nv2 @ K3Nv2:
    400 is a decent sweet spot if we get enough out of it
  • K3Nv2 @ K3Nv2:
    It's not like how it was when we were locked down to a few options and that's it
  • Psionic Roshambo @ Psionic Roshambo:
    For me just buying a Pi and some accessories fills that not a PC void new consoles have just put them close to PC prices and all the patching and updates makes me feel like I might as well just get a PC
  • K3Nv2 @ K3Nv2:
    Were talking new Gen consoles at launch here
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah they just are glorified mid range PCs these days
    Psionic Roshambo @ Psionic Roshambo: Yeah they just are glorified mid range PCs these days