This is my take, a Python implementation, of the Wii U title key generating algorithm that recently surfaced online.
Source: https://github.com/dojafoja/Kii-U-Generator
IF YOU RECEIVE AN ERROR ABOUT NO MODULE NAMED CRYPTO:
Your Python setup doesn't include the pycrypto or pycryptodome library. You must first install one of these before you can use this tool, it is recommended that you install pycryptodome since it is still maintained:
Usage:
First, open the ckey.json file and put the Wii U common key in here as plaintext. This is a json file so keep the structure as is.
1: You can use the provided GUI by running gui.py. This should be straightforward to use.
2: You can use as a CLI tool by running
Please note that the password argument is optional and will default to "mypass" which is correct for all games that I have tested so far. System titles, however, require a different password that I'm not sure of.
3: You can include this into a Python script and use as a library. Please read the source code to see available functions
What does this do? It can generate unencrypted AND encrypted title keys for the Wii U. It's a Python implementation of the PHP algorithm that recently surfaced. It's probably not very useful to most people but I had fun writing it and I learned a few new things so.... I wanted to share it! A big thank you goes to @V10lator for helping me with my snags along the way, mostly relating to the proper padding/unpadding of things. Thank you for being so nice and helping me understand these things!!
Source: https://github.com/dojafoja/Kii-U-Generator
IF YOU RECEIVE AN ERROR ABOUT NO MODULE NAMED CRYPTO:
Your Python setup doesn't include the pycrypto or pycryptodome library. You must first install one of these before you can use this tool, it is recommended that you install pycryptodome since it is still maintained:
Code:
python -m pip install pycryptodome
First, open the ckey.json file and put the Wii U common key in here as plaintext. This is a json file so keep the structure as is.
1: You can use the provided GUI by running gui.py. This should be straightforward to use.
2: You can use as a CLI tool by running
Code:
keygen.py <title id> [password]
3: You can include this into a Python script and use as a library. Please read the source code to see available functions
What does this do? It can generate unencrypted AND encrypted title keys for the Wii U. It's a Python implementation of the PHP algorithm that recently surfaced. It's probably not very useful to most people but I had fun writing it and I learned a few new things so.... I wanted to share it! A big thank you goes to @V10lator for helping me with my snags along the way, mostly relating to the proper padding/unpadding of things. Thank you for being so nice and helping me understand these things!!
Last edited by dojafoja,