Common Chunked Format

From owdev
Jump to: navigation, search

In Overwatch 1.5.0.0 various file formats are separated by chunk.

It starts with a header, then followed by a series of chunks.

Header

 uint magic; // 0xF123456F
 char[4] primary_identifier; // typically defines the global file type to reduce collisions
 uint size; // eof
 uint unk;

Chunk Header

 char[4] identifier; // chunk type
 uint unk;
 uint size; // chunk size without the header
 uint checksum; // some algorithm?