Tools & Code Exports
Foundation
Red Dead Redemption 2

Red Dead Redemption 2
Rockstar Studios • Released Oct 26, 2018 • Rated M (Mature 17+)
A valid, installed copy of the game is the essential foundation for all reverse-engineering work. Asset extraction, texture dumps, and compiled script analysis all require access to the game files on disk.
PC Stores
Console Stores
Key Shops & Price Comparison
Single-Player Trainers & Mod Scripts
Asset Exploration & Viewing Tools
OpenIV
OpenIV is the classic archive explorer and asset modification tool for Rockstar's RAGE engine. It lets you browse and manage proprietary .rpf archive files — the packed containers that hold all game textures, models, scripts, and data. You can extract raw texture files (.ytd), preview 3D drawable models (.ydr, .ydd), inspect metadata and file hierarchies, and replace assets directly for modding.
It supports GTA IV, GTA V, Max Payne 3, and RDR2. OpenIV also introduced the .oiv package format for distributing mods safely, and the “mods folder” approach that keeps vanilla game files untouched. Development was officially halted in Summer 2021. It remains fully functional for existing game builds but receives no further updates.
CodeX
CodeX is a 3D map exploration and research suite built specifically for Red Dead Redemption 2, developed by dexyfex — who also created GTA V's popular CodeWalker tool. CodeX provides an interactive free-roam camera that lets you fly through the entire RDR2 game world, click on any object, prop, or entity to inspect its metadata, file hash, coordinates, and asset references.
Key features include a full 3D model viewer with rotation and zoom, a hash resolution engine that maps cryptic asset hashes to human-readable names, an interactive world map with searchable points of interest, and coordinate extraction tools used by RedM modders for custom props and MLOs. It integrates with Blender (via Sollumz) for a full mod creation pipeline.
CodeX is distributed exclusively through dexyfex's Patreon. A minimum subscription of €4.50 + VAT per month is required to access builds. Updates, support, and the latest releases are posted in the Patreon-linked Discord server.
CodeX Installation Tutorial
OpenIV vs CodeX — Feature Comparison
| Feature | OpenIV | CodeX |
|---|---|---|
| Primary Purpose | Archive explorer & asset modifier for .rpf files | 3D map explorer, asset viewer & coordinate research suite |
| Pricing | Free | Paid — Patreon subscription (min €4.50 + VAT/mo) |
| Platform Support | Windows only (no macOS / Linux) | |
| Source Availability | Closed Source | |
| Development Status | Inactive — halted Summer 2021 | Active — regular updates for Patreon supporters |
| Supported Games | GTA IV, GTA V, Max Payne 3, RDR2 | RDR2 / RedM focused |
| Archive Browsing (.rpf) | Yes — full read/write/extract/rebuild | Read-only viewing |
| 3D Model Preview | Basic static preview (.ydr, .ydd) | Full interactive 3D viewer with rotation & zoom |
| Interactive 3D Map | No | Yes — free-roam camera, click-to-inspect any world object |
| Texture Viewing (.ytd) | Yes — view, export, replace textures | Yes — view and inspect texture metadata |
| Hash / Metadata Inspector | Basic file metadata | Full hash viewer with asset name resolution & coordinates |
| Mod Editing / Packaging | Yes — .oiv mod packages, safe mods folder | No — research & viewing tool only |
Decompiled Game Scripts & Code Exports
Primary Script Dumps & Raw Code Exports
- Halen84 / RDR3-Decompiled-ScriptsHigh-fidelity script dump, actively maintained.
- pyouneetm / RDR2-Decompiled-ScriptsAlternative dump, often cited in mystery research.
- kepmehz / RDR3-Decompiled-ScriptsA branch per game build (e.g. 1355, 1436).
- JayKoZa / RDR2-Decompiled-ScriptsThe classic dump of raw .c script files.