Cutscenes: join the streamed section dictionaries into scene clips #213
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!213
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/213/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 21:52 UTC · original
holdmysocks:claude/cutscene-sections→master· +535 −104 · 7 files · 1 commits · merged 2026-11-24 22:05 UTCMost cutscene clips couldn't be played: their animation is streamed in the scene's
cin@<scene>-<N>section dictionaries. This joins those sections back in, sooutfit --clip cin@<scene>andclips cin@<scene>play each clip over the whole scene.How the sections fit together (read from the files):
{ptr windows, u16 count, u16, f32 duration}, played one after another. The durations add up to the clip's duration.cinematic_q8@female@0@60_0.animholds every female ped of the scene. The section dictionaries keep these.animobjects in their clip map.Measured on the story pack:
air_beach_ext_p1_t05: 48.6 s, 11 sections, 2,917 frames. Mover and bone steps across every section start match the step before them, so there is no jump where sections meet.anim.rpfclips are unchanged: a census of every 10th dictionary finds no multi-section and no pending clips.Changes:
anim: clips read every section. Bindings carry a clip-timeoffset. Windows that are not in the dictionary are kept aspending.ClipDictionary::joinadds section dictionaries.clip_tracks/clip_movercontinue tracks across sections. Section dictionaries'.animmap values are decoded as animations.cutscene: the catalog (v3, rescanned once, about 2 min) stores each scene's section ids and which windows are missing.load_dictionaryloads a scene with its sections joined. The "streamed, not joined yet" refusal is gone.cutscenestotals addstreamed_windows,streamed_windows_missingandscenes_with_missing_windows.outfitandclipsreport sections and missing windows.sectprobe.Not decoded yet: what the pool names'
@0@part means, and the scene files' timing and events.