Name 1,328 more enum values from gta6-namehash matches #538

Manually merged
github merged 5 commits from github-bot/gh-538 into gh-pr/538/base 2026-11-28 13:09:50 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-28 05:10 UTC · original
holdmysocks:claude/enum-value-names-5 → master · +1330 −0 · 1 files · 5 commits · merged 2026-11-28 13:03 UTC

Adds 1,328 enum value names to enum_values.txt, which now has 8,273 lines.

Source: exact hash matches between the gta6-namehash dictionary (joaat of public GTA V name lists; already credited in THIRD_PARTY_NOTICES) and the enum values that were still unnamed. Each name is checked with the case-sensitive joaat of the name as written. No game strings are added.

Noise check: the same names against shifted hashes give 4 matches, so about 4 of the ~1,330 raw hits are expected to be chance. I dropped three that don't fit their enum: a hex placeholder name, a prop model name, and a type name used as a value. Most of the rest sit next to already-named values of the same style (for example Slowest/Fastest beside Slow/Fast, GARAGE_*, CPED_CONFIG_FLAG_*, HF_*).

Stacked on #490: this branch includes #490's commits, so the diff shrinks to this batch once #490 is merged.

Tests: cargo test -p sixng-core --lib enum_value.

**@⁠holdmysocks** on GitHub · 2026-11-28 05:10 UTC · [original](https://github.com/holdmysocks/SixNG/pull/538) `holdmysocks:claude/enum-value-names-5` → `master` · +1330 −0 · 1 files · 5 commits · merged 2026-11-28 13:03 UTC Adds 1,328 enum value names to `enum_values.txt`, which now has 8,273 lines. **Source:** exact hash matches between the [gta6-namehash](https://github.com/tarekmania/gta6-namehash) dictionary (joaat of public GTA V name lists; already credited in THIRD_PARTY_NOTICES) and the enum values that were still unnamed. Each name is checked with the case-sensitive joaat of the name as written. No game strings are added. **Noise check:** the same names against shifted hashes give 4 matches, so about 4 of the ~1,330 raw hits are expected to be chance. I dropped three that don't fit their enum: a hex placeholder name, a prop model name, and a type name used as a value. Most of the rest sit next to already-named values of the same style (for example `Slowest`/`Fastest` beside `Slow`/`Fast`, `GARAGE_*`, `CPED_CONFIG_FLAG_*`, `HF_*`). **Stacked on #490:** this branch includes #490's commits, so the diff shrinks to this batch once #490 is merged. **Tests:** `cargo test -p sixng-core --lib enum_value`.
A per-value search takes the prefixes and words of the named values within
20 (or 80) values on either side. One target per run keeps the expected
chance hits at about 0.1 over all runs; a random-hash control run found none.
Mostly INPUT_ control names, plus AT_, CHAIN_, COVFLAG_, VEH_ and VFXGROUP_.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 05:13:31 +00:00
# Conflicts:
#	crates/sixng-core/src/enum_values.txt
github-bot changed target branch from master to gh-pr/538/base 2026-11-28 13:09:47 +00:00
github manually merged commit 95364c0db8 into gh-pr/538/base 2026-11-28 13:09:50 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.