Names: 4,114 meta field, struct and enum names from the executable's parser table #399

Manually merged
github merged 3 commits from gh-pr/399/head into gh-pr/399/base 2026-11-26 20:33:22 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 19:11 UTC · original
holdmysocks:claude/exe-field-names → master · +4161 −1 · 2 files · 3 commits · merged 2026-11-26 20:27 UTC

Adds names_exe.txt, a built-in list of 4,114 case-sensitive meta field, struct and enum names. They are loaded with the other derived names, so every tool that prints meta fields shows them.

Each name is the joaat of the name as written, matched against the member and struct hashes of the executable's parser table (the exeschema example from #394). Hashes that the install's own name dictionary already names were left out.

How the names were found and checked:

  • 241 well-known GTA V meta names (map, archetype, MLO, extension and light fields and their classes). Examples: priorityLevel, tintValue, CMloRoomDef, CMloTimeCycleModifier.

  • 1,005 single words, with and without type prefixes (f, b, i, u, m_). A prefix must fit the member's type. A run against random target hashes gave 6 chance hits, compared with 1,034 real ones.

  • 2,472 two-word names, kept only where the member type fits the name ("…Name" a string, "…Scale" a float, "is…" a bool, plurals an array or map). Names with no type clue were left out. That filter keeps 1 in 6 random-type control names, so the expected chance hits among these are about 1%.

  • 102 struct names: single words, or two-word names that share a word with the struct's own members or with members that refer to it. Control: 1 hit, compared with 100 real ones.

  • 401 enum names and values (UPPER_SNAKE) from the enum tables (the enum output builds on #394 and comes in a follow-up PR). The known GTA V names come first (the LOD types, priority levels and asset types, plus their three enum names), then one- and two-word names. A value is kept only where another value of the same enum shares its prefix, and only in enums of up to 256 values. Control: 1 hit, compared with 401 real ones.

About 1% of the list is expected to be chance matches. The file header says so.

Tested: cargo test -p sixng-core --lib names:: passes (11 tests, including a new one that parses the list).

**@⁠holdmysocks** on GitHub · 2026-11-26 19:11 UTC · [original](https://github.com/holdmysocks/SixNG/pull/399) `holdmysocks:claude/exe-field-names` → `master` · +4161 −1 · 2 files · 3 commits · merged 2026-11-26 20:27 UTC Adds `names_exe.txt`, a built-in list of 4,114 case-sensitive meta field, struct and enum names. They are loaded with the other derived names, so every tool that prints meta fields shows them. Each name is the joaat of the name as written, matched against the member and struct hashes of the executable's parser table (the `exeschema` example from #394). Hashes that the install's own name dictionary already names were left out. How the names were found and checked: - **241 well-known GTA V meta names** (map, archetype, MLO, extension and light fields and their classes). Examples: priorityLevel, tintValue, CMloRoomDef, CMloTimeCycleModifier. - **1,005 single words**, with and without type prefixes (f, b, i, u, m_). A prefix must fit the member's type. A run against random target hashes gave 6 chance hits, compared with 1,034 real ones. - **2,472 two-word names**, kept only where the member type fits the name ("…Name" a string, "…Scale" a float, "is…" a bool, plurals an array or map). Names with no type clue were left out. That filter keeps 1 in 6 random-type control names, so the expected chance hits among these are about 1%. - **102 struct names**: single words, or two-word names that share a word with the struct's own members or with members that refer to it. Control: 1 hit, compared with 100 real ones. - **401 enum names and values** (UPPER_SNAKE) from the enum tables (the enum output builds on #394 and comes in a follow-up PR). The known GTA V names come first (the LOD types, priority levels and asset types, plus their three enum names), then one- and two-word names. A value is kept only where another value of the same enum shares its prefix, and only in enums of up to 256 values. Control: 1 hit, compared with 401 real ones. About 1% of the list is expected to be chance matches. The file header says so. Tested: `cargo test -p sixng-core --lib names::` passes (11 tests, including a new one that parses the list).
Case-sensitive joaat search of public GTA V meta names and one- and
two-word combinations against the member and struct hashes read by
exeschema. Two-word names are kept only where the member type fits the
name, or for structs where the name shares a word with the members.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:33:19 +00:00
github manually merged commit e726cd0cba into gh-pr/399/base 2026-11-26 20:33:22 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.