Skip to content

Map conflicts

When two packs ship the same collision or map file, only one of them loads. Players fall through a floor, walk into invisible walls, or a building stands inside an interior. Map conflicts finds those files on your server and merges them, so every pack keeps its changes. Your packs are never edited.

The Map conflicts page after a check, with one file merged and one asking whose version to use, and the Build the fix button

Open Map conflicts from the toolbar of an MLO project, or from Tools → Maps → Map conflicts. The page walks you through four steps: Find your server, Check, Build the fix, Test in game.

GTA’s world is cut into tiles. Each tile has a collision file (.ybn, what you stand on and bump into) and map files (.ymap, which buildings and props stand where). An interior pack changes the tiles around it: it cuts a hole in the collision for its door, removes a wall, adds its own props. Interiors and props also come with archetype files (.ytyp) and models (.ydr).

FiveM loads each file name only once. If two packs both changed the same tile, one pack’s version wins and the other pack’s changes vanish.

The studio reads both packs’ versions of a file and compares each with the game’s original tile from your GTA V install. That way it can tell what each pack removed from what it added, and it keeps every change in one new file. This is a three-way merge.

The merged files go into a new resource, noxsware-compat, which starts after your map packs and wins. Removing that resource puts everything back.

  1. Open a project that lives in your server’s resources folder and click Check my project. Or click Another folder… and pick the resources folder to check the whole server.

  2. Wait while the studio reads the map packs. The first check also indexes the game’s own map files, which takes about a minute. Nothing is changed.

  3. Read the result. No map conflicts means there is nothing to do. Otherwise the tiles show how many files are fixed automatically, how many need your choice, and how many packs are involved.

Automatic fixes are grouped:

Group What it is
Collisions What players and cars stand on and bump into.
Map placements Which buildings, props and occluders stand where.
Distant lights The lights you see from far away, merged in near and distant pairs.
Archetype definitions What each prop and interior is (.ytyp): its model, draw distance and, for an interior, its rooms, portals and furniture.

Switch to Detailed at the top right to see every file with its merge method, copies and packs, filter and search them, and Copy report.

Some files cannot be combined, for example a model (.ydr), or a copy that is escrow-locked. Under Pick whose version to use, choose the pack whose interior matters most on that spot, or Leave it (one pack wins) to keep today’s behaviour. For models, the studio picks the copy the merged archetypes were made for when it can tell, and says why.

Occluders are invisible boxes that stand for the game’s own solid buildings; the game hides whatever stands inside them. Where a pack puts an interior or building inside one, walls flicker and interiors vanish from some angles.

When the studio finds such occluders, it lists them. Tick Take these occluders out in the build to ship those map files without them. Only occluders that reach into a pack’s interior, or hold most of a building a pack adds, are taken out.

Before you build, check Where the fix goes:

  • By default noxsware-compat goes into [noxsware], a folder of its own in your resources folder. Choose the folder… puts it elsewhere; Use the usual place goes back.
  • Add “ensure noxsware-compat” to server.cfg adds the line after the last ensure or start line, so the fix starts after your map packs. A copy of server.cfg is kept first as server.cfg.noxbak. Leave it unticked if you start resources another way (txAdmin recipes, a second cfg file), and add the line yourself after your map packs.

Then click Build the fix, read what will happen and click Build it.

Map files load when the server starts. Restart the server and walk through the places that had problems.

  • Include resources that server.cfg does not start: tick it when map packs are started some other way than server.cfg, or to check packs you have not turned on yet.
  • Remove the compatibility resource…: deletes noxsware-compat and takes its line out of server.cfg. The packs go back to fighting over their files. Restart the server afterwards. Building again makes a new one.
  • Map conflicts has been tested in game.
  • Some pack authors ship ready-made fixes for known clashes in a folder next to stream (like [FIXFILES]). The page lists them. They are not used unless copied into stream.
  • The Server check also finds map clashes and opens this page with a Fix button.

Next: Animation projects.