Skip to content
dhannyellPublic

About

Rust RPF9 explorer & extractor — RAGE engine textures, models, audio · D3D11 Bink2 player

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Chomp

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.

Chomp's asset browser: archive tree, filtered results and a texture preview

What it does today

  • 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.json or the executable.
  • Extraction: saves any entry's contents as a file.

What it does not do yet

  • 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 in CHOMP_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.

Building

Requires Rust 1.85 or newer (edition 2024). On Windows:

cargo build --release

The executable is target\release\chomp.exe. On first launch, pick the game folder (the one with common.rpf and levels.rpf).

Tests:

cargo test

User data

Everything 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

License

MIT or Apache-2.0, at your option (LICENSE-MIT, LICENSE-APACHE).

About

Rust RPF9 explorer & extractor — RAGE engine textures, models, audio · D3D11 Bink2 player

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages