Apart from the header section, all the data in the PPU le is separated into data blocks, which permit easily adding additional data blocks, without compromising backward compatibility. This is similar to both Electronic Arts IFF chunk format and Microsoft's RIFF chunk format.
Each 'chunk' (tppuentry) has the following format, and can be nested:
|
Each main section chunk must end with an end chunk. Nested chunks are used for record, class or object elds.
To read an entry you can simply call ppufile.readentry:byte, it returns the tppuentry.nr