Name the map-format structs and nine more fields #17
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!17
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/17/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tarekmania on GitHub · 2026-11-22 21:15 UTC · original
tarekmania:struct-names→master· +55 −6 · 3 files · 1 commits · merged 2026-11-22 21:41 UTCThe struct names are in the format notes since TrinitronClient/GTA6-Asset-Info#39, but meta dumps still print them as hex. This adds them here.
meta7a::struct_name()maps the 16 map-format struct hashes to their names. They're the case-sensitive joaat of the GTA V type names, with::written as__.Meta::object()puts_struct_namenext to_structwhen it knows the name, andMeta::schema()adds anameto those structs._structis still hex, so anything that reads it keeps working.vehicles.rsdrops_struct_namein the same place it drops_struct.I also added nine field names to
DERIVED_EXACT:timeFlags,lightType,handling,slots,options,probability,ParentName,HandlingDataandStateName.Each new hash has a test, and one more checks that
ParentNameresolves throughlookupwithout a dictionary file.cargo test -p sixng-core --lib: 63 passed, 1 ignored.I used Claude to write this and went through the diff myself
@holdmysocks on GitHub · 2026-11-22 21:41 UTC · original
Thanks! Squash-merged into master.