Kromtec / LegendsViewer

Recreates Dwarf Fortress' Legends Mode from exported files.
GNU General Public License v3.0
62 stars 19 forks source link

Bay12Forum Thread DFFD Download Build status

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.

Getting the data from Dwarf Fortress:

:high_brightness: If you are already playing a fort or adventure on the save you want to use, you need to:

  • Make a copy of your save!!!
  • Abandon or retire your fortress/adventure on the copy
  • Enter DF legends mode on the copy

Recommended: (requires DFHack which is usually included in the Lazy Newb Pack)

  1. Enter DF legends mode on the save you want to export
  2. Switch to the DFHack window
  3. Enter the command exportlegends info and press enter
    1. this command generates all files you need and an additional file with the ending legends_plus.xml
    2. the legends_plus.xml file contains a lot of information that is missing if you export via the old way

Or use the old way:

  1. Enter Legends Mode.
  2. Export the XML (x)
  3. Export Map/Gen Information (p)
  4. (Optional)
    1. Export Additional Detailed Maps (d)
    2. Archive/Compress files

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)

Using Legends Viewer

General

CTRL+Click on any links, lists, or buttons opens pages in a new tab.

Searching

Map

Advanced Search

Things to note: :blue_book:

Archive Support

Troubleshooting