fable_format/lut/mod.rs
1mod decode;
2mod encode;
3
4/// Audio data for dialogue
5///
6/// ## Format Description
7///
8/// Temporary comments from fabletlcmod.com.
9///
10/// ```txt
11/// .Lut
12///
13/// All Offsets in .Lut files do not count 44 byte header.
14/// Header
15///
16/// [27] Bytes - Header (LiOnHeAdLHAudioBankCompData)
17/// [13] Bytes - Null
18/// [4] Bytes - Offset to Audio Bank Lookup Table
19/// Audio Bank Lookup Table
20///
21/// [22] Bytes - Header (LHAudioBankLookupTable)
22/// [10] Bytes - Null
23/// [4] Bytes - Number of Bytes left in Table (size)
24/// [4] Bytes - File Type (1000 for main, 500 for secondary)
25/// [4] Bytes - Number of Files
26/// Table loop
27///
28/// Each Entry takes up 12 Bytes. Loop until number of files is met.
29///
30/// [4] Bytes - File ID
31/// [4] Bytes - Chunk Size (All .Lut entries contain 36 Byte Header)
32/// [4] Bytes - Offset (Remember initial 44 byte header is not counted)
33/// ```
34pub struct Lut {
35}