RageKit

What is a YTD file and how do you open one?

A .ytd file is a GTA V texture dictionary: a set of textures, each with a compression format and mipmaps, that models' shaders look up by name. RageKit opens a .ytd in a texture viewer, exports its textures as PNG or DDS, replaces a texture from a PNG or DDS file, and its texture tools resize and recompress whole folders of them.

.ytd · texture dictionary · Reviewed

No installer is published yet.
RPF Explorer
RageKit's RPF Explorer with an archive tree on the left, a file list and a texture preview

What's inside a .ytd file

  • Named textures: diffuse, normal and specular maps, liveries, signs and so on.
  • Each texture's size, block compression format (BC1, BC3, BC5, BC7 or uncompressed) and mipmaps.
  • Vehicles have a second, high-detail dictionary named <name>+hi.ytd.

How to open a .ytd file

  1. Open where the file is

    In the RPF Explorer choose Open GTA V to browse the game's archives, Open RPF… (Ctrl+O) for a single archive, or Open folder… for loose files such as a FiveM resource. Dropping an .rpf or a folder onto the window opens it too.

  2. Select the .ytd

    The Textures view lists every texture with its size and format. Channel toggles show red, green, blue and alpha on their own, and the mip list shows each mipmap.

  3. Export the textures

    Choose Export this file. Converted writes each texture as .dds and .png.

  4. Replace a texture

    Replace a texture from a DDS or PNG file, then save. Game files are read-only. To change one, choose Copy to mods first: the archive is copied into the mods/ folder and the original stays as it was.

What RageKit does with .ytd files

  • View every texture with channel toggles and its mipmaps
  • Export textures as DDS and PNG
  • Replace a texture from a DDS or PNG file
  • Resize, recompress (BC1 to BC7) and rebuild mipmaps for every .ytd below a folder with the texture tools
  • Build a .ytd from a folder of images

Tools that read and write .ytd

RageKit tools that handle .ytd files
ToolRageKitNotes
RPF ExplorerReads and writesTexture dictionaries; export to DDS and PNG, replace from DDS or PNG
Vehicle StudioReads and writesTextures; liveries are written into the .ytd
Clothing StudioReads and writesTexture variants
Find Usages and hash lookupReadsModels and the textures their shaders use
Model ImportWritesTexture dictionary, BC1 / BC3 / BC5 / BC7 or uncompressed
World ViewerReadsModels and textures rendered in 3D
Map StudioReads and writesYour textures and generated LOD atlases
Weapon StudioReadsWeapon model and textures
Tattoo & Overlay StudioWritesOne per tattoo

Questions

What program opens YTD files?

RageKit's RPF Explorer opens .ytd files in a texture viewer, inside a game archive or loose in a folder. It's free for Windows.

How do I convert a YTD to PNG?

Select the .ytd, choose Export this file and pick Converted. Each texture is written as a .png and a .dds.

How do I edit a texture in a YTD?

Export it as PNG, edit it in an image editor, then replace the texture in the .ytd from your PNG. See Replace textures in a YTD.

Which compression should a texture use?

BC1 (DXT1) for textures without alpha, BC3 (DXT5) for textures with alpha, BC5 for normal maps and BC7 for higher-quality colour.

Guides

Open .ytd files with RageKit

Free download for Windows 10 and 11. No account needed for the free tools.

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