Difference between revisions of "Common Chunked Format"

From owdev
Jump to: navigation, search
(Created page with "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 c...")
 
Line 6: Line 6:
  
 
   uint magic; // 0xF123456F
 
   uint magic; // 0xF123456F
   char[4] primary_identifier; // typically defines the global file type
+
   char[4] primary_identifier; // typically defines the global file type to reduce collisions
 
   uint size; // eof
 
   uint size; // eof
 
   uint unk;
 
   uint unk;

Revision as of 14:21, 14 November 2016

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?