RageKit

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.

.ytyp · archetype definitions · Reviewed

No installer is published yet.
Map Studio

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

  1. 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 .rpf or a folder onto the window opens it too.

  2. Select the .ytyp

    It opens as XML. Find and replace works across the file.

  3. 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.

  4. Build your own

    In World › Map, a map or Interior (MLO) project writes the .ytyp with 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

RageKit tools that handle .ytyp files
ToolRageKitNotes
Map StudioReads and writesArchetypes and MLO interiors
RPF ExplorerReads and writesShown and edited as XML, saved back to binary
Find Usages and hash lookupReadsPlacements and archetypes
World ViewerReadsArchetypes

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

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.