Update File Type Bundle Database
parent
582e5a566a
commit
00b71098f8
1 changed files with 19 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
**010Editor Template:**
|
**010Editor Template:**
|
||||||
|
|
||||||
```bt
|
```bt
|
||||||
|
|
||||||
uint32 format <format=hex>;
|
uint32 format <format=hex>;
|
||||||
uint32 num_entries;
|
uint32 num_entries;
|
||||||
|
|
||||||
|
@ -16,7 +17,22 @@ typedef struct {
|
||||||
|
|
||||||
byte platform_specific; // boolean
|
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
|
uint64 file_time; // win32 FILETIME
|
||||||
} File;
|
} File;
|
||||||
|
|
||||||
|
@ -32,8 +48,8 @@ Entry entries[num_entries] <optimize=false>;
|
||||||
uint32 num_hashes;
|
uint32 num_hashes;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64 hash;
|
uint64 bundle <format=hex>;
|
||||||
uint64 unknown;
|
uint64 resource_hash <format=hex>;
|
||||||
} ResourceHash;
|
} ResourceHash;
|
||||||
|
|
||||||
ResourceHash hashes[num_hashes];
|
ResourceHash hashes[num_hashes];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue