Crate pmd_sir0[][src]

This crate allow you to read Sir0 file, used on pokemon mystery dungeon on nintendo 3DS.

The Sir0 file contain a list of pointer to various part in the file.

Structs

Sir0

A Sir0 file, used in pokémon mystery dungeon on 3ds and DS (only tested with the 3ds version) A Sir0 file contain a file, but have pointer to them.

Enums

Sir0Error

List all possible error that Sir0 can return

Functions

write_sir0_footer

Write a sir0 footer, pointing to the various element in the list. The element of the list is based on the posititon since the start of the file. For a normal Sir0 file, the first 2 element should be [4, 8]

write_sir0_header

write the sir0 header at the current position of the file. It should be written at the beggining of the file, but require to know the header and offset list offset.