Interior files (ytyp)
A .ytyp tells the game how big each model is, how far away it still shows, which textures it uses and, for an interior (MLO), which models stand in which room. Wrong values mean props that vanish while you look at them, or interiors that do not show. Interior files finds and fixes those problems, or makes a new ytyp from your models.

Open an MLO project and click Interior files in the toolbar (or Tools → Maps → Interior files). The page has two modes at the top: Check & fix and Make a ytyp.
Check an interior
Section titled “Check an interior”Click Check my project, or Check another folder… to check any folder with .ytyp files. The studio reads every ytyp next to the models and texture files it names, and compares each model’s real size with what the ytyp says. It takes a few seconds and changes nothing.
If nothing is wrong, the page says The ytyps in … look right.
Read the problems
Section titled “Read the problems”Problems come in groups. Each group explains when it is safe to leave alone, so read it before you tick an unticked one.
| Problem | What it means | Fixed for you? |
|---|---|---|
| Size box does not match the model | The game hides an object when its box leaves the screen. A box that is too small makes it vanish while you still see it. | Yes, ticked. The box is copied from the model. |
| Disappears too close | The object stops drawing closer than its own size, so you can stand next to it and watch it vanish. | Yes, ticked. The draw distance is raised to fit its size. |
| Model not in this resource | The ytyp names a model this resource does not stream. Normal when another resource streams it. | Only if you tick it: the archetype is removed. |
| Models no ytyp here uses | Model files nothing here names. Often a model named like a game building, on purpose, to replace or hide it. | Only if you tick it: hidden as .noxoff. |
| Texture files nothing here uses | Can be leftovers, or a replacement for game textures of the same name. | Only if you tick it: hidden as .noxoff. |
| Two archetypes with one name | The game uses only the one loaded last. | No. Rename one of the models and its archetype. |
| Textures not in this resource | Fine for game textures or ones another resource ships; otherwise the object has no texture in game. | No. |
| Heavy textures | A file with more than 16 MB of textures. FiveM warns about it and players load slowly. | No, but you can send it to Optimize. |
A hidden file is only renamed to .noxoff, so FiveM skips it. Nothing is deleted.
Fix the ticked problems
Section titled “Fix the ticked problems”-
Tick or untick the problems you want fixed.
-
Click Fix N ticked. The studio lists what will change.
-
Click Fix it. Changed ytyps are edited in place; the lights, doors and effects in them are kept. The first time a ytyp changes, the original is kept as
.noxbak. -
Restart the resource (or the server) and walk through the interior in game. Still wrong? Click Check again.
Undo a fix
Section titled “Undo a fix”Open Advanced and click Undo last fix…. Every changed ytyp goes back to how it was, and every hidden file comes back. Fixes are also steps in History (filter Interiors).
Shrink the biggest textures
Section titled “Shrink the biggest textures”The Texture memory card lists what the interior’s textures take in video memory, biggest first. Click Optimize the N biggest (over 4 MB)… (or Optimize these…) to send them to Optimize. By default Optimize writes smaller copies to an output folder and leaves your originals as they are; choose In place there to change the originals.
Make a ytyp from your models
Section titled “Make a ytyp from your models”Switch to Make a ytyp when your models do not have a ytyp yet.
-
Click Pick models… and pick
.ydr,.yddor.yftfiles, or click Use every model in the project. Each one becomes an archetype, with its size read from the model and a draw distance that fits. Add more models… adds more. -
Set Name of the ytyp: lower case, no spaces. It is also the file name.
-
To make an interior too, tick Also make an interior (MLO) that places these models and set:
- Interior name: the name the
.ymapuses to place the interior. - Room name: every model goes into this one room. Split rooms later in CodeWalker if you need more.
- Entrance: a door frame or portal plane at the doorway. Its flat side becomes the portal that lets you see in from outside. None (visible only from inside) makes no portal.
- Interior name: the name the
-
Untick any model you do not want, then click Save ytyp… and choose where the file goes.
Keep the ytyp in the resource’s stream folder: FiveM loads a streamed ytyp by itself. For props that scripts spawn, also add a line to fxmanifest.lua:
data_file 'DLC_ITYP_REQUEST' 'stream/my_props.ytyp'An interior also needs a .ymap that places it in the world. CodeWalker makes one. Click Check it to check the new ytyp, or Make another to start again.
Next: Map conflicts.