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: need to have official info from N