libWiiPy.media package#

Submodules#

libWiiPy.media.banner module#

class libWiiPy.media.banner.IMD5Header(magic: str, file_size: int, zeros: int, md5_hash: bytes)#

Bases: object

An IMD5Header object that contains the properties of an IMD5 header. These headers precede the data of banner.bin and icon.bin inside the banner (00000000.app) of a channel, and are used to verify the data of those files.

An IMD5 header is always 32 bytes long.

magic#

Magic number for the header, should be “IMD5”.

Type:

str

file_size#

The size of the file this header precedes.

Type:

int

zeros#

8 bytes of zero padding.

Type:

int

md5_hash#

The MD5 hash of the file this header precedes.

Type:

bytes

file_size: int#
magic: str#
md5_hash: bytes#
zeros: int#