-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathVagiSamplDMC3.bt
69 lines (64 loc) · 1.37 KB
/
VagiSamplDMC3.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//------------------------------------------------
//--- 010 Editor v9.0.2 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
local int i;
typedef struct{
char HeadMagic[4];
uint structLength;
uint unkn;
uint EOHeader;
uint unkn3;
uint ProgOffset;
uint SmplOffset;
uint VagiOffset;
}HeadStruct;
typedef struct{
char ProgMagic[4];
uint structLength;
uint structCount;
for(i=0;i<structCount+1;i++){
uint unkn1;
uint unkn2;
short unkn3;
byte unkn4;
};
}ProgStruct;
typedef struct{
char VagiMagic[4];
uint unknversion;
uint structCount;
uint extra;
for(i=0;i<structCount+1;i++){
uint offset<bgcolor=0x00FF00>;
uint length<bgcolor=0xFF0000>;
uint unkn1;
uint sampleRate<bgcolor=0x0000FF>;
};
}VagiStruct;
typedef struct{
char SmplMagic[4];
uint structLength;
uint structCount;
uint extra;
for(i=0;i<structCount+1;i++){
uint unkn1<bgcolor=0xFF00FF>;
uint unkn2<bgcolor=0xFFFF00>;
uint unkn3<bgcolor=0x00FFFF>;
};
}SmplStruct;
HeadStruct Header;
FSeek(Header.ProgOffset);
ProgStruct Prog;
FSeek(Header.SmplOffset);
SmplStruct Smpl;
FSeek(Header.VagiOffset);
VagiStruct Vagi;