Skip to content

Commit 09f5b28

Browse files
committed
More Clickteam notes
1 parent f71a007 commit 09f5b28

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

BinaryObjectScanner/Packer/ClickteamInstallMaker.cs

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@ namespace BinaryObjectScanner.Packer
44
public class ClickteamInstallMaker
55
{
66
// All data stored in the overlay
7+
78
// Header is zlib-compressed. Samples seem to indicate that
89
// 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+
1023
// The decompressed header data has no easily-recognized
1124
// structures like offsets or sizes.
1225

@@ -15,6 +28,20 @@ public class ClickteamInstallMaker
1528
// can be found. This results in the entries all being read
1629
// at the same time and failing to extract as a result.
1730

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+
1845
// When manually extracted, each BZ2 block is a correct
1946
// set of compressed data. Without a notable filename map,
2047
// the extracted data is difficult to work with.

0 commit comments

Comments
 (0)