How to Import YDR Files Into CodeWalker: A Complete Guide

If you've spent any time modding GTA V, you've almost certainly encountered .ydr files — and you've probably landed on CodeWalker as your tool of choice for working with them. Importing YDR files into CodeWalker isn't always intuitive, especially if you're coming from a different modding workflow or working with custom assets for the first time. Here's a clear breakdown of how it works, what affects the process, and where your own setup becomes the deciding factor.

What Is a YDR File?

A YDR file (Yeet Drawable Resource — though the community typically just calls them "drawables") is a 3D model format used by GTA V's RAGE engine. These files contain mesh geometry, material definitions, and embedded or referenced texture data for static objects like props, buildings, and map assets.

YDR files are distinct from other RAGE formats:

FormatUsed For
.ydrSingle drawable (static prop or model)
.yddDrawable dictionary (multiple models grouped)
.yftFragment (physics-enabled objects, vehicles)
.ymapMap placement data
.ytdTexture dictionary

Understanding this distinction matters because CodeWalker handles each format differently, and importing a YDR specifically follows its own path within the tool.

What Is CodeWalker?

CodeWalker is a community-built 3D map editor and explorer for GTA V. It lets modders view, edit, and import game assets directly — including YDR drawables — within a real-time rendering environment. It's the standard tool for map modding, MLO creation (interior spaces), and asset placement in the GTA V modding scene.

CodeWalker reads from your GTA V installation directory or from loose files in an OpenIV-style mod folder structure, which directly affects how it handles imported YDR files.

How to Import a YDR File Into CodeWalker 🛠️

The import process depends on what you're trying to do with the YDR — simply viewing it, placing it in a map, or embedding it into a project. Here's the general workflow:

Step 1: Open CodeWalker and Set Your Game Folder

Launch CodeWalker and ensure it's pointed at your GTA V root directory. Without this, CodeWalker can't resolve texture references or related assets that your YDR may depend on.

Go to Settings → Game Folder and verify the path is correct before proceeding.

Step 2: Use the Project Window for Asset-Based Importing

For most modding workflows, you'll work through the Project Window (accessible via the top menu). This is where YDR files are managed as part of a larger project rather than opened in isolation.

  • Open or create a new project
  • In the project panel, you can add existing YDR files from your local drive
  • CodeWalker will attempt to resolve textures automatically if a matching .ytd is present in the same directory or in the game's files

Step 3: Place or Preview the YDR in the World

Once your YDR is recognized by the project:

  • Use the Entity placement tools to position the drawable in the map
  • The model will render in CodeWalker's 3D viewport if the geometry and textures are intact
  • If textures appear pink or missing, CodeWalker can't locate the associated .ytd — keep texture dictionaries alongside your YDR or embedded within it

Step 4: Export or Pack Into a YMAP

If your goal is to place the YDR as a map object in-game, you'll typically:

  1. Set the drawable's archetype in CodeWalker's manifest tools
  2. Reference it properly in a YMAP (map placement file)
  3. Pack everything via OpenIV or a compatible mod tool into the appropriate .rpf archive

CodeWalker itself doesn't install mods — it's an editor and viewer. The actual deployment into GTA V requires OpenIV or similar archive tools.

Key Variables That Affect the Import Process

Not every YDR import goes smoothly. Several factors shape the experience:

Source of the YDR file Assets exported from Blender with the GIMS Evo or Sollumz plugin are structured differently than those ripped directly from game archives. Improperly exported YDRs may fail to render or cause CodeWalker to crash on load.

Texture embedding vs. external YTD Some YDR files have textures embedded; others reference an external .ytd. If CodeWalker can't find the texture dictionary, the model loads without materials. Knowing how your file is structured saves debugging time.

CodeWalker version The tool is actively developed by the community. Older versions may not support YDR features added in newer GTA V updates or DLC packs. Always check that you're running a recent release from the official CodeWalker GitHub repository.

LOD levels YDR files contain multiple Level of Detail (LOD) meshes. If your imported YDR is missing LOD data, it may appear correctly up close but disappear or glitch at distance in-game — something CodeWalker's viewport won't always reveal.

File path and naming conventions RAGE is strict about naming. If your YDR filename doesn't match the archetype name referenced in your YMAP or manifest, the asset won't load correctly in-game even if CodeWalker shows it fine.

Different Workflows, Different Results 🎮

A modder building a custom interior MLO will handle YDR imports very differently from someone doing simple prop placement or a developer converting assets from another engine.

  • Beginners often struggle with texture resolution and missing LODs — issues that aren't obvious until testing in-game
  • Intermediate users typically manage project manifests and archetype definitions with reasonable confidence but run into path conflicts
  • Advanced users building large map replacements may be managing dozens of YDR files, streaming flags, and custom collision data simultaneously

The complexity of your project, the origin of your YDR files, and your familiarity with the RAGE asset pipeline all push the process in meaningfully different directions.

There's no single import path that works identically for every setup — your specific combination of asset source, CodeWalker version, mod framework, and project scope is ultimately what determines which steps apply to you. ⚙️