< User:CM360/sandboxThis is the approved revision of this page, as well as being the most recent.
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- These instructions will use paint.net.
- 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 offsets0x000000E0
to0x000000EF
. If extracted correctly, it should be a 32-character long hexadecimal number starting withD7B0
.
- This is in the
Section I - CDecrypt
- Unzip the Homebrew Launcher Channel (will be referred to as the HBLC from here)
- You can rename the containing folder for organizational purposes. For these instructions, we will rename it from
homebrew_launcher_channel.v2.1
tomy-cool-app
- You can rename the containing folder for organizational purposes. For these instructions, we will rename it from
- Unzip CDecrypt
- 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 - Open a terminal and navigate to the location of the CDecrypt executable
- Use CDecrypt to decrypt the contents of the HBLC
- For example, if you have the contents of the HBLC in a folder named
my-cool-app
, the command would be something like:CDecrypt "/path/to/my-cool-app/" "/path/to/my-cool-app/"
- The folder with the HBLC's contents should now contain three new folders:
code
,content
, andmeta
. Delete everything in this directory except these three folders - PLACEHOLDER FOR WHAT TO DO IF COMMON KEY IS WRONG
- For example, if you have the contents of the HBLC in a folder named
Section II - Editing code files
Section III - Editing meta files
Section IV - NUSPacker
- Open a terminal and navigate to the location of
NUSPacker.jar
- Use NUSPacker to rebuild
- For example, if the directory of your edited HBLC is
my-cool-app
, the command would be something like:java -jar NUSPacker.jar -in "/path/to/my-cool-app/" -out "/path/to/my-cool-app/" -encryptKeyWith XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(replace the XXXX... with the Wii U Common Key)
- For example, if the directory of your edited HBLC is