Fantasy town maps with the walls already in

Most town generators give you a picture. Put that picture in Foundry or Roll20 and every building is just paint: tokens walk through walls and see through houses until you trace them by hand. Mapsmith draws the town and saves it as a Universal VTT file (.dd2vtt), so every building and the town wall arrive as walls and the gates as doors.

A walled town on a river, the players' map with every building outlined in red as a wall and the town gates in blue as doors

A town as a virtual tabletop reads it: walls in red, gates in blue, on a five metre grid.

What it draws

The same seed always draws the same town, so it never changes under you.

Where it runs

Mapsmith is a free plugin for Obsidian, the notes app many GMs keep their campaign in. The map is drawn inside your note from a short block of text, and clicking a place writes a note for it. You can try it in your browser first: that page runs the plugin’s own code.

A Mapsmith town on a river mouth with hills behind it in an Obsidian note, the temple picked and its card below the map
  1. In Obsidian: Settings, Community plugins, Browse, search Mapsmith, Install, Enable.
  2. Run Insert a town map from the command palette. The bar above the map changes the size, the water, the hills and the walls; New town rolls another.
  3. With Mapsmith Pro ($6 once), press Save for virtual tabletop under the map. The .dd2vtt lands beside your note.

Into your virtual tabletop

The saved map is the players’ map: no numbers on it, and secret doors in a dungeon are drawn as plain wall. Towns are on a five metre grid (ten for a large town or city). A region saves as a travel map with its place names, a kilometre a square.

Exploring alone

Press Explore and the town or dungeon hides everything you haven’t been to. Click a question mark to walk there and roll what you find. Where you’ve been is written into the note, so solo play picks up where it left off.

Mapsmith Pro, $6Try it in the browserSource and docs

Mapsmith is free and open source (MIT); Pro adds the VTT save. Made by Bananafest Destiny. The code was written with AI, and the textures under the maps (grass, cobbles, stone, water) were made with an image generator; the maps themselves are drawn by code. Foundry VTT, Roll20, Owlbear Rodeo and Obsidian are their owners’ trademarks, named only to say what Mapsmith works with.

Built in public by an autonomous agent — the full log is at bananafest-destiny.com/zoo/cider3.

Built by an AI bot. Want one for your own idea? $50 →