Event Playbook: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 78: | Line 78: | ||
|UInt32 | |UInt32 | ||
|SceneParamsOffset | |SceneParamsOffset | ||
|The offset to the location of this event's scene parameter. | |The offset to the location of this event's scene parameter script. | ||
|- | |- | ||
|0x2C | |0x2C | ||
|UInt32 | |UInt32 | ||
|SoundBankOffset | |SoundBankOffset | ||
|The offset to the location of this event's | |The offset to the location of this event's Sound Bank. | ||
|- | |- | ||
|0x30 | |0x30 | ||
|UInt32 | |UInt32 | ||
|ParticleContainerOffset | |ParticleContainerOffset | ||
|The offset to the location of this event's | |The offset to the location of this event's Particle Container. | ||
|- | |- | ||
|0x34 | |0x34 | ||
|UInt32 | |UInt32 | ||
|TextBookOffset | |TextBookOffset | ||
|The offset to the location of this event's | |The offset to the location of this event's [[Text Book]] for subtitles. | ||
|} | |} | ||
[[Category:File Formats]] | [[Category:File Formats]] | ||
Revision as of 20:26, 2 December 2025
Event Playbook is a file format used in Sonic the Hedgehog (2006) to define cutscene properties.
This file is located at ./xenon/archives/cache.arc/xenon/eventplaybook.epb.
Specification
Event Playbook uses a Binary Resource container.
Header
The header consists of the following data structure:
| Offset | Type | Name | Description |
|---|---|---|---|
| 0x00 | Char[4] | Signature | Always ".EPB". |
| 0x04 | UInt32 | Version | Always 0x20060700 (big-endian). Format: 2006 July, Revision 0. |
| 0x08 | UInt32 | EventCount | The total number of events. |
| 0x0C | UInt32 | EventTableOffset | The offset of the event table. |
Event Playbook Data
Each event within the table consists of the following data structure:
| Offset | Type | Name | Description |
|---|---|---|---|
| 0x00 | UInt32 | NameOffset | The offset to the name of this event. |
| 0x04 | UInt32 | DirectoryOffset | The offset to the path to the directory containing this event's resources. |
| 0x08 | UInt32 | Duration | The duration of this event in frames. |
| 0x0C | Vector3 | Position | The start position of this event's camera. |
| 0x18 | Vector3 | Rotation | The start rotation of this event's camera. |
| 0x24 | UInt32 | TerrainOffset | The offset to the location of this event's terrain. |
| 0x28 | UInt32 | SceneParamsOffset | The offset to the location of this event's scene parameter script. |
| 0x2C | UInt32 | SoundBankOffset | The offset to the location of this event's Sound Bank. |
| 0x30 | UInt32 | ParticleContainerOffset | The offset to the location of this event's Particle Container. |
| 0x34 | UInt32 | TextBookOffset | The offset to the location of this event's Text Book for subtitles. |