- Home
- File formats
- .ytyp file
What is a YTYP file and how do you open one?
A .ytyp file holds GTA V archetype definitions: for each placeable object, its drawable, texture dictionary, bounds, LOD distance and flags. MLO interiors, with their rooms, portals and entity sets, are defined in a YTYP too. RageKit opens a .ytyp as editable XML, and Map Studio writes one for you when you build a map or an interior.
What's inside a .ytyp file
- Archetypes: a name, the drawable and texture dictionary it uses, its bounds, LOD distance and flags.
- MLO archetypes: an interior's entities, rooms, portals, entity sets and time-cycle settings.
- Extensions such as lights and particle effects attached to an archetype.
How to open a .ytyp file
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
.rpfor a folder onto the window opens it too.Select the .ytyp
It opens as XML. Find and replace works across the file.
Edit and save
Change the XML and save; RageKit writes it back to the binary format. 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.Build your own
In World › Map, a map or Interior (MLO) project writes the
.ytypwith the archetypes your models need.
What RageKit does with .ytyp files
- View and edit the file as XML and save it back to binary
- Write archetypes for your own models in Map Studio
- Build MLO interiors with rooms, portals, entity sets and time-cycle spheres
- Look up which archetype a model belongs to with Find Usages
Tools that read and write .ytyp
| Tool | RageKit | Notes |
|---|---|---|
| Map Studio | Reads and writes | Archetypes and MLO interiors |
| RPF Explorer | Reads and writes | Shown and edited as XML, saved back to binary |
| Find Usages and hash lookup | Reads | Placements and archetypes |
| World Viewer | Reads | Archetypes |
Questions
Does a custom prop need a YTYP?
Yes. A model can only be placed by a ymap or spawned by name once an archetype defines it. Map Studio writes the .ytyp for the models in your project.
What program opens YTYP files?
RageKit's RPF Explorer opens a .ytyp as XML and saves it back to binary.
Where is an MLO interior stored?
In a .ytyp, as an MLO archetype with rooms and portals. A .ymap then places the interior in the world.
Guides
- How to make a custom map (ymap) for FiveMPlace props and your own models, build an MLO interior if you need one, generate LODs, and build the ymap and ytyp into a FiveM map resource.
- GTA V file formats explained: RPF, YDR, YTD, YFT and YMAPWhat RPF, YDR, YDD, YFT, YTD, YBN, YMAP and YTYP files are, how they fit together, and which RageKit tool opens or makes each one.
Related file formats
- .ymap · map dataA YMAP file is GTA V map data: where objects are placed in the world. How to open, view and edit .ymap files, convert them to XML and build one for FiveM.
- .ydr · drawableA YDR file is a GTA V drawable: one 3D model with its shaders and LODs. How to open and view .ydr files, export them to GLB and make one from FBX or OBJ.
- .ybn · collision boundsA YBN file is GTA V static collision: the shapes players and vehicles collide with. How to open, view and edit .ybn files, and generate one for a model.
- .ymt · binary metadataA YMT file is GTA V binary metadata, used for clothing variations, scenarios and more. How to open a .ymt as XML, edit it and save it back to binary.
- GlossaryEvery GTA V modding format and term on one page
Open .ytyp 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.
