Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
/ OTPKeySplitter Public archive

Python script written to help take the keys, and other possibly useful data, from a dumped Wii U OTP.bin.

License

Notifications You must be signed in to change notification settings

Whovian9369/OTPKeySplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hello!

I suggest using Coffee-Reading by Nightkingale instead! OTPKeySplitter was basically thrown together for my own use at the time, but I don't know Python so it was incredibly bad code that was copy and pasted many times. Coffee-Reading is far better and does the job, so I highly suggest using it instead!

Original README.md is below:

OTP Key Extractor

This script lets you extract various keys from a dumped Wii U OTP, as outlined on the WiiUBrew site.

How to use it:

  • Extract your OTP to your SD card by using the following:
    • OTP2SD (for a less complete OTP dump)
    • hexCFW (for an OTP with two extra keys, which were previously inaccessible.)
      • This is done via getting access to boot1... Which I'm unable to explain on WHY it works.
      • No, we don't have the boot1 key. Yet. This dumps the OTP without the boot1 decryption key.
  • Download the script to a directory.
  • Copy the resulting OTP.bin to the directory containing the OTPKeySplitter.py script.
    • If you forget to do so or put it in the wrong place before running the script - It will let you know where to put it.
  • Install pycrypto somehow. Like sudo pip install pycrypto or sudo pip3 install pycrypto or however else.
  • Run the script using Python 3.
    • This can likely be done by running python3 OTPKeySplitter.py
  • Use a hex editor to copy out your keys OR grab the key directly from the Keys.txt file.
    • If you want to use the hex editor technique, I personally would suggest using HxD on Windows, or Bless on Linux distros.

BIG thanks goes to (in no particular order):

  • Dimok, for the original OTP2SD homebrew that started me on this
  • The WiiUBrew team that got the list up in the first place.
  • Audiosurf for helping shorten the script itself in quite a few places.
  • My friends that I've complained about this to.
    • Especially those that were great help with helping keep me sane and sanity check me when I needed it!
  • Thank you dogcow for giving me the missing binascii.hexlify(variable).decode('utf-8') hint that I needed for writing the keys to a text file!

About

Python script written to help take the keys, and other possibly useful data, from a dumped Wii U OTP.bin.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages