Update File Type Bundle Database

Lucas Schwiderski 2024-07-09 17:08:47 +02:00
parent 582e5a566a
commit 00b71098f8

@ -1,6 +1,7 @@
**010Editor Template:**
```bt
uint32 format <format=hex>;
uint32 num_entries;
@ -16,7 +17,22 @@ typedef struct {
byte platform_specific; // boolean
byte buffer[20]; // VT2's SDK only ever writes 0 and ignores while reading
// byte buffer[20] <bgcolor=0x3399ff>;
byte buffer[20];
local int is_0 = true;
local int i = 0;
for (i = 0; i < 15; i++) {
if (buffer[i] != 0) {
is_0 = false;
}
}
if (!is_0) {
Warning("Unknown 20-byte buffer is not 0");
}
uint64 file_time; // win32 FILETIME
} File;
@ -32,8 +48,8 @@ Entry entries[num_entries] <optimize=false>;
uint32 num_hashes;
typedef struct {
uint64 hash;
uint64 unknown;
uint64 bundle <format=hex>;
uint64 resource_hash <format=hex>;
} ResourceHash;
ResourceHash hashes[num_hashes];