-
Notifications
You must be signed in to change notification settings - Fork 12
/
5F_MIB3_Dataset_0x007206.BIN.bt
39 lines (34 loc) · 1.26 KB
/
5F_MIB3_Dataset_0x007206.BIN.bt
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
//------------------------------------------------
//--- 010 Editor v13.0 Binary Template
//
// File: 0x007206.BIN
// Authors: Alex Strelets
// Version: 0.1
// Purpose: Parse the contents of the Sound Settings of MIB3
// Category:
// File Mask:
// ID Bytes:
// History: 0.1 - Initial version
//
//------------------------------------------------
//------------------------------------------------
// legend:
// yellow/aqua = uncertain
// red = checksum
// green = confirmed
// gray = seemingly irrelevant
// blue = special
char DatasetVersion[4] <bgcolor=cDkBlue>;
struct {
ubyte index <bgcolor=cDkYellow>; // index / position of the speaker ?, the values are always unique per dataset
struct {
ubyte value1 <bgcolor=cAqua>; // those values could be 144, 147, 150; 144 in 90% cases
ubyte value2 <bgcolor=cDkAqua>;
ubyte value3 <bgcolor=cLtAqua>; // those values are ALWAYS the same [ 19, 19, 17, 18, 240 ]
} something[5];
ubyte empty[6] <bgcolor=cDkGray>;
} SpeakerChannels[8];
FSeek(FileSize() - 4);
uint checksum <bgcolor=cDkRed>;
local uint file_checksum = Checksum(CHECKSUM_CRC32, 0, FileSize() - 4, -1, -1); // algo, size, length, poly, init
Printf("\n\nFILE CHECKSUM: %.08X", file_checksum);