Poom Poom Shop Pass · 29.99€/mo

Mapping

Why two maps of one area break each other (and how packs fix it)

NXBy Team NolX
· 4 min read

Grapeseed Feed Store

You install a new house in Grapeseed. It looks great. Then someone reports that the store across the road, a map you have had for months, now has a vanilla building sticking through its roof. Nothing in the console. No errors. Just two maps that cannot live together.

This is the most common map problem I get asked about, and it has a simple cause.

The cause: one file name, one winner

GTA V streams files by name. If two resources both stream a file called, say, area_strm_3.ymap (a made-up name for the example), the game does not merge them. It loads one and ignores the other.

Now remember how an MLO replaces a building. The mapper edits Rockstar's original map files for that area:

  • the ymap that places the vanilla building, to remove it,
  • the ybn collision file, to cut out the old walls,
  • sometimes occlusion data, so the new interior is not hidden by invisible blockers left over from the old one.

Those edited copies keep the original file names. That is how replacing vanilla data works.

So if Map A and Map B sit in the same area, there is a good chance they both ship an edited copy of the same vanilla file. Map A's copy removes the old barn. Map B's copy removes the old shed. Only one copy loads. Whichever loses, its building is back, overlapping the new interior.

What it looks like in-game

The symptoms depend on which file lost:

  • Lost ymap edit: a vanilla building, fence or tree appears inside or through the new map.
  • Lost ybn edit: invisible walls where the old building used to stand, or floors you fall through.
  • Lost occlusion edit: parts of the new map vanish when you look at them from certain angles.

The fun part is that it can flip between restarts depending on load order, so the bug "comes and goes" and everyone blames the last thing they installed.

How to confirm it

You do not need special tools for a first check. Look inside the stream folders of the two suspected maps and compare file names. Any name that appears in both is a conflict.

If you are comfortable in a terminal, something like this on a Linux host lists duplicates across all your map resources:

find resources/\[maps\] -type f \( -name "*.ymap" -o -name "*.ybn" \) \
  -printf "%f\n" | sort | uniq -d

Each line it prints is a file shipped by more than one resource. On Windows, sorting the stream folders by name side by side in Explorer works too.

You can only do this check if the files are readable. Some sellers encrypt their vanilla edits through escrow, which makes conflicts impossible to see, let alone fix. Ours are left unencrypted for exactly this reason.

Fix 1: merge the files

The proper fix is to combine both sets of edits into one file.

  1. Open both versions of the conflicting ymap in CodeWalker.
  2. Note what each one removed or added compared to the original.
  3. Apply both sets of changes to one copy.
  4. Keep that merged copy in one resource and delete the duplicate from the other.

Collision files are harder. Merging two edited ybn files usually means going into Blender with Sollumz and cutting both holes into one collision. If you are not used to it, budget an evening, not ten minutes.

Then test both maps from every side.

Fix 2: use one resource for the whole area

This is why we sell buildings from the same area as packs. Every standalone building ships with its own copies of the vanilla files it needs, which means two standalone buildings from the same area share those files and cannot be combined as standalones. The packs bundle them into one resource with merged, conflict-free vanilla files:

  • pps_grapeseed_pack for Grapeseed, see the Grapeseed Country Pack
  • pps_richman_pack for the Richman estates
  • pps_sandy_pack for the Sandy Shores trailers

If you want more than one building in an area, the pack is the clean route. You replace your standalones with it rather than running both.

Fix 3: choose your locations

Sometimes the honest answer is that two maps want the same lot, and no merge will help. Two interiors physically overlapping is not a file problem; it is a planning problem. Decide which one your roleplay needs more and drop the other.

How to avoid this next time

  • Before buying, check what else you already run within a couple of blocks.
  • Prefer maps whose vanilla edits are unencrypted. You can inspect and merge them.
  • Keep a simple list of which resource touches which area. Our server owner checklist has a template.
  • Add maps one at a time and test before adding the next.

Conflicts are not a sign of a badly made map. They are a side effect of how GTA streams files. Once you know that, they stop being mysterious and become a fifteen-minute check.

Keep reading

More from the Journal