DiscordLog in

About

OpenRPF9

A lightweight Windows tool for inspecting and carving data out of Rockstar RPF9 archives.

How it works

Right now, the RPF9 Table of Contents (TOC) is encrypted, so OpenRPF9 bypasses the directory tree and carves unencrypted payloads directly from the archive:

  • Header check: Reads the first 4 bytes to verify the RPF9 magic (0x52504639 / 9FPR in little-endian).
  • Stream carving: Scans aligned offsets for compressed payloads and inflates them via DeflateStream. Each valid stream is tagged as text or binary based on printable ASCII/UTF-8 bytes.
  • Offset jumping: Once a stream inflates, the scanner jumps past the consumed compressed bytes (ms.Position) and aligns to the next 16-byte boundary so it doesn't pick up false-positive fragments mid-stream.

Features

  • open TTPF files and view textures.
  • a list of carved streams with file offsets, detected type (text / binary) and decompressed sizes.
  • hex dump and live text/XML preview.
  • export individual streams (Export Selected) or dump everything to a folder (Export All Streams).

Building

Requires the .NET SDK (Windows):

dotnet build -c Release

Or run it directly:

dotnet run --project src/OpenRPF9.Gui.WinForms

Contributing

CONTRIBUTORS.md.

Versions

More in Tools

See all