Current build: 0.1-test3 -- !this program may not work!
Decrypts and extracts downloadable content .bin files. These files are normally located on your SD card
in private\wii\data\(game title id)\(file).bin (000.bin, 001.bin, etc).
Batch and single file scripts included for decrypting official IOS DLC and re-encrypting for use with
homebrew IOS's.
The original purpose of this project was for re-crypting Rock Band 2 customs from RawkSD for use with
alternative game loaders. Technically speaking, these tools will work with any game that uses the
standard Wii DLC format, but they've only been tested with Rock Band 2. The actual contents of an
extracted .bin file is encrypted and packed differently for each game.
THIS PROGRAM IS FOR CONVERTING LEGALLY OBTAINED DLC FOR USE WITH A HOMEBREW IOS.
THIS PROGRAM IS NOT INTENDED FOR USE IN ANY ILLEGAL ACTIVITIES.
Source code (released under GPL license) will be included with binary once I do some housekeeping, but
is always available on request.
Credit due...
segher for his incredible wii.git
booto for his bv
--------------------------------------------------------------------------------
INFO
Requires your Console ID and PRNG seed saved in binary format as "id" and
"pack-key". They should be in the same directory as the unpacker and packer.
THE INCLUDED ID AND PACK-KEY ARE EMPTY -- YOU MUST REPLACE THEM WITH YOUR OWN.
See Keys section for detailed instructions.
The unpacker will create a directory named for the title id of the save files
(0001000563524241 is the title id for cRBA, the first RawkSD save location) and
saves the tmd and .app file in that directory.
The packer expects the .app file to be located inside the same directory (title
id of save file) the original .bin was unpacked to. It will save the new .bin
file in that same directory.
--------------------------------------------------------------------------------
USAGE
RawkSD specific instructions:
Follow normal RawkSD installation. Once finished, copy .bin files from
SD:\private\wii\data\cRBA to the same directory as the recrypt tools.
Run the recrypt-all script. Copy the .bin files from the new directory
0001000563524241 back to the SD card. Play!
Scripts:
recrypt-all (recrypts every .bin in the directory)
recrypt (recrypts a single .bin)
example: recrypt 000.bin
Unpacker/packer:
dlcunpack <bin file>
example: dlcunpack 002.bin
dlcpack <tmd> <index> <game_title_id>
example: dlcpack 0001000563524241\tmd 002 535a4145
(tmd from the unpacked file)
(002 is the file you want to create, ie. 002.bin)
(535a4145 is the title id for Rock Band 2)
--------------------------------------------------------------------------------
KEYS
Use xyzzy (http://wiibrew.org/wiki/Xyzzy) to dump your keys. Open id in a hex editor
and type in your Console ID. Do the same for pack-key, using your PRNG seed.
NOTE: you can find your Console ID saved on your SD card as SD:\rawk\id
IMPORTANT: id file size should be 4 bytes and pack-key should be 16 bytes
--------------------------------------------------------------------------------
CHANGELOG
20090720: 0.1-test3 - First testing release
- Cross-platform changes.
- Memory tweaks.
20090716: 0.1-test2 - Started debug/cleanup for public
- It (kinda) works (for me).