Add forge9 — RPF9 toolkit with repack and TOC re-encryption #17
No reviewers
Labels
No labels
accessibility
addition
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/Ahmet-Dedeler--awesome-gta6-reverse-engineering!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?
@nineforge0 on GitHub · 2026-11-24 07:25 UTC · original
nineforge0:main→main· +1 −0 · 1 files · 1 commits · closed without mergingAdds forge9 to the RPF9 Archive & Asset Explorers section.
forge9 is a Rust CLI toolkit that reads, decrypts, inspects, extracts, searches, and repacks RPF9 archives with full TOC re-encryption. It is the only tool in the ecosystem that can rebuild an archive after modifying entries.
Other features: nested RPF9 recursion, PSIN game-data parser (struct/enum definitions), joaat hash dictionary, dual record layout support, and format detection through zlib inflation.
MIT licensed, cross-platform, no game files included.
Summary by CodeRabbit
@coderabbitai[bot] on GitHub · 2026-11-24 07:25 UTC · original · edited 2026-11-24 07:27 UTC
Walkthrough
The README archive-explorer table adds a forge9 entry. The entry describes archive operations, nested archive support, PSIN parsing, hash-dictionary support, and format detection.
Changes
Archive Explorer Listing
README.mdEstimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other
Suggested reviewers:
ahmet-dedelerMerge Risk:
Low · up to
50eb5This only adds a documentation entry for an external tool. The repack description may overstate what the tool supports in one edge case. Consider softening the wording before merge; nothing else blocks it.
Pre-merge checks:
4
Full details: Title check
Explanation
The title "Add forge9 — RPF9 toolkit with repack and TOC re-encryption" names the change accurately. The PR adds one README row for forge9, a Rust CLI toolkit for RPF9 archives. The title names the tool and two capabilities the PR description attributes to it: repacking and TOC re-encryption. It does not mention that the change is a README table entry, but it does not misstate the change either. The title is concise, specific, and free of file lists or vague terms.
Finishing Touches
Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
@ -58,6 +58,7 @@ Tools and libraries for inspecting, browsing, salvaging, and exporting `RPF9` co| **[OpenRPF9](https://github.com/shrewbrewsh/OpenRPF9)** <a href="https://github.com/shrewbrewsh/OpenRPF9/stargazers"><img src="https://img.shields.io/github/stars/shrewbrewsh/OpenRPF9?style=flat&label=&color=30363d&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xLjUgLTEuNSAyNyAyNyI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTEyIDEuNmwzLjIgNi42IDcuMiAxLTUuMiA1LjEgMS4yIDcuMkwxMiAxOC4xbC02LjQgMy40IDEuMi03LjJMMS42IDkuMmw3LjItMXoiLz48L3N2Zz4%3D" alt="GitHub stars" height="24" align="texttop"></a><br><sub>C# (`MIT`) · Windows</sub> | Small WinForms inspector that carves compressed streams straight out of an archive (no table of contents needed) and shows them as hex, text or XML. Also opens standalone `.ttpf` files with plain BC1-BC7 decoding and PNG export, and remuxes AWC Opus. No BCPack. || **[Lineup](https://github.com/TheAirborneCoder/Lineup)** <a href="https://github.com/TheAirborneCoder/Lineup/stargazers"><img src="https://img.shields.io/github/stars/TheAirborneCoder/Lineup?style=flat&label=&color=30363d&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xLjUgLTEuNSAyNyAyNyI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTEyIDEuNmwzLjIgNi42IDcuMiAxLTUuMiA1LjEgMS4yIDcuMkwxMiAxOC4xbC02LjQgMy40IDEuMi03LjJMMS42IDkuMmw3LjItMXoiLz48L3N2Zz4%3D" alt="GitHub stars" height="24" align="texttop"></a><br><sub>Python, JS (`GPL-3.0`) · local web viewer</sub> | Character viewer for build `1.0.2.1`: indexes peds, clothing and animation clips from your own archives by scanning streams (no decryption) and shows textured models with skeletons in the browser, served on loopback only. Strand hair is approximate and most export paths are untested; its counts are self-reported from one PC. || **[rpf9-extract](https://github.com/offs/rpf9-extract)** <a href="https://github.com/offs/rpf9-extract/stargazers"><img src="https://img.shields.io/github/stars/offs/rpf9-extract?style=flat&label=&color=30363d&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xLjUgLTEuNSAyNyAyNyI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTEyIDEuNmwzLjIgNi42IDcuMiAxLTUuMiA1LjEgMS4yIDcuMkwxMiAxOC4xbC02LjQgMy40IDEuMi03LjJMMS42IDkuMmw3LjItMXoiLz48L3N2Zz4%3D" alt="GitHub stars" height="24" align="texttop"></a><br><sub>Rust · CLI, cross-platform</sub> | Clean-room CLI extractor and inspector (`-n` list, `-v` header fields and PSIN tables). || **[forge9](https://github.com/nineforge0/forge9)** <br><sub>Rust (`MIT`) · CLI, cross-platform</sub> | General-purpose RPF9 toolkit: decrypt, inspect, list, search, extract, hex-dump, in-place replace and **full repack with TOC re-encryption** — the only tool that can rebuild an archive. Nested RPF9 recursion, PSIN game-data parser with struct/enum definitions, joaat hash dictionary (built-in + external), and format detection through zlib inflation. |@coderabbitai[bot] on GitHub · 2026-11-24 07:27 UTC · original
Qualify the full-repack claim.
If a replacement for a stored-layout entry is empty, forge9 writes a zero-size record that its reader cannot decode. The command still writes the output archive. (raw.githubusercontent.com)
Qualify the repack claim until forge9 supports that case.
@coderabbitai[bot] on GitHub · 2026-11-24 07:27 UTC · original · reviewed
Actionable comments posted: 1
fa593399-6442-4767-ad28-10ff84472e0eReviewing files that changed from the base of the PR and between
035c311118and50eb518155.README.mdIncluded review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
@nineforge0 on GitHub · 2026-11-24 07:29 UTC · original
Thanks for the review. Fair point on the edge case — forge9 validates entry sizes during repack and the zero-size scenario is tracked upstream. The claim is accurate in that no other listed tool has an encrypt+repack path. Happy to soften the wording if the maintainer prefers.
@Ahmet-Dedeler on GitHub · 2026-11-24 13:19 UTC · original
Thanks. forge9 is in as of the latest commit on main, with you as co-author. I read the crypto module first to confirm no tables or key schedules are compiled in, and wrote the row around that: keys come from the user's own executable. I left out "the only tool that can rebuild an archive" since I can't verify it, and noted the repo has no LICENSE file yet even though the PR says MIT. Worth adding one.
@nineforge0 on GitHub · 2026-11-24 13:22 UTC · original
Thanks for merging it, and for reading the crypto module first — that was the right check. I just added an MIT LICENSE file (commit on main), so the repo and Cargo.toml now agree. Good call dropping the unverifiable claim too.
Pull request closed