Skip to content

TALK.DAT

ProgSys edited this page May 1, 2019 · 69 revisions

Conatins scripts, mainly for cutscenes.

Original work has been done by Krisan Thyme by his Toolpack.

File structure

Header

Type Size Description
uInt 4 byte Number of scripts
uInt 4 byte Number of scripts again

For each script (32 byte):

Type Size Description
uInt 4 byte Start address (The header size is not counted, therefore is first value is 0)
uShort 2 byte The script id
uShort 2 byte Unknown Flag 2
uShort 2 byte Unknown Flag 3
uShort 2 byte Unknown Flag 4
uShort 2 byte Unknown Flag 5
uShort 2 byte Unknown Flag 6
uShort 2 byte Unknown Flag 7
uShort 2 byte Unknown Flag 8
uShort 2 byte Unknown Flag 9
uShort 2 byte Unknown Flag 10
uShort 2 byte Unknown Flag 11
uShort 2 byte Unknown Flag 12
uShort 2 byte Unknown Flag 13
uShort 2 byte Unknown Flag 14

Scripts

Each script byte size can be calculated by subtracting the next start address with the current.

Each command is identified by exacly one byte. Usualy commands are then followed by one argument. Here is a list of known commands:

Name Hex Value Description
uShort 2 byte The script id

Clone this wiki locally