Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Exporting Current World Populations  (Read 313 times)

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
Exporting Current World Populations
« on: July 02, 2016, 08:24:46 am »

Hi!

Does anyone know how to do this without abandoning/retiring the fort?  I thought exporting a local image (from the 'esc' menu) would do it, but it only exports the image(s) and parameters. 

An updated population for a distant NPC site would be greatly beneficial for the story fort I'm doing, so any advice for how to get it would be appreciated.

-Dame de la Licorne
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Exporting Current World Populations
« Reply #1 on: July 02, 2016, 10:47:55 am »

I'm not quite sure I understand what you want to do, but:
If using DFHack (which you might not), you can save the fortress, use the DFHack command "open-legends", use DFHack's "exportlegends info" (or "all" instead of info), and then kill DF (a save after returning from open-legends can corrupt the save for a much later fatal crash. That may or may not be fixed). Open the XML files in e.g. Legends Viewer. Note that info on the current fortress isn't integrated correctly in the exported XML data (hardly surprising, since it hasn't been packaged up through retirement/abandonment).

A non DF alternative is to copy the save, start the copy, retire that fortress, open the copy in legends mode, and export the desired info. The the copy can be discarded and the original continued. This sound like your base alternative, though.

Of course, I may be answering the wrong question...
Logged

Dame de la Licorne

  • Bay Watcher
  • Cats? Check. FPS? Uh-oh...
    • View Profile
Re: Exporting Current World Populations
« Reply #2 on: July 02, 2016, 11:22:30 am »

A non DF alternative is to copy the save, start the copy, retire that fortress, open the copy in legends mode, and export the desired info. The the copy can be discarded and the original continued.

This does what I want, thanks!

-Dame de la Licorne
Logged
If software was real world, then it'd be something equivalent of hitting a nail with a hammer and having a building collapse on the other side of town.

Don't worry people, sometimes -moments occur