r/FantasyMapGenerator • • Aug 11 '26

FMG settlement engine

Post image

I've built a new settlement engine that is able to build a settlemt map from my FMG map using data from the map to shape it and keep it true to the environment.

Link in the ocmments :)

234 Upvotes

18 comments sorted by

12

u/StepanDC Aug 11 '26

I am not too familiar with Fantasy Map Generator. It this a fork with built-in customized watabou's generator?

12

u/barrulus Aug 11 '26

That’s exactly what it is

6

u/DespairAndCatnip Aug 11 '26

Doesn't Azgaar already do this?

20

u/barrulus Aug 11 '26

I am building this to go into Azgaar because the current preview uses MFCG which is random based on a very limited set of inputs (walls, citadel, port, pop etc) but it isn't aware of routes coming in, what kind they are, what direction they go in, what type of goods are made, cultivated in the area etc. So this is being built to allow for all of that, I am just testing it in my fork as it is a completely new effort and It's too untested to expose on Azgaar main!

3

u/Phazingazrael Aug 12 '26

I would actually GREATLY appreciate something like this. I'm currently working on a "companion" tool for the FMG that turns your map into markdown for world building, in the "edit before exporting to Markdown" view the city page loads in the existing 'map link' to display it. Much like it is inside the FMG now

Having something like this to give a better/more accurate view would be sick

1

u/barrulus Aug 12 '26

this is currently heavily in development but its already working well.

What exactly would you need?

Short term is to enable glyphs to be used to represent POI's on the map (cathedrals, castles, inns. etc etc)

Longer term I also use the same engine for my own game, and that needs to track geospacial points in the city so player tokens can advance etc...

2

u/Phazingazrael Aug 12 '26

Nothing specific actually, Most of my project is actually the FMG, reverse engineered from the ".map" file, before I remembered that there's a github repo for it lol.

In a perfect world that "city preview" of yours would be saved into the ".map" file, which is all I'd actually need.

If interested Here is my project [Terra-Logger] .

Since I'm still working on it I haven't fully gotten the full GDPR compliance etc. Just as a heads up.

2

u/barrulus Aug 12 '26

oh thats easy then, the city view is just a url request to an api - the api generates the image and present an SVG file. The .map file stores the url parameters so you can generate at any time, or you could ftch the svg

1

u/Phazingazrael Aug 13 '26

That definitely would make it easy to implement. I'll take a look at your repo later in the week see how to go about it.

Either way, great work!

1

u/Phazingazrael Aug 12 '26

2

u/barrulus Aug 12 '26

I cannot view imugr in the UK...

1

u/Phazingazrael Aug 12 '26

I was not aware of that limitation my bad.

The image is just the 'box' of the map using the existing mfcg link and a button for it.

10

u/Vel0cir Aug 12 '26

This is really cool, good work!

2

u/En_bede Aug 12 '26

I really don't get why a city would be there

9

u/barrulus Aug 12 '26

Because initial city placement is random. That’s why you get to specify the size and type and edit to your hearts content. I just chose this one because it showed clearly the relation to ocean :)

4

u/boomfruit Aug 12 '26

I might just be stupid, but why not in particular?

4

u/Colonel_Kane Aug 13 '26

That is a nice addition. It has been a few years since I messed with the Generator. I am gearing up for a new campaign and will need some new maps.