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 (Changed quality rating from "Fine" to "Superior" using the rating script)
 
Line 4: Line 4:
 
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].
 
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:  
 
* Clear the workflow settings in fortress mode before exporting legends
 
* Clear the workflow settings in fortress mode before exporting legends
 
* Edit the xml by hand, [http://www.bay12forums.com/smf/index.php?topic=72702.msg4629392#msg4629392 as described here] (any platform)
 
* Edit the xml by hand, [http://www.bay12forums.com/smf/index.php?topic=72702.msg4629392#msg4629392 as described here] (any platform)

Latest revision as of 17:50, 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[edit]