Characters: list every ped model of the outfit list, named where a name is recovered #199

Manually merged
github merged 1 commit from gh-pr/199/head into gh-pr/199/base 2026-11-26 20:17:30 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 19:59 UTC · original
holdmysocks:claude/people-all-ped-models → master · +269 −8 · 4 files · 1 commits · merged 2026-11-24 20:20 UTC

What

A character built only from shared parts (generic head, generic clothes) had no drawable with its prefix, so the character list and the viewer's picker never showed it, although it opened fine when its model name was typed. This lists every ped model of the game's outfit list.

  • Name table (pedlook::model_names, cached in the work directory): the outfit list stores only name hashes, so candidate names are hashed against its keys. Candidates: index names and their _ prefixes, the name dictionary, and capitalised words of the text tables (single words and runs of two or three) behind the ped model prefixes. Text and dictionary candidates count only with a ped model prefix.
  • sixng characters adds models: every model with name, hash, outfit count and whether it is already listed as a character. --kind model shows these alone.
  • ped-look and outfit: take ped_0x<hash> (or 0x<hash>) for a model without a name.
  • Viewer picker: the models no drawable prefix names are added under People.

Numbers

2,713 models; 579 named (the character list had 318 names before, 116 of them model names). 2,134 are listed as ped_0x<hash>. With about 13 million candidates against 2,713 keys, around eight names are expected to be chance hits; all but one of the names found carry a ped model prefix.

Verified

  • Workspace tests pass (179 + 20), with a new test for the text name stems, the prefix rule and the hash form.
  • CLI: a shared-parts character is found by name with 9 outfits; an unnamed model opens by hash.
  • Viewer: one newly listed character and one unnamed model rendered dressed, by --model … --screenshot.

Not verified

  • That every one of the 579 names assembles (two were rendered).
  • The picker list itself was not looked at in the window; the entries come from the same list the CLI prints.
  • First build of the name table takes about 45 s when the text archive is indexed (about 4 s afterwards).

Follow-ups

A wider name search for the unnamed ambient models, display names from the text labels, a text search command.

**@⁠holdmysocks** on GitHub · 2026-11-24 19:59 UTC · [original](https://github.com/holdmysocks/SixNG/pull/199) `holdmysocks:claude/people-all-ped-models` → `master` · +269 −8 · 4 files · 1 commits · merged 2026-11-24 20:20 UTC ## What A character built only from shared parts (generic head, generic clothes) had no drawable with its prefix, so the character list and the viewer's picker never showed it, although it opened fine when its model name was typed. This lists every ped model of the game's outfit list. - **Name table** (`pedlook::model_names`, cached in the work directory): the outfit list stores only name hashes, so candidate names are hashed against its keys. Candidates: index names and their `_` prefixes, the name dictionary, and capitalised words of the text tables (single words and runs of two or three) behind the ped model prefixes. Text and dictionary candidates count only with a ped model prefix. - **`sixng characters`** adds `models`: every model with name, hash, outfit count and whether it is already listed as a character. `--kind model` shows these alone. - **`ped-look` and `outfit:`** take `ped_0x<hash>` (or `0x<hash>`) for a model without a name. - **Viewer picker**: the models no drawable prefix names are added under People. ## Numbers 2,713 models; 579 named (the character list had 318 names before, 116 of them model names). 2,134 are listed as `ped_0x<hash>`. With about 13 million candidates against 2,713 keys, around eight names are expected to be chance hits; all but one of the names found carry a ped model prefix. ## Verified - Workspace tests pass (179 + 20), with a new test for the text name stems, the prefix rule and the hash form. - CLI: a shared-parts character is found by name with 9 outfits; an unnamed model opens by hash. - Viewer: one newly listed character and one unnamed model rendered dressed, by `--model … --screenshot`. ## Not verified - That every one of the 579 names assembles (two were rendered). - The picker list itself was not looked at in the window; the entries come from the same list the CLI prints. - First build of the name table takes about 45 s when the text archive is indexed (about 4 s afterwards). ## Follow-ups A wider name search for the unnamed ambient models, display names from the text labels, a text search command.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:17:28 +00:00
github manually merged commit 604c28d534 into gh-pr/199/base 2026-11-26 20:17:30 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.