A set of small utilities and a script to process the files exported from Dwarf Fortress's Legends Mode