A desktop tool to explore RPF9 archives, the asset format of games built on Rockstar's RAGE engine: open, view and extract their assets, with the goal of editing and repacking them as mods. Written in Rust, with a GPUI interface.
An independent project, not affiliated with Rockstar Games or Take-Two. No game files are distributed here: Chomp only reads the game folder you choose.
- RPF9 archives: reads the index of plain archives and of nested ones (up to 6 levels), on demand, without loading files tens of GB in size.
- Browser: shows the archive tree and searches by name, type and format, with filters and counts that follow the filter.
- Viewers:
- textures (texture dictionaries: RDNA2 detiling and BC1–BC7, RGBA8, R16), with PNG export;
- Bink 2 videos and AWC audio;
- heightmaps (PAMH) and PSO metadata;
- text and hex for everything else.
- Relations between files: where each entry is used and what it uses, from the hashes the game's metadata cites.
- Platform and version: read from the manifest that ships with the game; the platform comes from
MicrosoftGame.config,sce_sys/param.jsonor the executable. - Extraction: saves any entry's contents as a file.
- Archives with an encrypted index: Chomp does not decrypt indexes. For those archives it uses plain indexes you provide in
%LOCALAPPDATA%\chomp\toc(or in the folders listed inCHOMP_TOC). Without them, the archives show as "no index". - Names: most entries only have their name's hash. Names that appear in the game's text are recovered and cached in
%LOCALAPPDATA%\chomp\names. - Editing and repacking (mods as layers) and a live link to the game: planned, see ARCHITECTURE.md.
Requires Rust 1.85 or newer (edition 2024). On Windows:
cargo build --releaseThe executable is target\release\chomp.exe. On first launch, pick the game folder (the one with common.rpf and levels.rpf).
Tests:
cargo testEverything Chomp generates lives in %LOCALAPPDATA%\chomp, never in the game folder or the repository:
| File | What it is |
|---|---|
settings.txt |
the game folder, the extraction folder, the panel widths and the interface language |
toc\ |
plain indexes you provide |
names\ |
names recovered from the game's text |
refs.bin |
cache of the relations between files |
MIT or Apache-2.0, at your option (LICENSE-MIT, LICENSE-APACHE).
