GTA V

Legacy (GTA5.exe) and Enhanced (GTA5_Enhanced.exe) on Steam and other stores. GTA V is the game OpenRAGE supports best: most of this documentation is about it. Changes go into OpenIV's mods folder and can be undone.

Documentation · GTA V

Setup

On first start, choose the game folder in the setup dialog and click Derive keys; for GTA V Legacy that is usually all. GTA V Enhanced and some Legacy updates also need CodeWalker's key blob (magic.dat), which the dialog can download for you. Step by step: Getting started.

On the command line:

# Legacy
openrage --game "/path/to/Grand Theft Auto V" keys
# Enhanced: also downloads CodeWalker's magic.dat
openrage --game "/path/to/GTA V Enhanced" keys --download-magic

openrage ls x64a.rpf/data

Legacy and Enhanced

Both editions use RPF7 archives and the same mods folder. Where they differ:

GTA V LegacyGTA V Enhanced
ExecutableGTA5.exeGTA5_Enhanced.exe
Keysfrom the executable; some updates also need magic.datfrom the executable and magic.dat
TexturesDirect3D 9 formats (DXT1/3/5, …), resource version 13DXGI formats incl. BC7, resource version 5
AudioPCM and IMA ADPCMMPEG audio
ASI loaderdinput8.dllxinput1_4.dll (Script Hook V for Enhanced)
Model import (OBJ)not yetpreview

At a glance

WhatFilesStatusMore
Archives.rpf (RPF7), nested ones toobrowse, extract and changeExplorer, Editing archives
Searchnames, hashes, full textthe whole game in millisecondsSearch
Textures.ytd, inside modelsview, export DDS/PNG/openFormats; replace, add and removeTextures
Models.ydr, .yft, .yddview complete vehicles and peds, export glTF and openFormats; OBJ import (Enhanced, preview)Models, Modding
Animations.ycdplay on peds, vehicles and propsAnimations
Audio.awcplay, export WAVAudio
Audio data.relentries with their type; common sound types decodedAudio data
Metadata.ymap, .ytyp, .ymt, .ymf, .pso, .metaview as XML; PSO edits in .oiv packagesMetadata
Maps.ymap, the whole worldobjects in 3D, export glTF; fly through the map of the gameMaps
Cutscenes.cutplay the whole scene through the cutscene cameraCutscenes
Collisions, paths, nav meshes.ybn, .ynd, .yvr, .ywr, .ynvview in 3D; collisions export glTF and import from OBJ (Enhanced)Collisions
Particles.ypteffects, emitters, models and texturesParticles
Scripts.yscread the disassemblyScripts
Scaleform and videos.gfx, .bikdetails, SWF export, play in your video playerScaleform movies and videos
Game text.gxt2, .nametableview and edit as text, losslessText tables

Modding

  • Edit mode: OpenRAGE starts read-only; Read-only → Editing unlocks changes. Changed archives are copied to mods once and then edited in place, so your game files stay untouched. See Modding.
  • OpenIV packages: .oiv packages of format 2.x install with a preview of every change and can be uninstalled from History. See OpenIV packages.
  • ASI mods: Mods → ASI mods… shows the loader, Script Hook V and every .asi, switches them on and off, and on Linux lets Proton load the loader. See ASI mods.
  • Undo: every change can be undone, step by step. See Undo and history.

Mods are for story mode only. GTA Online bans modified games.

Tested on the whole game

Every format is checked against every file of GTA V, with openrage verify (see Verifying against the whole game): every archive entry, texture, model, sound, clip, metadata file, text table, particle dictionary, collision, path file, script, Scaleform movie and video. Writers are checked by writing every file of the game anew and reading it back.