YDR files won't import directly into GameMaker because they're Rockstar Games format files, not GameMaker native assets

YDR files are 3D model files created by Rockstar Games for games like Grand Theft Auto. GameMaker — the engine you're working in — doesn't recognize this format natively. If you want to use a YDR model in GameMaker, you need to convert it to a format GameMaker actually understands, like OBJ, FBX, or COLLADA (.dae). The conversion happens outside GameMaker using a separate tool, then you import the converted file into your project.

This matters because trying to drag a YDR file into GameMaker won't work. You'll get an error or the file will be ignored entirely. The workflow is: convert YDR → import converted file → use in your game.

Key Takeaways

  • GameMaker does not read YDR files directly; you must convert them to OBJ, FBX, or COLLADA format first using a third-party tool.
  • Common YDR conversion tools include Crowbar (free, open-source) and Zmodeler3 (paid), both of which output formats GameMaker accepts.
  • After conversion, import the new file into GameMaker through File > Create > Model or by dragging it into the Assets panel.
  • Converted models may need texture reassignment in GameMaker because the conversion process doesn't always carry over material data correctly.

Converting YDR to a GameMaker-compatible format

The most common free tool for this job is Crowbar, an open-source decompiler that handles Rockstar game files. Download it from the Crowbar GitHub repository, then open your YDR file in Crowbar. The tool will let you export to OBJ or SMD format. OBJ is usually the safer choice because GameMaker handles it more reliably than SMD.

If you prefer a paid option with more control, Zmodeler3 is a 3D modeling tool that can open and export YDR files. It costs money but gives you the ability to edit the model before export and has better texture handling. Export from Zmodeler3 as FBX or OBJ.

After conversion, you'll have a file like model_name.obj or model_name.fbx sitting on your computer. This is what you'll bring into GameMaker next.

Importing the converted file into GameMaker

Open your GameMaker project and go to the Assets panel on the left side. Right-click on the Models folder (or create one if it doesn't exist). Select "Create Model" and choose "Load Model". Navigate to your converted OBJ or FBX file and open it. GameMaker will import the geometry and create a model resource you can use in your game.

Alternatively, you can drag the converted file directly into the Models folder in the Assets panel. GameMaker will recognize it and create a model resource automatically. This is faster if you're importing multiple files.

The imported model will appear in your Models folder with a name like Model_0 or whatever you named the original file. You can rename it to something more useful by right-clicking and selecting "Rename".

Handling textures after import

The converted model will have geometry, but textures often don't carry over correctly because YDR files store material data in a format GameMaker doesn't understand. When you import the model, you may see it as a plain gray or white shape with no colors or patterns.

To fix this, you need to reassign textures manually. First, make sure the texture files (usually PNG or TGA from the original game) are in your Textures folder in GameMaker. Then open the model resource by double-clicking it in the Assets panel. In the model editor, select the surface or material that needs a texture and assign the texture from your Textures folder using the properties panel on the right.

If you don't have the original texture files, you can create new ones or leave the model untextured. GameMaker will render it with a default material, which is fine for testing or if you plan to apply shaders later.

Common problems and how to fix them

If the model imports but looks distorted or has missing parts, the conversion tool may have had trouble with the YDR structure. Try re-exporting from Crowbar or Zmodeler3 with different settings. Some YDR files are more complex than others, and certain tools handle edge cases better. If Crowbar doesn't work well, try Zmodeler3, or vice versa.

If GameMaker won't import the converted file at all, check that the file format is actually OBJ or FBX. Some conversion tools save with the wrong extension or create files that are corrupted. Open the file in a text editor (for OBJ) or a 3D viewer like Blender to confirm it's valid before trying to import again.

If the model imports but appears inside-out or with inverted normals, you may need to flip the normals in Blender or your conversion tool before importing into GameMaker. This is a common issue with files from game engines that use different coordinate systems.

Using the imported model in your game

Once the model is in GameMaker and textured, you can use it in your game code. In a Create event or Draw event, reference the model by its resource name. For example, if your model is called Model_Enemy, you can draw it with draw_model(Model_Enemy, x, y, z). You can also apply transformations like rotation and scaling using GameMaker's matrix functions before drawing.

Models in GameMaker are static geometry by default. If you need animation, you'll have to handle that separately — either by importing multiple model frames and swapping between them, or by using skeletal animation if your conversion tool preserved bone data (which is rare with YDR files). For most cases, you'll treat the imported YDR model as a static prop or building.

Frequently Asked Questions

Can I import YDR directly without converting?

No. GameMaker does not recognize YDR format. You must convert to OBJ, FBX, or COLLADA first. Attempting to import a YDR file directly will result in an error or the file being ignored.

Which conversion tool is better, Crowbar or Zmodeler3?

Crowbar is free and works well for most YDR files. Zmodeler3 costs money but gives you more control over the export process and better texture handling. Start with Crowbar; if it doesn't work for your specific file, try Zmodeler3.

Will the textures come with the model when I convert it?

Not reliably. YDR texture data is stored in a format GameMaker doesn't understand. You'll usually need to reassign textures manually in GameMaker after import, or extract the texture files separately from the game files.

What if the converted model looks wrong in GameMaker?

Try re-exporting with different settings in your conversion tool, or open the file in Blender to inspect and fix geometry issues before importing into GameMaker. Some YDR files have complex structures that don't convert perfectly on the first try.

Can I animate an imported YDR model?

Not easily. YDR files are static geometry. If the original model had skeletal animation, the conversion process rarely preserves bone data. You can create animation by swapping between multiple model frames or using GameMaker's built-in animation tools, but you'll need to set that up manually.