It doesn't generate a map. It generates the shops, taverns, military and the NPCs. But it also makes all the little details like who owns what shop, who married to who, whos in the militia. It also gives the Tavern opening and closing times when entertainment is on (and whos giving the entertainment) etc etc etc . Check it out if you havnt seen it yet
Mathemagician Town Generator!