Check a player map for leaked GM notes and secret doors
You sell or share a map in two versions. The GM copy has room labels, trap marks and secret doors. The player copy should not. Here is how to prove that before it goes out.
Why it happens
Most makers draw one map and export it twice, once with the GM layers on and once with them off. Leaks come from small slips:
- a note or door was drawn on a shared layer, so hiding the GM layer does not hide it;
- one GM layer was left on for the player export;
- a late fix went into the GM file and the player file was not exported again.
Looking at the player map by eye is slow, and a small label in a dark corner is easy to miss. Comparing the two files pixel by pixel is faster.
The rule behind both free checks
Export both versions from the same file, at the same size. Then show only the pixels that differ. Two things to look for:
- Every secret should show up as a difference. If a secret door you meant to hide is not in the difference image, it is still on the player map.
- Nothing else should. A difference where you made no planned change is a mistake in one of the files.
Fix 1, free: GIMP Difference mode
- Open the GM map in GIMP. Add the player map as a second layer on top.
- Set the top layer's mode to Difference in the Layers dialog.
- The GIMP manual says that if the two layers "are identical the difference is zero (black)". Everything that is not black is a change. Zoom in and walk the image.
Source: GIMP manual, Difference layer mode. Faint changes can be hard to see on a dark result, so raise the brightness of a copy if needed.
Fix 2, free: ImageMagick compare
If you have many maps, use the command line:
magick compare gm-map.png player-map.png difference.png
The ImageMagick page says the red areas of the result highlight pixels that changed, and white marks pixels that did not. Add -metric RMSE to also get a number for how different the files are. Source: ImageMagick, compare.
Both checks have the same gap. They show every difference, including the ones you meant. With many planned changes you still have to tick each one off by hand.
Fix 3, paid: mark the planned changes, see only the rest
I make GM and Player Map Proof ($9, with a free demo that runs only on a built-in sample map). You load the GM and player maps and draw rectangles over the changes you meant to make. Those turn amber. Any change outside them stays red. You save a proof PNG and a JSON review report. In the sample, it leaves the intended "hidden cache" edit amber and shows a stray GM note in red.
It only reports visual differences between two aligned images of the same size, in PNG or static WebP. It does not know what a secret door or a note is, and it cannot see a secret that is on both versions. That is why you check that each secret shows up as a change. It does not read Foundry or Roll20 scene data such as walls. It runs in desktop Chrome. Look at the final player file yourself before sharing it.
Which one to use
- One map, a few hidden items: Fix 1.
- A folder of maps and comfort with a terminal: Fix 2.
- Many planned changes per map, and you want a saved proof for each release: Fix 3.