User:CM360/sandbox/Wii U Creating homebrew channels

User page
< User:CM360/sandbox
Revision as of 18:05, 15 October 2022 by CM360 (talk | contribs) (Fill out CDecrypt section)

What You Need

  • The latest release of phacoxcll's CDecrypt fork (the CDecrypt.zip file)
    • Only a Windows build is provided, Mac and Linux users may need to manually compile the source code.
  • The latest release of NUSPacker (direct download)
    • NUSPacker requires that you have Java installed on your system to work.
  • An image editor that supports the .tga image format
  • The MetaVerify.py script (click "Download ZIP" on the GitHub page to download)
    • This script requires that you have Python 3.7.4+ installed on your system to work.
  • The Homebrew Launcher Channel v2.1 (direct download)
  • The .rpx file of whichever homebrew program you are making a channel for
  • The Wii U Common Key
    • This is in the otp.bin file from your console's NAND dump. Extract it using this Common Key Extractor. Copy the key and save it in a text file somewhere; it will be needed later.
    • If you cannot get the extractor to work, the key can also be obtained by opening otp.bin in a hex editor, and is located at offsets 0x000000E0 to 0x000000EF. If extracted correctly, it should be a 32-character long hexadecimal number starting with D7B0.

Section I - CDecrypt

  1. Unzip the Homebrew Launcher Channel (will be referred to as the HBLC from here)
  2. Unzip CDecrypt
  3. Create a file named keys.txt in the same directory as the CDecrypt executable, and paste the Wii U Common Key on the first line
  4. Open a terminal and navigate to the location of the CDecrypt executable
  5. Use CDecrypt to decrypt the contents of the HBLC
    • For example, if you unzipped the HBLC to a folder named homebrew_launcher_channel.v2.1, the command would be something like: CDecrypt "/path/to/homebrew_launcher_channel.v2.1" "/path/to/homebrew_launcher_channel.v2.1"
    • The folder you unzipped the HBLC into originally should now contain three new folders: code, content, and meta. Delete everything in the HBLC's directory except these three folders

Section II - Editing code files

Section III - Editing meta files

Section IV - NUSPacker