Names: vehicle surface reference fields #98

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

@⁠holdmysocks on GitHub · 2026-11-24 01:07 UTC · original
holdmysocks:claude/surface-field-names → master · +11 −1 · 1 files · 1 commits · merged 2026-11-24 01:13 UTC

Adds four case-sensitive field names of the vehicle surface struct 9e4de959 to the built-in name list.

hash name what the value names
2cc72f7c material0Hash a range record 307f162c (metal / roughness low and high)
174770cc material1Hash a second range record 307f162c
5cffe5e0 albedo1Hash a colour record f1379639
6c3ddabc detailMapsHash a detail set cf980e6f

What was checked

  • One- to three-word camelCase joaat search over material words ending in Hash, against 11 unnamed surface field hashes; these are the only hits up to three words, and each fits the record type its values name (checked over all 757 surfaces of the library).
  • The numbering fits the two-layer vehicle shader: material 0 is layer 0, material 1 is layer 1 with its own colour record. In 701 of 756 surfaces material 1 is rougher than or equal to material 0.
  • cargo test -p sixng-core: 144 passed; new assertions in names::tests::known_hashes.

Not decoded

  • Eight surface fields stay unnamed (038e1179, e9aaa040, 2bb71aae, 6a368a1f, 30250c4c, 610cee1b, 7be02d72, 1e8b9429); albedo0Hash, material2Hash and detailMaps0Hash match none of them.
  • Names only. vehcolour.rs still reads only the first range record; using material1Hash / albedo1Hash for layer 1 is not part of this change.
**@⁠holdmysocks** on GitHub · 2026-11-24 01:07 UTC · [original](https://github.com/holdmysocks/SixNG/pull/98) `holdmysocks:claude/surface-field-names` → `master` · +11 −1 · 1 files · 1 commits · merged 2026-11-24 01:13 UTC Adds four case-sensitive field names of the vehicle surface struct `9e4de959` to the built-in name list. | hash | name | what the value names | |---|---|---| | 2cc72f7c | `material0Hash` | a range record `307f162c` (metal / roughness low and high) | | 174770cc | `material1Hash` | a second range record `307f162c` | | 5cffe5e0 | `albedo1Hash` | a colour record `f1379639` | | 6c3ddabc | `detailMapsHash` | a detail set `cf980e6f` | ## What was checked - One- to three-word camelCase joaat search over material words ending in `Hash`, against 11 unnamed surface field hashes; these are the only hits up to three words, and each fits the record type its values name (checked over all 757 surfaces of the library). - The numbering fits the two-layer vehicle shader: material 0 is layer 0, material 1 is layer 1 with its own colour record. In 701 of 756 surfaces material 1 is rougher than or equal to material 0. - `cargo test -p sixng-core`: 144 passed; new assertions in `names::tests::known_hashes`. ## Not decoded - Eight surface fields stay unnamed (038e1179, e9aaa040, 2bb71aae, 6a368a1f, 30250c4c, 610cee1b, 7be02d72, 1e8b9429); `albedo0Hash`, `material2Hash` and `detailMaps0Hash` match none of them. - Names only. `vehcolour.rs` still reads only the first range record; using `material1Hash` / `albedo1Hash` for layer 1 is not part of this change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:09:38 +00:00
github manually merged commit db76cc633d into gh-pr/98/base 2026-11-26 20:09:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.