wiithon.disc.structs

Binary structures stored on the disc, each with a read and a write method mapping one to one onto its on-disc layout.

You rarely build these by hand. They are produced by WiiIsoReader and exposed as attributes of WiiPartitionInfo.

Modules

wiithon.disc.structs.disc_header module

Disc header, both the unencrypted one at offset 0x000 and the internal one found in the decrypted data.

wiithon.disc.structs.partition_entry module

Entries of the partition table, giving the offset and type of each partition.

wiithon.disc.structs.partition_header module

Header of a partition, holding the ticket and the offsets to the TMD, certificates, H3 table and data.

wiithon.disc.structs.ticket module

Ticket, holding the encrypted title key.

wiithon.disc.structs.ticket_time_limit module

Time limit entries of a ticket.

wiithon.disc.structs.tmd module

Title metadata, describing the contents of a title.

wiithon.disc.structs.tmd_content module

A single content entry of a TMD, with its SHA-1 hash.

wiithon.disc.structs.certificate module

Certificate of the signing chain.

wiithon.disc.structs.signature module

Signature and key type enumerations, which determine the size of a certificate.

wiithon.disc.structs.apploader_header module

Header of the apploader, declaring its two payload sizes.

See also

Wii ISO Structure and Decryption Process documents every field and offset of these structures.