Skip to content

Pod 6 Format Reference

Jon Daniel edited this page Nov 6, 2024 · 16 revisions

EPD POD1 POD2 POD3 POD4 POD5 POD6 Terminal Reality Home

struct header
{
        c8<4> ident;
        u32<1> entry_count;
        u32<1> version;
        u32<1> entry_offset;
        u32<1> names_count;
};
struct entry
{
        u32<1> names_offset;
        u32<1> size;
        u32<1> offset;
        u32<1> uncompressed;
        u32<1> compression_level; /* bitmask flag field defaulting to 8 */
        u32<1> zero;
};
struct file
{
     struct header header;
     void*         contents;
     struct entry  entries[header.entry_count];
     c8<1>         names[header.names_count]; /* end of entries + entries[i].names_offset */
};