Event Playbook
Appearance
Event Playbook or .epb is a format used in Sonic the Hedgehog (2006) to define cutscene parameters.
The playbook is located in /xenon/archives/cache.arc/xenon/eventplayback.epb.
Specification
The event playbook is stored within a BINA container. All listed offsets in the following structs are relative to the end of the BINA header.
Header
The header consists of the following data structure:
| Offset | Type | Name | Description |
|---|---|---|---|
| 0x00 | Char[4] | Signature | Always ".EPB". |
| 0x04 | UInt32 | Version | |
| 0x08 | UInt32 | EventCount | Number of events within the table. |
| 0x0C | UInt32 | EventTableOffset | The offset of the event table. |
Event Data
Each event within the table consists of the following data structure. All strings are null-terminated:
| Offset | Type | Name | Description |
|---|---|---|---|
| 0x00 | UInt32 | NameOffset | The offset to the name of the event. |
| 0x04 | UInt32 | FolderOffset | The offset to the name of the folder containing the event's resources. |
| 0x08 | UInt32 | Duration | The duration of the event in frames. |
| 0x0C | Float[3] | Position | The start position of the event's camera. |
| 0x18 | Float[3] | Rotation | The start rotation of the event's camera. |
| 0x24 | UInt32 | TerrainOffset | The offset to the location of the event's terrain. |
| 0x28 | UInt32 | SceneParametersOffset | The offset to the location of the event's scene parameter. |
| 0x2C | UInt32 | SceneBankOffset | The offset to the location of the event's sound bank. |
| 0x30 | UInt32 | ParticleContainerOffset | The offset to the location of the event's particle container. |
| 0x34 | UInt32 | SubtitlesOffset | The offset to the location of the event's text book for subtitles. |