Names: 231 vehicle material library field names #82

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

@⁠holdmysocks on GitHub · 2026-11-23 21:25 UTC · original
holdmysocks:claude/vehicle-field-names → master · +45 −1 · 1 files · 1 commits · merged 2026-11-23 21:42 UTC

What

Adds 231 field names of the vehicle material library to the built-in case-sensitive list (DERIVED_EXACT in crates/sixng-core/src/names.rs), so vehicle library dumps and the GUI show names instead of hashes for the surface ranges, detail sets, coat, wear and colour records. Examples: metalLow, metalHigh, albedoMultiply, detailTintStrength0 / 1, albedoSelection, albedoPage, clearCoatRoughness, rustStart / rustEnd.

Only the derived names are added, as with the rest of the list; no game strings.

How the names were verified

  • They come from a case-sensitive joaat search over camelCase word combinations against the member hashes of the vehicle library schema that the name dictionary did not resolve.
  • Kept: one- and two-word names, plus three-word names confirmed by a sibling field of the same struct (0 / 1, Min / Max, A / B / C, Start / End).
  • Before adding, joaat was recomputed for all 287 input names: every one hashes to its key.
  • known_hashes now checks six of them, both the hash and the Ctx::Field lookup.

Left out (56 of 287)

  • 47 names whose hash the dictionary or the built-in list already resolves (name, roughnessLow, roughnessHigh, metallicLow, colour, handling, ...).
  • The six boatPrimer... names (aa45174e, 61231e48, 338bc31a, bc3d1f2b, db811fa6, 48d07a43): the Selection / Page suffixes are certain, the stem is only probable.
  • probesConfidentR (three words), skipEhY, throttleHueR: they read as chance collisions and no sibling field confirms them.

Still doubtful, but kept because they are two-word hits: fabricUser2, secMotion, fadePack, fadeRoll, ttName, dataCheck.

Checks

  • cargo test -p sixng-core: 144 passed.
  • cargo clippy -p sixng-core --all-targets: no warnings in names.rs (the crate's existing warnings are unchanged).
**@⁠holdmysocks** on GitHub · 2026-11-23 21:25 UTC · [original](https://github.com/holdmysocks/SixNG/pull/82) `holdmysocks:claude/vehicle-field-names` → `master` · +45 −1 · 1 files · 1 commits · merged 2026-11-23 21:42 UTC ## What Adds 231 field names of the vehicle material library to the built-in case-sensitive list (`DERIVED_EXACT` in `crates/sixng-core/src/names.rs`), so vehicle library dumps and the GUI show names instead of hashes for the surface ranges, detail sets, coat, wear and colour records. Examples: `metalLow`, `metalHigh`, `albedoMultiply`, `detailTintStrength0` / `1`, `albedoSelection`, `albedoPage`, `clearCoatRoughness`, `rustStart` / `rustEnd`. Only the derived names are added, as with the rest of the list; no game strings. ## How the names were verified - They come from a case-sensitive joaat search over camelCase word combinations against the member hashes of the vehicle library schema that the name dictionary did not resolve. - Kept: one- and two-word names, plus three-word names confirmed by a sibling field of the same struct (`0` / `1`, `Min` / `Max`, `A` / `B` / `C`, `Start` / `End`). - Before adding, joaat was recomputed for all 287 input names: every one hashes to its key. - `known_hashes` now checks six of them, both the hash and the `Ctx::Field` lookup. ## Left out (56 of 287) - 47 names whose hash the dictionary or the built-in list already resolves (`name`, `roughnessLow`, `roughnessHigh`, `metallicLow`, `colour`, `handling`, ...). - The six `boatPrimer...` names (aa45174e, 61231e48, 338bc31a, bc3d1f2b, db811fa6, 48d07a43): the `Selection` / `Page` suffixes are certain, the stem is only probable. - `probesConfidentR` (three words), `skipEhY`, `throttleHueR`: they read as chance collisions and no sibling field confirms them. Still doubtful, but kept because they are two-word hits: `fabricUser2`, `secMotion`, `fadePack`, `fadeRoll`, `ttName`, `dataCheck`. ## Checks - `cargo test -p sixng-core`: 144 passed. - `cargo clippy -p sixng-core --all-targets`: no warnings in `names.rs` (the crate's existing warnings are unchanged).
Case-sensitive joaat matches for fields of the vehicle material library (surface ranges, detail sets, coat, wear and colour records), found by hashing camelCase word combinations. Each name was re-hashed against its key before it was added; names the dictionary already resolves are skipped.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:08:23 +00:00
github manually merged commit c53c90a9f0 into gh-pr/82/base 2026-11-26 20:08:26 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.