Bay 12 Games Forum

Please login or register.

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

Author Topic: Legends Viewer 1.13 (v40 Compatible)  (Read 317734 times)

Parker147

  • Bay Watcher
    • View Profile
Legends Viewer 1.13 (v40 Compatible)
« on: December 09, 2010, 09:30:46 pm »

Get it here: http://dffd.wimbli.com/file.php?id=3556

Source: https://github.com/Parker147/Legends-Viewer

Recreates Legends Mode from exported data. Browser like navigation, including tabs, allows to easily view other people/places/entities by just clicking names in the event logs or search lists, CTRL+Click opens a new tab.

Screenshots

Getting the data from Dwarf Fortress:
  • Enter Legends Mode. If you are already playing a fort or adventure on the save you want to use, you need to:
                1. Make a copy of your save!
                2. Abandon your fort/adventure on the copy
                3. Enter legends on the copy
  • Export the XML (x).
  • Export Map/Gen Information (p).
  • Export Detailed Map (d) > Standard biome+site map.
       or
       Use the ASCII/Tile map exported from step 3.
  • (Optional) Archive/Compress files
  • (Optional) Export Additional Detailed Maps

Opening the data with Legends Viewer:
    Select the XML or Archive first by pressing the "..." button next to the XML / Archive text box.
    Legends Viewer will attempt to automatically find the remaining files.
    If the viewer was unable to locate a file it will indicate which files by turning the text box red. You will then have to manually select those files by pressing the "..." button for each file.
    The files needed are (which will be dumped in the root Dwarf Fortress directory)
        "save"-legends.xml
        "save"-world_history.txt
        "save"-world_sites_and_pops.txt
        Map Image file

Using Legends Viewer: View the ReadMe for details on how to use the various tools.
      
Things to note:
  • XML dump is incomplete! Anywhere that there are details left out I noted with "UNKNOWN" however if you see "INVALID" any then its a bug that needs to be fixed.
  • Duplicate Historical Figures / Entities in summary log indicate that relations for duplicates may not be setup properly you will have to check History/Site files to view these relations.
  • Bigger worlds will perform slower. Some pages with a lot of activity can take a few seconds to load. Be careful in the Era tab with events and era length, all events are filtered out by default. Selecting too many events and a lengthy era can result in GBs of memory being used and can take some time to generate the page.
  • Requires .NET 4 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en)

Archive Support
   -Tested with (zip/7zip/rar)
   -Must have these files in the archive
      -XML file
      -history file ending with "-world_history.txt"
      -sites and populations file ending with "-world_sites_and_pops.txt"
      -Map Image files (bmp/png/jpg/jpeg)
   -Any other files in the archive will be ignored without error.   
   
Troubleshooting
  • If images aren't showing up in pages or navigating pages doesn't work try updating Internet Explorer to the newest version.
  • If you encouter errors while loading files, first try restarting Dwarf Fortress and re-export all the files. If it still happens after that you can send me your files or world gen parameters and I will look into it.
« Last Edit: July 17, 2014, 07:03:02 am by Parker147 »
Logged

USEC_OFFICER

  • Bay Watcher
  • Pulls the strings and makes them ring.
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #1 on: December 09, 2010, 09:44:47 pm »

Posting to watch.

Anything else interesting you want to add?
Logged

Duelmaster409

  • Bay Watcher
  • [DOES_NOT_FIGHT]
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #2 on: December 09, 2010, 10:38:10 pm »

Hey this is pretty cool.
Logged
Dwarf fortress: Teaching uni level geology to sadistic elf killers for years.

Lovechild

  • Bay Watcher
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #4 on: December 10, 2010, 04:00:30 am »

Quote
Sort by Kills

Finally!
Logged
All Races Playable Mod - Minimal mod to play as any race in DF - For 0.50.01

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #5 on: December 10, 2010, 04:20:01 am »

*Notices blue writing*

Are those hyperlinks? AWWW MAH GAWD!!!!! I'm a happy person right now.

askovdk

  • Bay Watcher
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #6 on: December 10, 2010, 10:10:07 am »

Ditto.  :)
Links in the legends mode will move this application from good to very, very great. However, I notice that it is 'only' the name of the chosen entity that is blue, so the shown version may not have links. (?).
I enjoy researching the legends, but exactly the lack of links makes it sooo time consuming, so if you can create links, then you are a true hero.
Logged
My HMoM forts :
 Kindletours - A flying silver city.
 Boardstrap - Thermal borehole HoMM5 style.

Parker147

  • Bay Watcher
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #7 on: December 10, 2010, 10:24:52 am »

They are hyperlinks  :D . I took away the hyperlink formatting because it made the log look messy and the blue indicates the current thing you are looking at, which makes it easier to read.

Is there anywhere I can find saves with lots of dwarf / adventure mode play on them and that are exclusively played in 31.18? Haven't had time to play and I would like to see what events are unique to those modes. So when I can get home tonight I can start looking at that.
Logged

squeakyReaper

  • Bay Watcher
  • Legendary Cheese maker
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #8 on: December 10, 2010, 12:02:42 pm »

Wow I love this idea.  Sorting by kills will be amazing.

A quick feature request though.  Can you make it so that named creatures, like Giant Desert Scorpions, can be sorted out?  I particularly like legendary savage critters, but finding them in Legends mode is like a needle in a hay stack.  Perhaps make it so you can segregate by races; show only elves, or show only humans?
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #9 on: December 10, 2010, 12:42:02 pm »

The drop down box under 'sort kills' is exactly what that does, just forgot to label it.
Logged

Ratbert_CP

  • Bay Watcher
    • View Profile
    • The Enraged Primate
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #10 on: December 10, 2010, 12:57:50 pm »

Wait a second... After killing nearly 1,500 dwarves, this demon fell to a cave crawler?   :o   

Don't demons usually bully around entire Dark Fortresses for centuries and the like?

Either I need to stay focused on my forts longer (and get down to the caverns for a reasonable amount of time), or I need to decipher the raws...

edit: BTW, awesome looking app!  The sort of thing that makes chronicling a fort bearable for the non-literary and/or lazy, non-note-taking player!
Logged
Ratbert #CP#Z
"For FUN and HONOR!"

Vertigon

  • Bay Watcher
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #11 on: December 10, 2010, 02:04:22 pm »

I used to have to whip out tons of note cards when I wanted to dig deeper, but this looks like it'll make life much easier :D
Awaiting it's arrival eagerly.
Logged

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #12 on: December 10, 2010, 03:38:08 pm »

Wait a second... After killing nearly 1,500 dwarves, this demon fell to a cave crawler?   :o   

IIRC worldgen battles are a bit simpler and more random than real battles. And even when you're virtually invincible at some point someone's going to roll two dozen 20s in a row.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #13 on: December 10, 2010, 03:42:34 pm »

And trust me, when your using 12d, rolling 20 is a big thing.

Chromasphere

  • Bay Watcher
  • UUUUU,.,..,..,U,.""T"T"T"T""T
    • View Profile
Re: I've been working on recreating Legends Mode from the XML Dump.
« Reply #14 on: December 11, 2010, 08:58:44 am »

watching
Logged
"I saw the best minds of my generation destroyed by tantrums, starving hysterical naked,
    dragging themselves through the dwarven streets at dawn looking for a helpless cat"-Vaftrudner

"We aren't customers or investors - we're spectators tossing donations into the coin box while watching someone build their work of art"-Psieye
Pages: [1] 2 3 ... 44