47 lines
No EOL
1.1 KiB
Text
47 lines
No EOL
1.1 KiB
Text
//------------------------------------------------
|
|
//--- 010 Editor v10.0 Binary Template
|
|
//
|
|
// File:
|
|
// Authors:
|
|
// Version:
|
|
// Purpose: Vermintide 2 Decompressed Bundle
|
|
// Category: Vermintide 2
|
|
// File Mask:
|
|
// ID Bytes:
|
|
// History:
|
|
//------------------------------------------------
|
|
typedef struct {
|
|
uint64 type <format=hex,bgcolor=0x0015FF>;
|
|
uint64 name <format=hex,bgcolor=0x0010BF>;
|
|
uint32 padding;
|
|
// Data size for all versions combined
|
|
uint32 data_size;
|
|
} Metadata;
|
|
|
|
typedef struct {
|
|
uint32 lang;
|
|
uint32 size;
|
|
uint32 stream_size;
|
|
} FileVersion;
|
|
|
|
typedef struct {
|
|
uint64 type <format=hex,bgcolor=0x0015FF>;
|
|
uint64 name <format=hex,bgcolor=0x0010BF>;
|
|
uint32 version_count;
|
|
uint32 stream_offset;
|
|
FileVersion versions[version_count];
|
|
|
|
local int i = 0;
|
|
for (i = 0; i < version_count; i++) {
|
|
struct FileData {
|
|
uchar data[versions[i].size];
|
|
} file_data;
|
|
}
|
|
} File;
|
|
|
|
|
|
uint32 item_count;
|
|
uint64 properties[32] <format=hex>;
|
|
|
|
Metadata items[item_count];
|
|
File files[item_count] <optimize=false>; |