Difference between revisions of "Opening.bnr"
(Add correct info about archive structure; misc cleanup.) |
(Adding info that I have found with regards to the sound.bin formats, and confirming the MD5 is the MD5 of the file(s).) |
||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
− | The banner.bin and icon.bin files are LZ77 compressed U8 archives themselves, each with an IMD5 header, containing | + | The banner.bin and icon.bin files are LZ77 compressed U8 archives themselves, each with an IMD5 header, containing the MD5 of the file. sound.bin has an IMD5 header, and can be of at least 3 formats, BNS (which has INFO and DATA sections), LZ77 compressed RIFF (wav), and uncompressed RIFF. |
+ | |||
More information on LZ77 compression can be found on [http://en.wikipedia.org/wiki/LZ77_and_LZ78 Wikipedia]. | More information on LZ77 compression can be found on [http://en.wikipedia.org/wiki/LZ77_and_LZ78 Wikipedia]. |
Revision as of 02:27, 2 March 2008
opening.bnr is a file related to Wii homebrew development. The file is one of the first read by the Wii when a new DVD is inserted, and it is used to display the banner (the channel animation). Even though it shares the name with the file on the GameCube, the content of the file has no resemblence to the GC opening.bnr file.
Description
opening.bnr consists of two parts, a header which is (almost) identical to the latter of part A (starting from Zeroes_1) in content.bin, see Content.bin file structure. However, the last 16 bytes contains some randomly-looking bytes, most likely an MD5 sum.
After the header follows an U8 archive. This is an archive consisting of the following structure:
/meta /meta/banner.bin /meta/icon.bin /meta/sound.bin
The banner.bin and icon.bin files are LZ77 compressed U8 archives themselves, each with an IMD5 header, containing the MD5 of the file. sound.bin has an IMD5 header, and can be of at least 3 formats, BNS (which has INFO and DATA sections), LZ77 compressed RIFF (wav), and uncompressed RIFF.
More information on LZ77 compression can be found on Wikipedia.