.dat file format

.dat parser 00000000 47 50 44 41 00 b8 01 00  00 00 00 00 36 00 00 00  |GPDA........6...| 00000010 00 08 00 00 00 00 00 00  2a 00 00 00 00 00 00 00  |........*.......| 00000020 00 10 00 00 00 00 00 00  38 00 00 00 00 00 00 00  |........8.......| 00000030  00 18 00 00 00 00 00 00  17 00 00 00 00 00 00 00  |................| 00000040  00 20 00 00 00 00 00 00  14 00 00 00 00 00 00 00  |. ..............| 00000050  00 28 00 00 00 00 00 00  2d 00 00 00 00 00 00 00  |.(......-.......| 00000060  00 30 00 00 00 00 00 00  22 00 00 00 00 00 00 00  |.0......".......| 00000070  00 38 00 00 00 00 00 00  2c 00 00 00 00 00 00 00  |.8......,.......| 00000080  00 40 00 00 00 00 00 00  52 00 00 00 00 00 00 00  |.@......R.......| 00000090  00 48 00 00 00 00 00 00  51 00 00 00 00 00 00 00  |.H......Q.......| 000000a0  00 50 00 00 00 00 00 00  17 00 00 00 00 00 00 00  |.P..............| 000000b0  00 58 00 00 00 00 00 00  3a 00 00 00 00 00 00 00  |.X......:.......| 000000c0  00 60 00 00 00 00 00 00  15 00 00 00 00 00 00 00  |.`..............| …

Header and each entry should be aligned to 0x800.


 * — GPDA
 * — file size
 * — number of entries
 * For each entry:
 * — start offset
 * — length
 * — length
 * — length

Each entry is a text string, just like this one: 3100,000001111111111111111111111111100000
 * 3100 — ??? (audio length?)
 * 0 — do nothing
 * 1 — play mouth animation