Skip to content

Instantly share code, notes, and snippets.

@Steve-xmh
Created April 4, 2021 06:23
Show Gist options
  • Save Steve-xmh/d0e6313f3a1aa5355db15aeabbccd5b8 to your computer and use it in GitHub Desktop.
Save Steve-xmh/d0e6313f3a1aa5355db15aeabbccd5b8 to your computer and use it in GitHub Desktop.
Pattern file of Pack File of Selene Engine based game (Such as Densha de D series)
struct Entry {
char name[64];
le u32 pathcrc; // CRC32 hash of name
le u32 unknown1; // Still Work in progress
le u32 offset;
le u32 size;
le u32 encrypted;
};
struct File {
char sign[4];
le u32 count;
Entry entries[count];
};
File file @ 0x0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment