-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformat.txt
48 lines (33 loc) · 1.33 KB
/
format.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Lime datafile structure:
Z1 ... Zn Zdict
[~~~] [~~~] [~~~] [~~~~~~~~~~] (zipped content)
header user resources dictionary end
|________|________________|____________|_____|
Header:
(format)
bgn revision- head* dict size dict checksum
|_____|__________|______|___________|...............|
Dictionary:
N category 1 ... category N
|___|____________| |____________|
|
|
|
Category:
category key* M data 1 ... data M
|______________|___|________| |________|
|
|
|
Data:
data key* seek_id+ size+ checksum
|__________|_________|______|..........|
All non-resource strings* are stored in the following manner:
length- string
|________|________|
Numeric values are stored as 32-bit unsigned integers.
Numeric values marked + are stored as 64-bit unsigned integers.
Numeric values marked - are stored as 8-bit unsigned integers.
The bgn and end endpoints define the type of checksum function used
in the Lime datafile. Adler32 will use L> and <M, CRC32 will use
L] and [M, and a file with no checksums will use L) and (M.