Common Chunked Format

From owdev
Jump to: navigation, search

In Overwatch various file formats are separated by chunk.

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


 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?