Scenes (*.scn) - Anonym271/7scarlet-tools GitHub Wiki

Scene Files

The scene scripts are stored in the kind-of compiled .scn files. I do not yet know much about them, but they seem to be a string of instructions with this structure:

Offset Type Name Description
0x00 uint16 length Length of the instruction (including this "header")
0x02 uint16 opcode Defines the action to perform
0x04 byte[length - 4] data The argument data

Known opcodes

As for now I only know that 0x10 contains dialog text.

0x0010

Some kind of dialog text. The first four bytes are a 32 bit integer storing some kind of ID of this dialog part.