From b886c207d3b271b49eff2bc7d085ad7cd65cc6d4 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Fri, 26 Jul 2024 16:31:00 +0200 Subject: [PATCH] Update File Type - Bundle --- File Type - Bundle.-.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/File Type - Bundle.-.md b/File Type - Bundle.-.md index 43b42cf..12d215e 100644 --- a/File Type - Bundle.-.md +++ b/File Type - Bundle.-.md @@ -15,6 +15,10 @@ typedef struct { uint64 extension ; uint64 name ; + // 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 ; } FileMeta; @@ -22,6 +26,8 @@ typedef struct { uint32 lang ; byte is_data_file ; 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; // 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.