Cutscene characters: scenes use the outfit list's names; names from scene handles #317

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

@⁠holdmysocks on GitHub · 2026-11-25 21:59 UTC · original
holdmysocks:issue-306 → master · +104 −36 · 4 files · 2 commits · merged 2026-11-25 22:11 UTC

Addresses #306: cutscene (cs_) characters that could not be found or opened.

What was missing

  • Scenes: a cast member could be played only when its model has parts named after it. cs_ models made of shared parts only (cs_mandy, cs_felipe, cs_big_mike …) are in the game's outfit list, but the scene list did not use the list's names. Their scene records stayed unresolved and had no ▶ Play.
  • Names: the outfit list has 2713 models, and only 581 had a name. The story cutscenes' clip handles name four more: cs_arnold_rubio, cs_chart_bachelor, cs_chart_bestman and cs_rafanavarro. For each one the name's 64-bit id is also a scene file's ped model, so the names are certain.
  • Part defaults (cs characters outside the outfit list that loaded bald, empty or with lash cards for a head) are fixed separately in #316.

Changes

  • cutscene::Models::of_workspace: one builder for the scene model names, used by sixng cutscenes and the Scenes tab. It adds the named outfit-list models as characters.
  • pedlook: outfit-list names from cutscene handles (cs_<handle>, with or without its number). A name is marked uncertain unless a scene file's 64-bit ped id confirms it. The name cache version goes up, and the cache is rebuilt when the cutscene catalog is newer than it.
  • sixng ped-look '^regex' also checks outfit-list models without parts of their own (new own_parts field), so every cs model can be checked in one run.
  • A test for the handle names.

Counts (full install)

before after
named outfit-list models (cs_) 581 (299) 585 (303)
scene cast entries with an unresolved model 3244 2452
scene cast entries the viewer can play 4724 5531
distinct named models in scene casts 84 151

ped-look '^cs_' after: of the 167 cs characters with their own parts, 156 load with a full default outfit; the other 11 are outside the outfit list (see #316). All 189 cs models that come only from the outfit list load with a head and a body (cs_null is an empty placeholder).

Still not covered: some cs prefixes have only a head, with no outfit data (cs_blair, cs_ilarus, cs_mischa, cs_cousin_02, cs_gator_trainer). cs_roxy has clothes but no head. 2128 outfit-list models are still unnamed (ped_0x…). Most of the 214 cast model ids still unresolved are crowd and background peds.

**@⁠holdmysocks** on GitHub · 2026-11-25 21:59 UTC · [original](https://github.com/holdmysocks/SixNG/pull/317) `holdmysocks:issue-306` → `master` · +104 −36 · 4 files · 2 commits · merged 2026-11-25 22:11 UTC Addresses #306: cutscene (`cs_`) characters that could not be found or opened. ## What was missing - **Scenes**: a cast member could be played only when its model has parts named after it. `cs_` models made of shared parts only (`cs_mandy`, `cs_felipe`, `cs_big_mike` …) are in the game's outfit list, but the scene list did not use the list's names. Their scene records stayed unresolved and had no ▶ Play. - **Names**: the outfit list has 2713 models, and only 581 had a name. The story cutscenes' clip handles name four more: `cs_arnold_rubio`, `cs_chart_bachelor`, `cs_chart_bestman` and `cs_rafanavarro`. For each one the name's 64-bit id is also a scene file's ped model, so the names are certain. - **Part defaults** (cs characters outside the outfit list that loaded bald, empty or with lash cards for a head) are fixed separately in #316. ## Changes - `cutscene::Models::of_workspace`: one builder for the scene model names, used by `sixng cutscenes` and the Scenes tab. It adds the named outfit-list models as characters. - `pedlook`: outfit-list names from cutscene handles (`cs_<handle>`, with or without its number). A name is marked uncertain unless a scene file's 64-bit ped id confirms it. The name cache version goes up, and the cache is rebuilt when the cutscene catalog is newer than it. - `sixng ped-look '^regex'` also checks outfit-list models without parts of their own (new `own_parts` field), so every cs model can be checked in one run. - A test for the handle names. ## Counts (full install) | | before | after | |---|---|---| | named outfit-list models (cs_) | 581 (299) | 585 (303) | | scene cast entries with an unresolved model | 3244 | 2452 | | scene cast entries the viewer can play | 4724 | 5531 | | distinct named models in scene casts | 84 | 151 | `ped-look '^cs_'` after: of the 167 cs characters with their own parts, 156 load with a full default outfit; the other 11 are outside the outfit list (see #316). All 189 cs models that come only from the outfit list load with a head and a body (`cs_null` is an empty placeholder). Still not covered: some cs prefixes have only a head, with no outfit data (`cs_blair`, `cs_ilarus`, `cs_mischa`, `cs_cousin_02`, `cs_gator_trainer`). `cs_roxy` has clothes but no head. 2128 outfit-list models are still unnamed (`ped_0x…`). Most of the 214 cast model ids still unresolved are crowd and background peds.
Scene casts resolve their models with the named models of the game's outfit list, as characters the viewer puts together, so cs_ models made of shared parts get Play in Scenes. One builder serves sixng cutscenes and the Scenes tab. Cutscene clip handles name outfit-list models (cs_<handle>), certain when a scene file's ped id matches. ped-look with a regex also checks outfit-list models without own parts.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:26:53 +00:00
github manually merged commit e3f3cbbba8 into gh-pr/317/base 2026-11-26 20:26:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.