Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3

Author Topic: Uristmaps - Google maps like renderer for DF worlds  (Read 11381 times)

lethosor

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #15 on: June 14, 2015, 03:37:13 pm »

"uristmaps.sh" can't be run standalone on OS X (possibly Linux as well, although I haven't tested it there yet) because it uses DOS-style line endings:
Code: [Select]
-bash: ./uristmaps.sh: /bin/bash^M: bad interpreter: No such file or directory

Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #16 on: June 14, 2015, 03:45:12 pm »

Thanks, I could not test the start scripts on mac - only on windows and linux. I'll replace them in the next hotfix.
Logged

Gorobay

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #17 on: June 14, 2015, 04:48:06 pm »

The population overlay on the demo page claims that there are:
  • Troll: 5
  • Troll Outcasts: 6
  • Trolls: 41000

To fix this, Site#addInfo would need to be able to parse the raws at least enough to match singulars with plurals.
Logged

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #18 on: June 15, 2015, 03:25:04 am »

At the moment I use a translation table to transform the singular forms into plural for the population information. The Site.addInfo uses the plural (or singular) form that comes from DF for better text in the site popups.
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #19 on: June 15, 2015, 03:27:26 am »

Another interesting overlay would be to show, for example, the population map of all civilized creatures.
Logged

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #20 on: June 15, 2015, 08:07:28 am »

Do you mean something like the available heatmaps, but for multiple populations at the same time?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #21 on: June 15, 2015, 08:44:01 am »

Yeah, pretty much.
Logged

Lightningy

  • Bay Watcher
  • MOM GET THE CAMERA!!!
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #22 on: June 19, 2015, 11:12:32 am »

PTW
Logged
'What is life?', you ask. Fundamentally life is the apotheosis of pointlessness. We live to multiple. But what for? The Endless cycle of carnage pulls hardest on the furthest victim. An inescapable fate; one no one wants but we all desire. The more immoral we become the more ideal we are. A perverse oxymoron. We who live unencumbered but are the most burdened. We fight but at the end it is all for naught, as in life there are no winners; only the undistinguished.

GENERATION 29:
Copy and add 1.

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #23 on: June 19, 2015, 03:33:16 pm »

PTW?
Logged

Lightningy

  • Bay Watcher
  • MOM GET THE CAMERA!!!
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #24 on: June 19, 2015, 03:34:32 pm »

Posting to watch. It means good job i will post to see what happens, basically.
Logged
'What is life?', you ask. Fundamentally life is the apotheosis of pointlessness. We live to multiple. But what for? The Endless cycle of carnage pulls hardest on the furthest victim. An inescapable fate; one no one wants but we all desire. The more immoral we become the more ideal we are. A perverse oxymoron. We who live unencumbered but are the most burdened. We fight but at the end it is all for naught, as in life there are no winners; only the undistinguished.

GENERATION 29:
Copy and add 1.

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #25 on: June 19, 2015, 03:53:59 pm »

Ah right. Thanks ;)
Logged

Lightman

  • Bay Watcher
  • The groboclones are looking for you.
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #26 on: August 03, 2015, 03:45:44 am »

This is a really fun tool! Thanks. How can I host it on my existing webserver? I copied the "output" directory but I just see a list of sites and no map.

It would be really cool if you expanded the options.  In particular, I'd like to separate camps and lairs from other things:

Sites/Civilized (Towns, forts, etc. This could also be broken down, further)
Sites/Lairs
Sites/Camps
...

That would help because the map can be a little cluttered right now, with everything at once.
« Last Edit: August 03, 2015, 03:55:09 am by Lightman »
Logged

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #27 on: August 03, 2015, 04:21:56 am »

Hi, glad it is of use to you! Copying the output directory to a webserver should actually be enough. Make sure you copy all files and directories so the index.html file is in the root and point your browser to it.

And I agree, disabling types of sites when viewing the map is a great idea.
« Last Edit: August 03, 2015, 04:28:22 am by popeoh »
Logged

Lightman

  • Bay Watcher
  • The groboclones are looking for you.
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #28 on: August 03, 2015, 06:01:49 am »

I'm pointing to server/region, which has index.html and everything else in output but it's not working. Is JavaScript the only thing it needs?
Logged

popeoh

  • Bay Watcher
    • View Profile
Re: Uristmaps - Google maps like renderer for DF worlds
« Reply #29 on: August 03, 2015, 06:12:34 am »

Everything in the output folder is needed, it should be enough to just copy the output folder to your webserver. This is how the demo.uristmaps.org page is done.
Logged
Pages: 1 [2] 3