This repository has been archived by the owner on Nov 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnotes.txt
43 lines (32 loc) · 2.88 KB
/
notes.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
General Notes:
Integers appear to be little endian.
Byte Offsets (examples from 22Cf):
0-20: Data that seems to change often. Perhaps a checksum?
21-44: "TAGame.Replay_Soccar_TA" + null terminator
45-?: Seems to be a collection of properties, with the name, type, and value itself. For example:
. . . . T e a m S i z e . . . . . I n t P r o p e r t y . . . . . . . . . . . . .
0900 0000 5465 616d 5369 7a65 000c 0000 0049 6e74 5072 6f70 6572 7479 0004 0000 0000 0000 0001 0000 00
^ Length of "TeamSize" + terminator
^ Length of "IntProperty" + terminator
^ Length (stored in 8-bytes) of value size (4 bytes)
^ Team size was one
. . . . P r i m a r y P l a y e r T e a m . . . . . I n t P r o p e r t y . . . . . . . . . . . . .
12 0000 0050 7269 6d61 7279 506c 6179 6572 5465 616d 000c 0000 0049 6e74 5072 6f70 6572 7479 0004 0000 0000 0000 0001 0000 00
^ Length of "PrimaryPlayerTeam" + null terminator (0x12 = 18)
^ Length of "IntProperty" + terminator
^ Byte size?
^ Primary team was one
. . . . T e a m 1 S c o r e . . . . . I n t P r o p e r t y . . . . . . . . . . . . .
0b 0000 0054 6561 6d31 5363 6f72 6500 0c00 0000 496e 7450 726f 7065 7274 7900 0400 0000 0000 0000 0100 0000
^ Length of "Team1Score" + null terminator
^ Length of "IntProperty" + terminator
^ Byte size (in eight bytes)
^ Team score was 1
. . . . G o a l s . . . . . A r r a y P r o p e r t y . . . . . . . . .
0600 0000 476f 616c 7300 0e00 0000 4172 7261 7950 726f 7065 7274 7900 8e00 0000 0000 0000
^ Length of "Goals" + terminator
^ Length of "ArrayProperty" + terminator
^ 8e: 8-byte unsigned integer specifying the number of bytes after this value that the "array" takes up.
In this case, 0x8e (142) bytes.
An array consists of a 4-byte integer specifying the number of elements in the array. Each element is the same name/type/value that is used above.
The very last element of the array is just a name of 'None', which does not have data for the type or value.