Hash dictionary: 1.36M names from community database #27

Open
opened 2026-11-27 19:04:02 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-27 19:03 UTC · original

Import 1.36M JOAAT hash-name pairs

forge9 ships a base dictionary of 36,952 names (data/codewalker.dict). A new import script pulls 1.32M additional names from the community hash database and merges them into an extended dictionary.

Usage

./examples/import_hashes.sh
# -> data/extended.dict (48MB, 1,357,880 entries)

forge9 --dict data/extended.dict psin script.rpf 1/10 --xml
forge9 --dict data/extended.dict catalog common.rpf

Impact

  • DOM hash resolution: with 36K names, 48/257 unique attribute hashes resolved (19%). With 1.36M names, coverage should jump dramatically.
  • Schema database: ~6,500 unnamed struct hashes and ~1,100 unnamed enum hashes now have a much larger pool to match against.
  • Catalog: entry name recovery improves for every archive.

The extended dict is not committed (48MB); import_hashes.sh regenerates it from the public source. Existing names in the base dict are preserved on conflict.

**@⁠nineforge0** on GitHub · 2026-11-27 19:03 UTC · [original](https://github.com/nineforge0/forge9/issues/27) ## Import 1.36M JOAAT hash-name pairs forge9 ships a base dictionary of 36,952 names (`data/codewalker.dict`). A new import script pulls 1.32M additional names from the [community hash database](https://github.com/NotHGM/gta6-hash-database) and merges them into an extended dictionary. ### Usage ```bash ./examples/import_hashes.sh # -> data/extended.dict (48MB, 1,357,880 entries) forge9 --dict data/extended.dict psin script.rpf 1/10 --xml forge9 --dict data/extended.dict catalog common.rpf ``` ### Impact - **DOM hash resolution**: with 36K names, 48/257 unique attribute hashes resolved (19%). With 1.36M names, coverage should jump dramatically. - **Schema database**: ~6,500 unnamed struct hashes and ~1,100 unnamed enum hashes now have a much larger pool to match against. - **Catalog**: entry name recovery improves for every archive. The extended dict is not committed (48MB); `import_hashes.sh` regenerates it from the public source. Existing names in the base dict are preserved on conflict.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:04:02 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.