@@ -4,9 +4,22 @@ namespace BinaryObjectScanner.Packer
4
4
public class ClickteamInstallMaker
5
5
{
6
6
// All data stored in the overlay
7
+
7
8
// Header is zlib-compressed. Samples seem to indicate that
8
9
// there is a 19-byte "header" before the compressed header
9
- // data.
10
+ // data. 5 bytes before the compressed data appears to be a
11
+ // 32-bit value that represents the decompressed header size.
12
+ // It is followed by a single byte
13
+
14
+ // Possible layout of pre-compressed header:
15
+ // 0x00-0x03 - Unknown [77 77 67 54] (1416066935)
16
+ // 0x04-0x07 - Unknown [29 48 35 14] (339036201)
17
+ // 0x08-0x09 - Unknown [01 00] (1)
18
+ // 0x0A-0x0D - Size of compressed data? [54 02 00 00] (596)
19
+ // This seems shorter than the expected 604
20
+ // 0x0E-0x11 - Size of decompressed data [26 08 00 00] (2086)
21
+ // 0x12 - Unknown [01] (1)
22
+
10
23
// The decompressed header data has no easily-recognized
11
24
// structures like offsets or sizes.
12
25
@@ -15,6 +28,20 @@ public class ClickteamInstallMaker
15
28
// can be found. This results in the entries all being read
16
29
// at the same time and failing to extract as a result.
17
30
31
+ // It is possible there is an 8-byte "prefix" before the entries
32
+ // in the data itself, but no values have been correllated
33
+ // to either the compressed or extracted sizes yet.
34
+ // This prefix could also be a data trailer, as multiple values
35
+ // have been found seemingly-appended to data extracted
36
+ // from these bz2 entries.
37
+
38
+ // Possible layout of pre-compressed entry:
39
+ // 0x00-0x03 - Unknown [10 9D 01 00] (105744)
40
+ // 0x04-0x07 - Size of compressed data? [DA 12 02 00] (135898)
41
+ // This seems shorter than the expected 137949
42
+ // What is in the 2051 bytes remaining?
43
+ // 0x08 - Unknown [02] (2)
44
+
18
45
// When manually extracted, each BZ2 block is a correct
19
46
// set of compressed data. Without a notable filename map,
20
47
// the extracted data is difficult to work with.
0 commit comments