|This article is about an older version of DF.|
An XML dump of a world's history can be generated from Legends mode by pressing , and will be placed in Dwarf Fortress' root folder. The dump consists of many internals Dwarf Fortress tracks about the world in XML format. A non-exhaustive breakdown of DF xml export tags is available here.
If you have played a fortress and then exported legends, you may get an error about unreadable HEX characters. This is caused by DFHack's workflow, which saves its settings as unreadable historical figures. There are several ways to fix this:
- Clear the workflow settings in fortress mode before exporting legends
- Edit the xml by hand, as described here (any platform)
- Use the Legends Processing script (windows only), which fixes the xml and also creates a compressed folder as described above