Skip to content
Decrypts Wii U Disc Image files (.WUD) via the common key and the corresponding disc key for the image
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Removed uthash structure for more convenient use through utarray May 8, 2016
.travis.yml Do not allow OSX builds to fail on Travis CI anymore since we are "re… May 8, 2016
LICENSE Initial commit May 5, 2016
NOTICE
README.md Added Coverity badge May 9, 2016
TODO Every function is working now, decryption works as intended (at least… May 8, 2016
aes.c Application can now read partition toc from WUD images May 5, 2016
aes.h Changed .travis.yml to compile with the right compilers May 6, 2016
config.h [ci skip] Pushed version number to 0.1.1 May 9, 2016
functions.c Fixing some defects according to Coverity May 9, 2016
functions.h Every function is working now, decryption works as intended (at least… May 8, 2016
main.c Fixing some defects according to Coverity May 9, 2016
sha1.c Every function is working now, decryption works as intended (at least… May 8, 2016
sha1.h Every function is working now, decryption works as intended (at least… May 8, 2016
struct.h Fixing some defects according to Coverity May 9, 2016
utarray.h Can now decrypt partition file table and read its entries May 7, 2016
wudecrypt.bkl Every function is working now, decryption works as intended (at least… May 8, 2016

README.md

wudecrypt Build Status Coverity Scan Build Status

What is wudecrypt?

wudecrypt (sometimes also written WUDecrypt) is a tool written in C, fully cross-platform compatible, to decrypt Wii U Disk images (.wud).

NOTE: In its current state, wudecrypt is pre-alpha quality. It could crash during the extraction of WUD images, it's not well optimized (will run slowly) and other unwanted side effects could occur. I'm not responsible for any damage wudecrypt will cause on your system.

How to build

Get the sources from Github and use Bakefile to generate a GNU makefile that should work natively on OSX and Linux, but also via MinGW for Windows builds. You could also try to use bakefile to generate project files for Visual Studio on Windows, though I did not test VS building.

For example, to get a working build, you could run the following commands in a shell (assuming you have bakefile working as a global command):

$ git clone https://github.com/maki-chan/wudecrypt.git
$ cd wudecrypt
$ bkl wudecrypt.bkl
$ make

This will create a working wudecrypt executable.

How to use

For wudecrypt to work, you will need a WUD image, the corresponding disc key and the Wii U common key. If you have all of these files, you can run wudecrypt via the following command:

wudecrypt path/to/image.wud /path/to/output /path/to/commonkey.bin /path/to/disckey.bin

wudecrypt has a fifth optional argument which can be SI, UP, GI or GM depending on which partition types you want to extract. To play the decrypted image, extracting only the GM type partitions should be enough. I mostly introduced this function as the extraction takes a very long time and it tries to avoid a whole lot of data you won't need.

License

wudecrypt is released under the GNU AGPLv3 license. More information can be found in the LICENSE file or on the original license page.

wudecrypt uses utarray, published by Troy D. Hanson, licensed under the revised BSD license

wudecrypt uses the SHA-1 implementation from mbed TLS, published by ARM Limited, licensed under the Apache License, Version 2.0

You can’t perform that action at this time.