Cutscenes: join the last missing section windows #216

Manually merged
github merged 1 commit from gh-pr/216/head into gh-pr/216/base 2026-11-26 20:18:55 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 22:27 UTC · original
holdmysocks:claude/cutscene-gaps → master · +133 −17 · 5 files · 1 commits · merged 2026-11-24 22:41 UTC

After #213, 15 of the story pack's 143,050 streamed cutscene windows found no animation, in 2 scenes. Both causes were in how the catalog groups section dictionaries. With these fixes, all windows join.

Causes:

  • A section the scan skipped. One of cin@mtl_mont_mcs1_arrive_at_diner_p1_t05's 22 section dictionaries has a recovered entry name that is wrong (jj.xl). The scan only read unnamed entries, so that section was missing and 9 of Lucia's windows had no animation. The scan now reads every resource object: about 4,200 more entries, and the rescan still takes under 2 minutes. This also finds one more scene (ie_lgtow_mcs1_lifeguard_intro_p1_t02), one more scene file and 47 more sections.
  • Sections named after a longer name. cin@mtl_mont_int_p0l_t01 has its sections named cin@mtl_mont_int_p0l_t01fixme-<N>, and no scene has that name. Section groups with no base dictionary of their own now join the scene whose name is the longest prefix of theirs. They come after the scene's own sections, and when two sections share a key, the first one wins. This adopts 6 section dictionaries across the pack.

Measured:

  • 2,824 scenes and 25,341 section dictionaries. All 143,374 streamed windows join.
  • Lucia in the diner scene: 55.9 s, 12 sections, 3,357 frames, no missing windows.
  • Jason and Lucia in mtl_mont_int_p0l_t01 play its full 3.8 s.
  • The catalog is now v4 and is rebuilt once on first use.

Changes:

  • cutscene: scans named entries too, adopts section groups without a scene of their own (adopt_sections), and records adopted_sections per scene.
  • anim::ClipDictionary::join: the first section dictionary holding a key wins.
  • CLI: cutscenes totals add section_dictionaries_adopted.
  • Tests for the adoption rule and for first-key-wins.
  • Research example gapprobe.
**@⁠holdmysocks** on GitHub · 2026-11-24 22:27 UTC · [original](https://github.com/holdmysocks/SixNG/pull/216) `holdmysocks:claude/cutscene-gaps` → `master` · +133 −17 · 5 files · 1 commits · merged 2026-11-24 22:41 UTC After #213, 15 of the story pack's 143,050 streamed cutscene windows found no animation, in 2 scenes. Both causes were in how the catalog groups section dictionaries. With these fixes, all windows join. **Causes:** - **A section the scan skipped.** One of `cin@mtl_mont_mcs1_arrive_at_diner_p1_t05`'s 22 section dictionaries has a recovered entry name that is wrong (`jj.xl`). The scan only read unnamed entries, so that section was missing and 9 of Lucia's windows had no animation. The scan now reads every resource object: about 4,200 more entries, and the rescan still takes under 2 minutes. This also finds one more scene (`ie_lgtow_mcs1_lifeguard_intro_p1_t02`), one more scene file and 47 more sections. - **Sections named after a longer name.** `cin@mtl_mont_int_p0l_t01` has its sections named `cin@mtl_mont_int_p0l_t01fixme-<N>`, and no scene has that name. Section groups with no base dictionary of their own now join the scene whose name is the longest prefix of theirs. They come after the scene's own sections, and when two sections share a key, the first one wins. This adopts 6 section dictionaries across the pack. **Measured:** - 2,824 scenes and 25,341 section dictionaries. All 143,374 streamed windows join. - Lucia in the diner scene: 55.9 s, 12 sections, 3,357 frames, no missing windows. - Jason and Lucia in `mtl_mont_int_p0l_t01` play its full 3.8 s. - The catalog is now v4 and is rebuilt once on first use. **Changes:** - `cutscene`: scans named entries too, adopts section groups without a scene of their own (`adopt_sections`), and records `adopted_sections` per scene. - `anim::ClipDictionary::join`: the first section dictionary holding a key wins. - CLI: `cutscenes` totals add `section_dictionaries_adopted`. - Tests for the adoption rule and for first-key-wins. - Research example `gapprobe`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:18:54 +00:00
github manually merged commit 41c16259c4 into gh-pr/216/base 2026-11-26 20:18:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.