text parser and xml converter for dwarf fortress raw format