Skip to content

GTA V Legacy and Enhanced

RPFView: GTA V modding tool and RPF editor

Open GTA V's game files like folders, look at textures, 3D models, clothing and weapons, and change what you like. For GTA V Legacy, and GTA V Enhanced as a beta. Free for Windows, in the spirit of OpenIV.

Download for Windows Legacy or Enhanced?

v0.16.0 · 85.6 MB · Windows 10/11 64-bit

  • Free, no account
  • Game files stay untouched
  • Updates itself
  • Windows 10 & 11
RPFView – vehicles.rpf
RPFView main window browsing vehicles.rpf inside x64e.rpf, with the folder tree, the file list and adder.ytd previewed in the texture viewerRPFView main window browsing vehicles.rpf inside x64e.rpf, with the folder tree, the file list and adder.ytd previewed in the texture viewer
  • Vehicles
  • Clothing
  • Weapons
  • Hair
  • Props
  • Liveries
  • Camos
  • Tints
  • Textures
  • 3D models
  • Map data
  • DLC packs
  • FiveM resources
  • Blender export
  • Mods folder

~400,000

game files you can search in an instant

6,128

clothing items for the multiplayer characters, from every DLC pack

124

weapons with their tints, attachments and camos

0

changes to your original game files: edits go to a copy

01Editions

Legacy and Enhanced, one app

RPFView opens both PC editions of GTA V, from Steam, Epic Games or the Rockstar Games Launcher. Choose yours on the first start; File → Switch game changes it later. Both use the same keys, so you set them up once.

GTA V Legacy

Every tool of RPFView works with it, from the archives to the studios and the command line.

Program
GTA5.exe in the game folder
Keys
Worked out once from your own GTA5.exe; RPFView includes no Rockstar keys.
In the game
Edits go to the mods folder; OpenIV.asi loads them.
  • Browse, search, extract and export archives, textures and models.
  • Edit archives, and replace textures in .ytd files.
  • Drawable Studio, Weapon Studio and the Thumbnail Generator, with every item of all DLC packs.

GTA V Enhanced

Beta

The edition released in March 2025. Support is new and not final yet: if something doesn't work, tell us with Help → Send feedback.

Program
GTA5_Enhanced.exe in the game folder
Keys
The same keys as Legacy, from your own copy of the game.
In the game
Edits go to the mods folder; a mods loader such as OpenRPF loads them. Mods don't load? See rpf.cache in GTA V Enhanced.
  • Browse, preview, extract and export its archives, textures and models.
  • Edit its archives, and replace textures in .ytd files (since 0.12.0).
  • The same clothing and weapons as Legacy in Drawable Studio, Weapon Studio and the Thumbnail Generator.
  • In beta: a few files may not show correctly yet.

Tool by tool

What RPFView does with GTA V Legacy and GTA V Enhanced
ToolGTA V LegacyGTA V EnhancedBeta
Browse, search and export archivesYes: .rpf, nested archives tooYes
Edit archivesYes: Into the mods folderYes: Into the mods folder
View and export texturesYes: .ytd, as DDS or PNGYes
Replace texturesYesYes: Since 0.12.0
3D models, export to GLB and OBJYes: .ydr, .ydd, .yft, collisions (.ybn)Yes
Drawable Studio (clothing)Yes: Every item of all DLC packsYes
Weapon StudioYes: Tints, attachments, camosYes
Thumbnail GeneratorYes: Clothing and weapons, named for FiveMYes
Game data as readable textYes: .ymt, .ymap, .ytyp, .meta as XMLYes
Command line (rpfview-cli)YesYes

Not sure which one you have? The Legacy folder holds GTA5.exe, the Enhanced one GTA5_Enhanced.exe. More about Enhanced in the FAQ. Every release is in the changelog.

02File types

The GTA V files it opens

GTA V keeps nearly everything in .rpf archives, and inside them each kind of file has its own extension. These are the ones RPFView opens, and what it does with each.

  • .rpf

Archives

Packed folders, often one inside another, such as x64e.rpf → levels → gta5 → vehicles.rpf. They open like folders; edit them and save.

RPF archive editor
  • .ytd

Texture dictionaries

Each holds several textures, such as those of one car. Save them as PNG or DDS, replace them with your own images, or make them smaller for FiveM.

YTD texture editor
  • .ydr
  • .ydd
  • .yft

Models

.ydr for props and weapons, .ydd for clothing and other sets of models, .yft for vehicles and things that break. Shown in 3D, exported as GLB or OBJ.

GTA V model viewer
  • .ybn

Collisions

The shapes the game uses for collisions, shown in 3D and coloured by material. They export like models.

Models and collisions
  • .ymt
  • .ymap
  • .ytyp
  • .meta

Game data

Clothing lists, map placements, object definitions and settings, shown as readable XML, even the files the game keeps in binary form.

YMT to XML converter
  • .gxt2

Game text

Subtitles, help messages and menu text, shown as “label = text” lines. rpfview-cli text-dump lists all of it in one go.

Command-line reference

03The mods folder

Your edits go to a copy in mods

Editing an archive in the game folder changes your game files. So, as with OpenIV, RPFView offers to copy the archive to the same place inside a mods folder next to the game and edits the copy. The original stays as it came.

Switch on Edit mode

Edit → Edit mode (Ctrl+M). Until then, nothing in an archive can change by accident.

Copy to mods

The first change to an archive of the game asks first. Copy to mods puts a copy at the same path below mods; later edits use it (Edit mods copy).

Undo, then save

Ctrl+Z takes back up to 20 steps until you save with File → Save all (Ctrl+Shift+S).

Edit original changes the game's own archive instead. In Tools → Settings… you can turn off Offer to copy game archives to the "mods" folder before editing, or turn on Keep a backup (.bak) of archives when saving. Step by step: how to replace a texture.

04Mods loaders

What makes the game load your mods

GTA V doesn't read the mods folder on its own: an add-on, the mods loader, makes it load the archives there instead of the originals. Each edition needs its own.

GTA V Legacy

OpenIV.asi

The mods loader of OpenIV. It makes GTA V Legacy load the archives in the mods folder instead of the originals. It doesn't work with Enhanced.

GTA V Enhanced

OpenRPF

A mods loader made for Enhanced that reads the same mods folder; since version 0.2 it skips rpf.cache for the files in it. Mods made for Legacy often need a new version for Enhanced.

RPFView doesn't install a mods loader. It saves archives the way OpenIV does, so these loaders can read them. Mods not showing up in Enhanced? Read rpf.cache in GTA V Enhanced. Mods are for story mode only: modified game files in GTA Online can get your account banned.

05Beyond the archives

Clothing, weapons and FiveM

The studios know every item of the base game and all DLC packs; the Thumbnail Generator and Optimize textures prepare files for FiveM servers.

Drawable Studio

Tools → Drawable Studio: all clothing lists the 6,128 clothing items of the multiplayer characters, numbered the way the game and FiveM number them.

Clothing texture editor

Weapon Studio

All 124 weapons with their tints, attachments, camos and finishes; MK II weapons come with every one of their 32 tints.

GTA V weapon viewer

Thumbnail Generator

Images of clothing and weapons named for FiveM scripts, with the presets FiveM: game numbers and FiveM: collections.

RPFView for FiveM

Optimize textures

FiveM warns that an asset “uses 64.0 MiB of physical memory”? Tools → Optimize textures… makes .ytd files need less graphics memory.

Fix oversized assets

06First start

Set up GTA V once

GTA V's archives are locked. RPFView comes without any Rockstar keys and works them out from your own copy of the game, once for both editions. After that, it just starts.

  1. 1

    Choose GTA V

    Pick GTA V Legacy or GTA V Enhanced on the first start. RPFView finds the game on its own, whether you have it on Steam, Epic Games or the Rockstar Games Launcher.

  2. 2

    Unlock the archives

    Click Download and set up: RPFView downloads magic.dat, a small public file from the CodeWalker project, and works out the keys from your own GTA5.exe or GTA5_Enhanced.exe. Both editions use the same keys.

  3. 3

    Start modding

    Browse, search, preview and export right away. Switch on Edit mode when you want to change something.

Welcome to RPFView
RPFView first-start dialog: the GTA V Legacy folder it found, and the Download and set up button that unlocks the archivesRPFView first-start dialog: the GTA V Legacy folder it found, and the Download and set up button that unlocks the archives

07Guides

Step by step, with the app's own buttons

The most common GTA V jobs, from the first archive to a finished file. Each guide names the buttons and menus exactly as RPFView shows them.

All guides

08FAQ

Questions about GTA V

All frequently asked questions

Mod GTA V, Legacy or Enhanced

One free download for both editions, with your edits kept in the mods folder.

Download for Windows

v0.16.0 · 85.6 MB · Windows 10/11 64-bit

Requires Windows 10 or 11 (64-bit) · GTA V Legacy, GTA V Enhanced (beta), Red Dead Redemption 2 or GTA IV (beta) for PC.