Update File Type - Bundle
parent
11e176732d
commit
b886c207d3
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64 extension <format=hex>;
|
uint64 extension <format=hex>;
|
||||||
uint64 name <format=hex>;
|
uint64 name <format=hex>;
|
||||||
|
// One of these bitflags might designate a deleted file, i.e. the ability for a patch bundle
|
||||||
|
// to make the engine assume that a file from the original bundle doesn't exist anymore.
|
||||||
|
// But since Fatshark doesn't use patch bundles for DT, we won't have examples for this.
|
||||||
|
// The decompiled code would be the only place to figure this out.
|
||||||
uint32 flags <format=binary>;
|
uint32 flags <format=binary>;
|
||||||
} FileMeta;
|
} FileMeta;
|
||||||
|
|
||||||
|
@ -22,6 +26,8 @@ typedef struct {
|
||||||
uint32 lang <format=binary>;
|
uint32 lang <format=binary>;
|
||||||
byte is_data_file <comment="If 1, data chunk will be a file name in data/">;
|
byte is_data_file <comment="If 1, data chunk will be a file name in data/">;
|
||||||
uint32 size;
|
uint32 size;
|
||||||
|
// May designate a deleted file (see `FileMeta.flags`). Though less likely because when the meta flags are used
|
||||||
|
// this while header could be omitted.
|
||||||
byte unknown_2;
|
byte unknown_2;
|
||||||
// If > 0, data chunk will be followed by a string of that length, which is an auxiliary/extension file
|
// If > 0, data chunk will be followed by a string of that length, which is an auxiliary/extension file
|
||||||
// to the data in the data chunk.
|
// to the data in the data chunk.
|
||||||
|
|
Loading…
Add table
Reference in a new issue