wiithon.formats
Nintendo file formats, readable and writable independently of any ISO.
Every class follows the same shape: read(stream) to parse, write(stream)
or get_bytes() to serialise back.
- wiithon.formats.rarc module
- wiithon.formats.u8 module
- wiithon.formats.yaz0 module
- wiithon.formats.lz77 module
- wiithon.formats.dol module
- wiithon.formats.dol_header module
- wiithon.formats.bcsv module
- wiithon.formats.bnr module
- wiithon.formats.imet module
- wiithon.formats.imd5 module
- wiithon.formats.archive module
Archives
- wiithon.formats.rarc module
Nintendo archive format, used to bundle game assets.
- wiithon.formats.u8 module
Archive format used by banners and channel content.
Compression
- wiithon.formats.yaz0 module
Run-length compression, common on RARC archives.
- wiithon.formats.lz77 module
LZ77 compression, used inside banner assets.
Executable
- wiithon.formats.dol module
The main game executable, with section access and code injection.
- wiithon.formats.dol_header module
Section table of a DOL.
Data
- wiithon.formats.bcsv module
Typed table format with hashed column names.
- wiithon.formats.bnr module
opening.bnr, the banner shown in the Wii menu.- wiithon.formats.imet module
IMET header of a banner, holding the localised titles.
- wiithon.formats.imd5 module
IMD5 header and checksum, wrapping banner assets.
Protocols
- wiithon.formats.archive module
Structural types describing what an archive and a container must provide, used by
WiiIsoPatcher.edit_as.
See also
File Formats for task-oriented examples, and RARC Format and Yaz0 Format for the on-disc encodings.