OBD:Instance file format
Jump to navigation
Jump to search
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
Instance file header | ||||
0x00 | int64 | 1F 27 DC 33 DF BC 03 00 | 0x0003BCDF33DC271F | template checksum |
0x08 | int32 | 31 33 52 56 | 'VR31' | version |
0x0C | int64 | 40 00 14 00 10 00 08 00 | 0x0008001000140040 | signature |
0x14 | int32 | F9 05 00 00 | 1529 | instance count |
0x18 | int32 | D5 01 00 00 | 469 | name count |
0x1C | int32 | 32 00 00 00 | 50 | template count |
0x20 | int32 | 80 89 00 00 | 0x008980 | data table offset |
0x24 | int32 | 20 6E 55 00 | 0x556E20 | data table size |
0x28 | int32 | A0 F7 55 00 | 0x55F7A0 | name table offset |
0x2C | int32 | 35 1D 00 00 | 0x001D35 | name table size |
0x30 | int32 | 00 00 00 00 | unused | |
0x34 | int32 | 00 00 00 00 | unused | |
0x38 | int32 | 00 00 00 00 | unused | |
0x3C | int32 | 00 00 00 00 | unused | |
First instance descriptor | ||||
0x00 | tag | 41 53 49 41 | 'AISA' | template tag |
0x04 | int32 | 08 00 00 00 | 0x0008 | data offset (relative to data table) |
0x08 | int32 | 00 00 00 00 | 0x0000 | name offset (relative to name table) |
0x0C | int32 | 80 01 00 00 | 0x0180 | data size |
0x10 | int32 | 00 00 00 00 | 0 | flags; possible values:
|
First name index entry | ||||
0x00 | int32 | 00 00 00 00 | 0 | instance number |
0x04 | int32 | 00 00 00 00 | 0 | unused |
First template table entry | ||||
0x00 | int64 | A0 6D 12 00 00 00 00 00 | 0x126DA0 | template checksum |
0x0C | tag | 41 4E 42 41 | 'ABNA' | template tag |
0x08 | int32 | 01 00 00 00 | 1 | number of instances that use this template |
First instance | ||||
0x00 | int32 | 01 00 00 00 | 1 | instance id = (instance number << 8) |
0x04 | int32 | 01 00 00 02 | 0x02000001 | file id = hash of the filename |
0x08 | instance specific data | |||
First name | ||||
0x00 | string | 41 49 ... 00 | "AISAlevel1_scripts" | name string (0 terminated) |