RageKit

GTA V file formats explained: RPF, YDR, YTD, YFT and YMAP

GTA V keeps its files in RPF archives. Inside, models are drawables (.ydr), drawable dictionaries (.ydd, used for clothing) and fragments (.yft, used for vehicles); textures are in texture dictionaries (.ytd); collision is in .ybn. A .ytyp defines archetypes (what an object is), and a .ymap places them in the world. Data such as handling and vehicles is in .meta XML files.

Updated

Steps

  1. Archives

    .rpf files are archives. They can contain folders and other .rpf files, and can be encrypted (OPEN, AES or NG).

  2. Models

    A .ydr is one model, a .ydd is a set of models (ped clothing and heads), and a .yft is a fragment with physics (vehicles and breakable objects).

  3. Textures

    A .ytd holds the textures a model's shaders use, with their compression and mipmaps.

  4. Collision

    A .ybn holds static collision: what the player and vehicles can touch.

  5. Archetypes

    A .ytyp defines archetypes: a model name, its texture dictionary, bounds, flags and, for interiors, rooms and portals.

  6. Placements

    A .ymap places entities of those archetypes in the world, with position, rotation and LOD distance, plus car generators.

  7. Data

    .meta and .xml files hold data such as handling.meta and vehicles.meta; .ymt is a binary metadata file.

RageKit's RPF Explorer with an archive tree on the left, a file list and a texture preview

How a prop gets into the world

The .ymap places an entity and names its archetype. The .ytyp says which drawable and texture dictionary that archetype uses. The game streams the .ydr and .ytd, and the .ybn gives it collision.

Find Usages follows the same chain in both directions: from a model to every ymap that places it, or from a ymap to every file it needs.

Questions

How do I open RPF files?

Open them in the RPF Explorer. Archives inside archives open like folders.

Where's the full list of formats?

See the GTA V modding glossary, with every format and term on one page.

Tools in this guide

Get RageKit

Free for Windows 10 and 11. No account needed.

There's no Windows installer on the latest release yet. Check the changelog for when it lands.