GGFR

From Foone Wiki
Revision as of 10:36, 5 January 2019 by <bdi>Foone</bdi> (talk | contribs) (Created page with " A GGFR indicates events happening in the timeline of a scene. <code>Length: varies. 20 + chunk_data + 8*number_of_events ? 00: ChunkSignature (4 bytes) 04: Number of ev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


A GGFR indicates events happening in the timeline of a scene.

Length: varies. 20 + chunk_data + 8*number_of_events ?

00: ChunkSignature (4 bytes)
04: Number of events (4 bytes)
08: Length of event data (4 bytes). 
0C: FF FF FF FF (4 bytes)
10: Unknown (4 bytes, value is always 08 00 00 00?)
14: First Event (at least 8 bytes)
  +00: Frame event happens on, 1-based (4 bytes)
  +04: Event type

NN Index, at 20+Length_of_event_data (8 bytes long)
  +00: Offset into event data (4 bytes)
  +04: Length of event (4 bytes)

Known event types:

Event1: Sound/Music/Speech
Length: 2C (44 bytes)

Event3: Change camera angle
Length: C (12)
+08: Camera angle of current scene to change to (4 bytes)

Event5: Wait for sound to end
Length: 10 (16)
+08: ?
+0C: ?