first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / core / applications / bundler / manifest_format.txt
1
2 the unpacking manifest is a structure defined in terms of bytes.
3 the exe's manifest offset is set to point to the beginning of this structure.
4
5 bytes              content
6 -----              -------
7 0 => 3             number of chunks in the TOC
8 4 => 4+N-1         first manifest item, with length N
9 4+N => 4+N+M-1     second item, with length M
10 4+N+M =>...etc.
11
12 each bundle chunk has a structure:
13
14 bytes              content
15 -----              -------
16 0 => 3             size of the data component of the chunk 
17 4 => 4+S-1         the file system target location for this chunk, as a zero
18                    terminated string (of length S).  this string comes from the
19                    target defined in the packing manifest.
20
21 then the data starts after the end of the TOC; each chunk occupies the space
22 declared for it in the manifest.
23