Vehicles: names for 139 of the 166 mod slots #231

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

@⁠holdmysocks on GitHub · 2026-11-25 00:44 UTC · original
holdmysocks:claude/mod-slot-names → master · +47 −6 · 3 files · 2 commits · merged 2026-11-25 02:28 UTC

What

A mod part's slot is the joaat of a name. The viewer knew 24 names, 15 of which the vehicles use; every other group of parts showed as slot 5fbd8e4d.

Hashing likely names against the 166 slots the vehicles use gives 139 of them: rims, tyres, calipers, plate_front_rear, plate_base, roof_attachments, lights_roof, aerials, sidesteps, bullbars, truckbed_accessories, interior_shifter_head, bike_forks, bike_handlebars, overlays_bodyshell, sirens_ext2 ...

  • The list is vehicles::MOD_SLOT_NAMES in sixng-core, with mod_slot_name(hash).
  • The viewer groups a vehicle's parts by it.
  • sixng vehicle --list-parts prints it as slot_name next to slot.

No file format change.

Checked

  • 139 of 166 slots named; they hold 13,694 of the 13,999 parts (97.8%).
  • Each name was compared with the models its slot's parts fit, where those resolve: rims holds rim_*, aerials cmn_aerial_*, seat_lf cmn_seat_lf_*, bike_forks forks_*, lights_rims the rim light rings, and so on. None contradicts its name; a few small slots (engine, cargo, kits, utility, headlights, doors_front; 35 parts together) hold models whose names neither confirm nor contradict it.
  • The search tried about 17 million names against 166 hashes, so about 0.65 chance matches are expected in the whole list. The names that could not be compared with a model (parts without resolved models) are the ones at risk.
  • --list-parts on a pickup: 132 of 135 parts carry a slot name.
  • Unit test for a few known pairs and for no two names sharing a hash; workspace tests pass.

Not decoded / not done

  • 27 slots (305 parts) are still unnamed: call signs, fairings, some siren and weapon mounts, one-off slots.
  • The viewer's part list itself was not looked at (it sits below the fold in a screenshot); the names were checked through the CLI, which uses the same function.
  • The truck bed slot is truckbed; the viewer keeps calling its group "body", since other code keys on that word.
  • Nine names the viewer listed before (plate, canards, wing, cage, intake, skirt, grille, suspension, lights) match no slot in the data and are gone.
**@⁠holdmysocks** on GitHub · 2026-11-25 00:44 UTC · [original](https://github.com/holdmysocks/SixNG/pull/231) `holdmysocks:claude/mod-slot-names` → `master` · +47 −6 · 3 files · 2 commits · merged 2026-11-25 02:28 UTC ## What A mod part's slot is the joaat of a name. The viewer knew 24 names, 15 of which the vehicles use; every other group of parts showed as `slot 5fbd8e4d`. Hashing likely names against the 166 slots the vehicles use gives 139 of them: `rims`, `tyres`, `calipers`, `plate_front_rear`, `plate_base`, `roof_attachments`, `lights_roof`, `aerials`, `sidesteps`, `bullbars`, `truckbed_accessories`, `interior_shifter_head`, `bike_forks`, `bike_handlebars`, `overlays_bodyshell`, `sirens_ext2` ... - The list is `vehicles::MOD_SLOT_NAMES` in sixng-core, with `mod_slot_name(hash)`. - The viewer groups a vehicle's parts by it. - `sixng vehicle --list-parts` prints it as `slot_name` next to `slot`. No file format change. ## Checked - 139 of 166 slots named; they hold 13,694 of the 13,999 parts (97.8%). - Each name was compared with the models its slot's parts fit, where those resolve: `rims` holds `rim_*`, `aerials` `cmn_aerial_*`, `seat_lf` `cmn_seat_lf_*`, `bike_forks` `forks_*`, `lights_rims` the rim light rings, and so on. None contradicts its name; a few small slots (`engine`, `cargo`, `kits`, `utility`, `headlights`, `doors_front`; 35 parts together) hold models whose names neither confirm nor contradict it. - The search tried about 17 million names against 166 hashes, so about 0.65 chance matches are expected in the whole list. The names that could not be compared with a model (parts without resolved models) are the ones at risk. - `--list-parts` on a pickup: 132 of 135 parts carry a slot name. - Unit test for a few known pairs and for no two names sharing a hash; workspace tests pass. ## Not decoded / not done - 27 slots (305 parts) are still unnamed: call signs, fairings, some siren and weapon mounts, one-off slots. - The viewer's part list itself was not looked at (it sits below the fold in a screenshot); the names were checked through the CLI, which uses the same function. - The truck bed slot is `truckbed`; the viewer keeps calling its group "body", since other code keys on that word. - Nine names the viewer listed before (`plate`, `canards`, `wing`, `cage`, `intake`, `skirt`, `grille`, `suspension`, `lights`) match no slot in the data and are gone.
A part's slot is the joaat of a name. The viewer knew 24 names, of which
15 are used; the rest showed as a number. Hashing likely names against
the slots in use gives 139 (97.8% of all parts): rims, tyres, calipers,
plate_front_rear, roof_attachments, bike_forks ... The list lives in
sixng-core, the viewer groups parts by it and `vehicle --list-parts`
prints it as slot_name.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:19:57 +00:00
github manually merged commit ce5518817a into gh-pr/231/base 2026-11-26 20:20:00 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.