v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.34:XML dump"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (link, ')
(added link to list of tags used in the xml)
Line 1: Line 1:
 
{{quality|Fine|05:56, 8 February 2013 (UTC)}}{{av}}
 
{{quality|Fine|05:56, 8 February 2013 (UTC)}}{{av}}
  
An '''XML dump''' of a [[region|world]]'s history can be generated from [[Legends]] mode by pressing {{k|x}}, and will be placed in Dwarf Fortress' root folder. The dump consists of many internals Dwarf Fortress tracks about the world in [[wikipedia:XML|XML format]].
+
An '''XML dump''' of a [[region|world]]'s history can be generated from [[Legends]] mode by pressing {{k|x}}, and will be placed in Dwarf Fortress' root folder. The dump consists of many internals Dwarf Fortress tracks about the world in [[wikipedia:XML|XML format]].  A non-exhaustive breakdown of DF xml export tags is available [http://pastebin.com/wb2zLvRh here].
  
 
If you have played a fortress and then exported legends, you may get an error about unreadable HEX characters.  This is caused by [[utility:dfhack|dfhack]]'s workflow, which saves its settings as unreadable historical figures.  There are several ways to fix this:  
 
If you have played a fortress and then exported legends, you may get an error about unreadable HEX characters.  This is caused by [[utility:dfhack|dfhack]]'s workflow, which saves its settings as unreadable historical figures.  There are several ways to fix this:  

Revision as of 05:29, 1 May 2014

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 x, 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

See Also