RageKit

What is a YBN file and how do you open one?

A .ybn file holds GTA V static collision, called bounds: the shapes players, vehicles and bullets collide with. A model without collision can be walked through. RageKit opens a .ybn in a 3D collision view with an edit mode, and its Model Import generates collision for a model, stored in the model, as a .ybn, or both.

.ybn · collision bounds · Reviewed

No installer is published yet.
RPF Explorer
RageKit's RPF Explorer with an archive tree on the left, a file list and a texture preview

What's inside a .ybn file

  • Collision shapes: boxes, spheres, capsules, cylinders and triangle meshes.
  • A material per shape or polygon, which sets the surface type (concrete, grass, metal and so on).
  • A composite that groups several shapes into one file.

How to open a .ybn 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 .ybn

    The 3D view draws the collision shapes.

  3. Edit it

    With Premium, switch to Edit to change the bounds, then save. 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. See collision on the map

    In the World Viewer, turn on the collision overlay to see bounds over the 3D map.

What RageKit does with .ybn files

  • View collision in 3D, on its own or over a model
  • Edit bounds in the collision editor (Premium)
  • Generate collision from primitives and hulls, a simplified mesh or a bounding box in Model Import (Premium)
  • Use your own UCX_ or _col meshes as collision
  • Bake a map's collision into one static .ybn in Map Studio (Premium)

Tools that read and write .ybn

RageKit tools that handle .ybn files
ToolRageKitNotes
RPF ExplorerReads and writesCollision view; the edit mode needs Premium
Model ImportWritesStatic collision
Map StudioWritesOptional baked collision
World ViewerReadsCollision overlay

Questions

Why can I walk through my custom prop?

It has no collision. Collision is either embedded in the model or a .ybn with the same name. Model Import can generate it when you convert the model, and the collision editor can generate a .ybn for an existing model. Both need Premium.

What program opens YBN files?

RageKit's RPF Explorer opens .ybn files in a 3D collision view for free. Its edit mode needs Premium.

Does every model need a separate YBN?

No. Collision can be embedded in a .ydr or .yft. Model Import can store it in the model, as a .ybn, or both.

Guides

Open .ybn 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.