Open, edit and save the files of Rockstar's RAGE games.
One editor, one command line, one Rust library.
Download Β· Quick start Β· GTA VI mods Β· Games Β· Formats Β· Programs Β· Good to know Β· Build Β· Docs
- Browse a game as one file tree. Archives are folders.
- Open a model, a texture, an animation, an effect, a map, a sound. See it in a 3D viewport.
- Change it and save it, without touching the game's own files.
- Build a mod: clothing, peds, weapons, maps, effects, as a server resource, a DLC pack or an
.oiv. - Play with mods in GTA VI: a mod loader serves loose files from a
modsfolder, with no archive rewritten. - Automate it from a script, another program, an AI agent or a plugin.
Works with GTA V (Legacy and Enhanced), GTA VI (Xbox Series and PlayStation 5 builds) and, for archives, Red Dead Redemption 2.
Get the package for your system from the latest release.
| System | Package |
|---|---|
| Windows x64 | .zip: unzip, run openrage.exe |
| Linux x86-64 | .tar.gz or .deb |
| macOS | .dmg (unsigned: macOS asks before the first open) |
- Nothing else to install.
- You need a game you own. OpenRage ships no game file.
- Each package has a
.sha256checksum beside it.
- Open a game. The start page lists the installs it found. Add a game folder⦠takes any other.
- Open a file. Double-click it in the tree.
- Edit and save. If the file is in one of the game's own archives, OpenRage offers to copy that archive into the
modsfolder first (how). - Make your own content. Start a project (Workbench guide, also under Help).
GTA VI? OpenRage reads the keys from your own executable (
game_scarlett_master.exeoreboot.bin). The modding guide has the steps.
Drop a folder into mods, start the game, play. The game's archives are never rewritten, so removing a mod is deleting its folder.
- What it is.
or_loader.dll, loaded into the game by the emulator. When the game asks its archives for a file a mod holds, the loader answers with the mod's file. - What a mod is. A folder under
<game>\mods, laid out as the game names its files:mods\<mod>\data\<device>\<path>. A file atmods\my-mod\data\platform\packs\base\data\metapeds.zmtanswersplatform:/packs/base/data/metapeds.zmt. - Several mods. They load in folder-name order and the last to hold a path wins it. Rename a folder to end in
.disabledto park it. - Any size. A mod's file does not have to keep the length of the file it replaces.
- Other builds. The loader finds the game's file device by the shape of its functions, and patches nothing on a build it does not recognise: the log says so.
Install (Xbox Series build under victory):
- Get
openrage-mod-loader-<version>-windows-x64.zipfrom the latest release and unzip it. (From source:cargo build -p or-loader --release.) - Copy
or_loader.dllto%LOCALAPPDATA%\victory\mods. A victory build with a mods folder loads every DLL there. If yours has none yet,install-gta6-mod-loader.ps1 -Victory <your victory clone>from the same zip adds it to your clone, rebuilds victory and copies the DLL; or start the game and runopenrage-loader.exe. - Start the game.
%LOCALAPPDATA%\victory\mods\oml.lognames the mods it found and every file it served.
What it serves today: the data files the game opens by name, which is where peds, outfits, tuning and tables live. Models and textures are streamed another way and are not served yet.
Making a mod, the tools that write one and the limits are in the GTA VI modding guide.
β works Β· π‘ in part Β· β not yet
| GTA V Legacy | GTA V Enhanced | GTA VI | Red Dead Redemption 2 | |
|---|---|---|---|---|
| Browse the install and its archives | β | β | β | β |
| Open and view files | β | β | β | β |
| Edit and save files | β | β | π‘ | β |
| Decompile scripts | β | β | β | β |
| Viewport lit by the game's own shaders | β | β | π‘ | β |
| Fly through the world | π‘ | π‘ | β | β |
| Edit saves | β | β | π‘ | β |
- GTA V. Both editions, fully. The world is drawn in a plain pass, with none of the game's shaders yet.
- GTA VI. Both console builds read the same. Edits are narrow, and no file OpenRage wrote has been tried in the game. Game shaders are for the Xbox Series build only.
- Red Dead Redemption 2. Archives only, for now.
- Older games.
or-ioreads and writes the archives of GTA III to GTA IV, Max Payne 3, Red Dead Redemption and others. Nothing inside them.
Click a game to open its table.
#is the platform letter..#tdmeans.ytdon PC,.ztdon Xbox Series,.ptdon PlayStation 5.
GTA V β Legacy and Enhanced
| Kind | Files | Read | Write | In the editor |
|---|---|---|---|---|
| Models | .#dr .#dd .#ft |
β | β | viewport, materials, skeleton, glTF out and back |
| Textures | .#td .dds |
β | β | mips, export, replace, BCn encoding |
| Particle effects | .#pt |
β | β | simulated preview, timeline |
| Animation | .#cd |
β | β | clips played on a skeleton |
| Animation data | .#ed .#fd .#pdb .mrf |
β | β | outline; a .mrf's state machines |
| Collision and cloth | .#bn .#bd .#ld |
β | β | outline; .#bn and .#ld in the viewport |
| Navigation and paths | .#nv .#nd .#vr .#wr |
β | β | a navmesh in the viewport |
| Maps | .#map .#typ |
β | β | metadata editor, Map and World workspaces |
| Water | water.xml water_*.xml |
β | β | no view yet; openrage-cli convert |
| World tables | heightmap*.dat waterheight.dat worldblanket.dat navprecalc.dat distantlights*.dat |
β | β | grids as images, lights as a list |
| Metadata | .#mt .#mf .pso .meta .cut .srl |
β | β | metadata editor |
| Text and tables | .gxt2 .nametable *_cache_y.dat metadata.dat audioworldsectorsinfo.dat |
β | β | text, or a table |
| Audio | .awc .rel .datNN |
β | β | play, export to WAV, replace from WAV; a .rel is listed read-only |
| Interface movies | .gfx |
β | β | tags and imports; SWF out and back |
| Archives | .rpf |
β | β | browse, extract, replace, create, defragment |
| Video | .bik |
β | β | plays with its sound |
| Scripts | .#sc |
β | β | decompiled source, disassembly |
| Shaders | .fxc, Enhanced's sga container |
β | β | a .fxc's outline |
| Other | .hdr ptxclipregions.dat materials.dat |
β | β |
- Any other file opens as text, or read-only as bytes.
.#dr.#dd.#ft.#td.#ptdiffer between Legacy and Enhanced. Both layouts read and write.- More detail: File_Support.md.
GTA VI β Xbox Series X|S and PlayStation 5
| Kind | In the tree | Read | Write | In the editor |
|---|---|---|---|---|
| Archives | .rpf (RPF9) |
β | a patched copy | Files tree, Extract, Save asβ¦ |
| Textures | .ttpf packs, .#td |
β | replace, resize, re-encode | Texture workspace |
| Models | .#dr .#ft .#dd |
β | materials, bones, geometry from glTF | viewport, glTF out |
| Collision | .#bn |
β | vertices, masses, materials | viewport, outline |
| Navigation | .#nv |
β | flags; disable or delete a polygon | navmesh in the viewport |
| Maps | .#map .#typ |
β | move, turn, scale, retype an entity | World workspace |
| Animation | .#cd, expressions |
β | keys, rate, name, tracks | Animation workspace |
| Cloth and hair | .#ld |
β | β | viewport |
| Metadata | PSO, RBM, RBF, XML | β | values | metadata editor |
| Text tables | .#ldb |
β | texts | text |
| Audio | AWC | β | replace a stream from WAV | play, export as Ogg Opus |
| Video | Bink | β | β | plays with its sound |
| Scripts | .#sc |
β | a number a program pushes | decompiled source, Go to definition, Find references |
| Shaders | shader packs | Xbox only | β | used by the Shaded viewport |
| Weapons | a carrier and its parts | β | β | drawn assembled |
| Saves | a story save, a settings record | β | values | outline editor |
- Keys. Archives open with the keys of your own executable. Without them, an archive is only scanned.
- Saving. Every write goes to a new file. An edit that fits the body it replaces saves as a patched copy, which keeps the game's signed table. Anything else rebuilds the table, and the game refuses it (what fits).
- Not tried in the game. No file OpenRage wrote for GTA VI has been run in the game.
- Saves. A plain save and a settings record are edited. A console story save is opened, edited and written by
openrage-cli gta6-save, and by the app once the GTA VI install folder is set: its file0opens as the story it holds, and a save writes files0and1back. - PlayStation 5. Reads like Xbox. Only a 2D texture of a pack can be replaced, and its shader packs are refused (the differences).
- More detail: GTA_VI_Builds.md, the script decompiler, the world viewer.
Red Dead Redemption 2
| Kind | Read | Write | In the editor |
|---|---|---|---|
| Archives (RPF8) | β | or-io and openrage-cli rpf create |
browse, extract |
| Resource container (RSC8) | or-io only |
β | β |
| Texture dictionaries | or-io only |
β | β |
| Everything else | β | β | text, or bytes |
- The key comes from your own
RDR2.exe. - A model or a texture opened from the tree is refused today.
- More detail: File_Support.md.
Older games β archives only
| Archive | Games |
|---|---|
| RPF0 | Table Tennis |
| RPF2, RPF3, IMG3 | GTA IV |
| RPF3 | Midnight Club: Los Angeles |
| RPF4 | Max Payne 3 |
| RPF6 | Red Dead Redemption |
| IMG1 | GTA III, Vice City |
| IMG2 | San Andreas |
- Read and written by
or-io. Nothing inside them is decoded. - The editor lists none of these games.
- More detail: File_Support.md.
A desktop app with a workspace for each job: files, models, textures, animation, particles, data, projects, the world.
| Viewport | Wireframe, Solid, Material and Shaded. Shaded runs the game's own shaders, baked to a SPIR-V pack, on wgpu: Vulkan, DirectX 12 or Metal (modes). |
| World | A free camera through the active game's world (GTA VI, GTA V). |
| Previews | Particles (how), animation (how), audio and video. |
| Import and export | glTF for models (how), DDS for textures (how), WAV for audio, XML for metadata. |
| Projects | Clothing, peds, weapons, maps and effects, checked and built (guide, DLC packs). |
| Mods | Edits go to the install's mods folder. A panel lists installed mods and their order (details). |
| Plugins | WebAssembly modules that add panels and commands. You approve what each may do (plugins). |
| Languages | English, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish (guide). |
Everything the editor reads and writes, with no window.
openrage-cli rpf list x64a.rpf
openrage-cli texture export vehshare.ytd out/
openrage-cli mesh export police.ydr police.glb
openrage-cli meta to-xml peds.ymt peds.xmlopenrage-cli <command> --help explains a command.
All commands
| To | Commands |
|---|---|
| Look inside | inspect describe search depends names hash hashes formats versions analyse archives bounds channels gaps |
| Convert | convert meta texture mesh awc gfx script navmesh deflate |
| Work on archives | rpf bulk dlc dlc-list |
| Work on GTA VI | keys rpf9 rpf9-diff ttpf model gta6-project gta6-save gta6-mission |
| Build content | project wardrobe addonped weapons maps particles source world |
| Automate | serve mcp photo |
A file opens as an ordinary value. Read a field, assign it, save.
use or_io::gta5::*;
let mut car = GtaDrawable::open("police.ydr")?; // a Legacy drawable
println!("{} {:?}", car.name, car.lod_group.lod_distances);
car.lod_group.lod_distances[0] = 45.0; // plain assignment
car.lod_group.lods[0].models.remove(1); // structural edits are Vec operations
car.save()?; // validated, canonical form- Errors come only at open and at save.
GtaDrawable::<Gen9>is the Enhanced layout.or_io::openpicks the layout from the file.- Not on crates.io yet: depend on it by git. Its API still moves.
- Design: OR_IO_Specification.md. Crate: crates/io/or-io.
- Pre-1.0. Things still move.
- Tested on real files, mostly not in a running game. A saved file reads back the same. That does not prove the game loads it. The acceptance sheet lists what a person checked in game.
- A save is OpenRage's own form of the file, not a byte copy of the shipped one. Saving again gives the same bytes.
- Your game stays untouched. OpenRage downloads nothing and installs nothing on its own.
- Read-only for now: scripts,
.fxcshaders,.bikvideo.
Coming next (roadmap):
- a world editor for GTA V maps (plan)
- one world viewer and editor for every game, drawn with each game's own shaders (plan)
- Red Dead Redemption 2's files
You need the Rust toolchain (rustup picks the pinned nightly), just and cargo install cargo-nextest --locked. On Linux, also ALSA's headers (libasound2-dev).
just build # release build
just dev # run the editor
just self-check # draw every panel, with no window
just ready # the checks before a merge
just test # every test: about twenty minutes- The suite is ordinary Rust tests:
cargo test -p or-ioruns one crate's without nextest. - No game file is in the repository. Tests that need real files skip on a clean clone, and a skip is not a pass (staging a corpus, what a clone lacks).
- Mirror on Radicle:
rad clone rad:zhdibp82Y5a4zqi44zZuJA6mt8tm.
Repository layout
Dependencies run one way: foundation β io β title β domain β runtime β app.
| Layer | Holds | Crates |
|---|---|---|
| app | the editor and the openrage-cli entry point |
src |
| runtime | what is evaluated, simulated or drawn | or-anim, or-renderer, or-simulation |
| domain | what is edited, and what a project builds | or-project, or-source, or-content, or-wardrobe, or-addonped, or-weapons, or-maps, or-particles, or-particle-model, or-world, or-world-gta5, or-world-gta6, or-world-registry, or-depends, or-interchange, or-editor, or-plugin |
| title | a game install: editions, archives, DLC order | or-title |
| io | file formats, archives, media decoders | or-io, or-io-macros, or-io-verify, or-kraken, or-media |
| foundation | building blocks that know no format | or-job, or-transport, or-test-support |
| tools | programs beside the chain | or-cli, or-shader-tool, or-shader-front, xtask |
Crate_Reference.md describes each crate.
Issues and pull requests are welcome.
- Reporting a bug? Give the file's name and where it shipped (game, edition, archive path). Do not attach game files.
- Writing code? Read AGENTS.md and the development workflow.
just readyis the gate. - Adding a format? Follow the format guide.
- Translating? See the languages guide.
- Borrowing from another tool? Check the licence and provenance policy first.
| I want to⦠| Read |
|---|---|
| see every document | docs/ |
| know what a file kind supports | File_Support.md |
| make clothing or another mod | Workbench guide |
| mod GTA VI | GTA VI modding guide, GTA_VI_Builds.md |
| check a mod in the game | acceptance sheet |
| drive OpenRage from a program | CLI server protocol, MCP server |
| write a plugin | Plugin ABI, plugins/ |
| see what is planned | Roadmap |
RAGE's binary layout specifications are kept out of the repository (why).
MIT β see LICENSE. Third-party notices: LICENSE-third-party.md.
OpenRage is unofficial. It is not affiliated with, endorsed by, or connected to Rockstar Games or Take-Two Interactive. "Grand Theft Auto" and "Red Dead Redemption" are trademarks of their respective owners. No game assets are distributed with this software; it operates on files the user already owns.
The exception, and where keys come from
crates/io/or-mediais AGPL-3.0-only. It decodes the audio and video. It holds code ported from FFmpeg (LGPL-2.1-or-later) and from NihAV (AGPL-3.0), and a Bink 2 filter derived from RAD's proprietarybink2w64.dllfor interoperability. The editor and the CLI link it, in a release's packages too, and what that asks of them is not reviewed yet (policy).- BCPack. The decoder of BCPack texture bodies is ported from bcpack-rs by Ahmet Dedeler.
- Keys. OpenRage extracts the keys it can from the user's own game executable. The rest come from the key snapshots OpenRage bundles, CodeWalker's for GTA V among them, or from one the user supplies. A bundled snapshot is encrypted under a key taken from the user's executable, so it opens nothing without the game.
