Expand joaat hash dictionary #2

Closed
opened 2026-11-26 20:55:39 +00:00 by github-bot · 1 comment
Owner

@⁠nineforge0 on GitHub · 2026-11-24 07:34 UTC · original

forge9 hash and forge9 psin --structs resolve joaat hashes to names through src/rpf9/hashes.rs (built-in names plus --dict files with hexhash name lines). More known names make PSIN output far more readable.

Scope

  • Add well-known, publicly documented names (struct/member/enum names from the engine's metadata, common file and archive names) to the built-in dictionary, or ship a dict/ text file loaded by default.
  • Keep entries sorted and deduplicated; one hexhash name per line if you add a file.
  • Only names you can verify with forge9 hash <name>; no bulk dumps of unknown provenance.

Done when

  • The existing dictionary test still passes and a test checks a few of the new entries.
  • PR description says where the names come from.

See CONTRIBUTING.md for build, test and style notes. Please don't attach game files to the PR; build test data in memory.

**@⁠nineforge0** on GitHub · 2026-11-24 07:34 UTC · [original](https://github.com/nineforge0/forge9/issues/2) `forge9 hash` and `forge9 psin --structs` resolve joaat hashes to names through `src/rpf9/hashes.rs` (built-in names plus `--dict` files with `hexhash name` lines). More known names make PSIN output far more readable. **Scope** - Add well-known, publicly documented names (struct/member/enum names from the engine's metadata, common file and archive names) to the built-in dictionary, or ship a `dict/` text file loaded by default. - Keep entries sorted and deduplicated; one `hexhash name` per line if you add a file. - Only names you can verify with `forge9 hash <name>`; no bulk dumps of unknown provenance. **Done when** - The existing dictionary test still passes and a test checks a few of the new entries. - PR description says where the names come from. See [CONTRIBUTING.md](https://github.com/nineforge0/forge9/blob/main/CONTRIBUTING.md) for build, test and style notes. Please don't attach game files to the PR; build test data in memory.
github-bot 2026-11-26 20:55:39 +00:00
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:39 +00:00
Author
Owner

@⁠nineforge0 on GitHub · 2026-11-24 21:54 UTC · original · edited 2026-11-24 23:07 UTC

Added forge9 harvest: it names unknown PSIN schema hashes from identifier strings found in the given archives and prints hash name lines for --dict. Nothing is added to the built-in list, so no game data lands in the repo.

Landed in 8defb65.

**@⁠nineforge0** on GitHub · 2026-11-24 21:54 UTC · [original](https://github.com/nineforge0/forge9/issues/2#issuecomment-7145556225) · edited 2026-11-24 23:07 UTC Added `forge9 harvest`: it names unknown PSIN schema hashes from identifier strings found in the given archives and prints `hash name` lines for `--dict`. Nothing is added to the built-in list, so no game data lands in the repo. Landed in 8defb65.
This discussion has been locked. Commenting is limited to contributors.
No description provided.