Assets and audio · Vehicle Editor guide

YTD Texture Editor

Preview, search, rename, replace, export, delete, and repack textures inside FiveM YTD archives.

YTD Texture Editor extracts a .ytd into a temporary workspace, displays its textures, and can compile the workspace back over the original YTD.

Open a YTD

  • Select Scanned Vehicle: the application looks for a YTD matching the model name inside the vehicle resource. View Full 3D Model is available through this workflow.
  • Browse raw .YTD: opens a file directly. Full 3D preview is unavailable because the application does not know the associated vehicle context.

After extraction, the left panel lists DDS files and sizes. Names containing _n or nrml are marked as normal maps, while _s or spec are marked as specular textures. Search filters the texture names.

Preview support

Click a texture to inspect its dimensions, format, and mipmap count. Preview supports DXT1, DXT3, DXT5, ATI2/BC5, and uncompressed 24/32-bit DDS. BC5 preview depends on GPU/WebGL support. The checkerboard makes transparent areas visible.

A failed preview does not always mean the file is invalid. A DDS format may be valid for the game but unsupported by the application's renderer.

Rename a texture

  1. Select a texture, then click Rename or right-click and choose Rename.
  2. Enter the new name without an extension.
  3. The application updates the XML texture/file reference and copies the file to its new name.
  4. Click Save & Repack YTD to apply the change to the YTD.

Inspect the temporary workspace if the previous name still appears. Do not use a name already owned by another texture.

Replace a texture

Select a texture and click Replace, or drop a file onto the preview area. Accepted inputs are PNG, JPG/JPEG, DDS, TGA, and BMP.

  • DDS is used directly.
  • Non-DDS input is converted to DDS.
  • The selected texture's base name is preserved.
  • The old temporary texture file may be deleted after conversion succeeds.

Match the original resolution, aspect ratio, alpha channel, and normal/specular encoding. A correct preview does not guarantee the shader will render correctly in game.

Export and Delete

  • Export as DDS copies the original texture without conversion or quality loss.
  • Export as PNG renders the primary mip level from the canvas. It is useful for preview and standard editing, but is not byte-identical to the source.
  • Export All Textures copies all extracted texture files to a selected folder.
  • Delete removes the XML entry and temporary file after confirmation.

Rename, replace, and delete operations are not final until the YTD is repacked.

Save & Repack YTD

This compiles the XML and temporary textures back to the original YTD path. It overwrites the original YTD without creating a backup. Copy the YTD before opening the editor or keep the resource in version control.

After repacking, test livery placement, alpha, normal maps, mipmaps/distance, and streaming memory in FiveM. Use Resource Optimizer for oversized dictionaries instead of repeatedly degrading textures by hand.

Ready to work on a resource? Download Vehicle Editor