Scenes: arc and mission names from the story flow tags #243

Manually merged
github merged 2 commits from gh-pr/243/head into gh-pr/243/base 2026-11-26 20:21:00 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 03:54 UTC · original
holdmysocks:claude/scenes-mission-names → master · +479 −39 · 6 files · 2 commits · merged 2026-11-25 04:06 UTC

Linear: SIX-195

The Scenes tab showed only mission ids (<arc>_<mission>). The story pack names its missions in the story-flow tags of its protected ambient-rule files (Flow<arc words><mission words>Complete). This pairs the two.

Changes

  • sixng_core::storyflow:
    • reads the Flow… tags from the story pack's protected RBF files through the table of contents, cached in <work>/index/story_flow_tags.json;
    • match_names pairs a tag with the mission id that is a short form of its words (letters left out). The arc parts shorten the first words, and the mission part a later run of words.
    • When several ids fit a tag, the one whose letters fall in the fewest words wins. Ids that start other ids are arcs. Ties, and ids with two tags, name nothing.
    • An arc's words end where its tags' shared words end, or, for a single tag, where the mission part starts.
  • sixng story-names [--tags] prints the names.
  • Scenes tab:
    • shows a Story row ("Arc: Mission") and the names in the list tooltips;
    • the name search also finds the names;
    • if the tags can't be read (not Windows x64, or no game executable), a note says why.
  • mission_stage moves to sixng_core::cutscene, so the CLI can use it. It gains mission_ids.

No names are written in the code: they come from the game's files at run time, and the tests use made-up names.

Measured
25 of the 324 mission ids and 12 arcs get names. Reading the tags takes about 40 s the first time, then comes from the cache.

Checked in the real viewer

  • Searching "kidnap" finds the matching mission's scenes, whose names don't contain that word.
  • A stunt-promoter scene shows its Story row.

The tags don't give the story order (SIX-162).

**@⁠holdmysocks** on GitHub · 2026-11-25 03:54 UTC · [original](https://github.com/holdmysocks/SixNG/pull/243) `holdmysocks:claude/scenes-mission-names` → `master` · +479 −39 · 6 files · 2 commits · merged 2026-11-25 04:06 UTC Linear: SIX-195 The Scenes tab showed only mission ids (`<arc>_<mission>`). The story pack names its missions in the story-flow tags of its protected ambient-rule files (`Flow<arc words><mission words>Complete`). This pairs the two. **Changes** - `sixng_core::storyflow`: - reads the `Flow…` tags from the story pack's protected RBF files through the table of contents, cached in `<work>/index/story_flow_tags.json`; - `match_names` pairs a tag with the mission id that is a short form of its words (letters left out). The arc parts shorten the first words, and the mission part a later run of words. - When several ids fit a tag, the one whose letters fall in the fewest words wins. Ids that start other ids are arcs. Ties, and ids with two tags, name nothing. - An arc's words end where its tags' shared words end, or, for a single tag, where the mission part starts. - `sixng story-names [--tags]` prints the names. - Scenes tab: - shows a **Story** row ("Arc: Mission") and the names in the list tooltips; - the name search also finds the names; - if the tags can't be read (not Windows x64, or no game executable), a note says why. - `mission_stage` moves to `sixng_core::cutscene`, so the CLI can use it. It gains `mission_ids`. No names are written in the code: they come from the game's files at run time, and the tests use made-up names. **Measured** 25 of the 324 mission ids and 12 arcs get names. Reading the tags takes about 40 s the first time, then comes from the cache. **Checked in the real viewer** - Searching "kidnap" finds the matching mission's scenes, whose names don't contain that word. - A stunt-promoter scene shows its Story row. The tags don't give the story order (SIX-162).
The story pack's protected ambient-rule files name the content tags the
story flow sets, one per finished mission. A scene's mission id is a
short form of the tag's words, so the two are paired by that rule.
sixng story-names prints the names; the Scenes tab shows them as the
scene's Story and its name search finds them. mission_stage moves to
sixng_core::cutscene so the CLI can use it.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:20:57 +00:00
github manually merged commit 2d79d6b106 into gh-pr/243/base 2026-11-26 20:21:00 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.