//------------------------------------------------ //--- 010 Editor v10.0 Binary Template // // File: // Authors: // Version: // Purpose: Vermintide 2 Compressed Bundle // Category: Vermintide 2 // File Mask: // ID Bytes: // History: //------------------------------------------------ uint32 format ; uint32 inflate_size; uint32 padding ; typedef struct { uint32 block_size; uchar data[block_size]; } Block ; string ReadBlock(Block &block) { if(exists(block.block_size)) { string s; SPrintf(s, "%lg", block.block_size); return s; } else { return ""; } } // No clue how to do "until there is nothing left" with this, so I'll just make up a number // This is good enough to show the concept anyways local uint block_count = 100; Block blocks[block_count] ;