Misc jwudtool error

  • Thread starter Thread starter link22534
  • Start date Start date
  • Views Views 6,994
  • Replies Replies 10

link22534

Member
Newcomer
Joined
Jun 6, 2017
Messages
19
Reaction score
3
Trophies
0
Age
126
XP
168
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
 
"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
 
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,
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
 
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.
 
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
 
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.
 
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
 
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
I had the same problem.
Solution:
you must have in the same folder where the JWUDTool.jar is the following files
- common.key <-- common key used in all games
- game.key <-- your specific game.key (you must rename it to game.key)
- game.wud (or game.wux) <-- the dumped game to convert

I think you can also provide the common.key and the game.key as text parameter adding:
-commonkey "xxxxxxxxx" --titleKey "xxxxxxxxxxxxxx"
 
I had the same problem.
Solution:
you must have in the same folder where the JWUDTool.jar is the following files
- common.key <-- common key used in all games
- game.key <-- your specific game.key (you must rename it to game.key)
- game.wud (or game.wux) <-- the dumped game to convert

I think you can also provide the common.key and the game.key as text parameter adding:
-commonkey "xxxxxxxxx" --titleKey "xxxxxxxxxxxxxx"
i was struggling for hours and followed this post and got it done instantly, now i can play high quality skylanders giants with friends online
 

Site & Scene News

Popular threads in this forum