From 31455d04ba184d02746308de7d9260858cc7971e Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Mon, 28 Aug 2023 00:45:27 +0300 Subject: [PATCH] update notes --- format.txt | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/format.txt b/format.txt index 27b920b..fd82473 100644 --- a/format.txt +++ b/format.txt @@ -1,6 +1,6 @@ -string format - uint32_t len, 31 bit represents encoding where 0 is UTF-7 (ASCII), and 1 is UTF-16 (WCS-2) +FString format - uint32_t len, 31 bit represents encoding where 0 is UTF-7 (ASCII), and 1 is UTF-16 (WCS-2) -tag format ? +Tag format \0version\0 /* @@ -15,12 +15,11 @@ next zar = + 0x1A + unk5 0xBC22 + (0x100<<2) = unk5 0x7659*/ -+0x0A - int16_t ? -+0x0B - 4 strings. - 1. uknown - 2. name - 3. location - 4. date + uint8_t unk1 + FString unknown + FString name + FString location + FString date uint32_t unk1 - used in calloc, unk1 * 0x10C @@ -28,6 +27,7 @@ next zar = + 0x1A + unk5 uint32_t uncompressed_size; uint32_t uncompressed_size; + *compressed world data* uint8_t unk1[0x48] @@ -36,4 +36,16 @@ next zar = + 0x1A + unk5 N times uint32_t ? uint32_t M - num strings - FString[M] \ No newline at end of file + FString[M] + + + uint8_t unk1[0x14] + + + uint32_t N + FString[N] + uint16_t count + count times + uint32_t unk1 + uint16_t ? + uint16_t ? (0xFFFF = no ) \ No newline at end of file