Dwarf Fortress to Minecraft Map conversion utility
For the last few weeks, I've been working on a Dwarf Fortress to Minecraft map conversion utility.
Based on DFHack, it will read the memory of a running Dwarf Fortress game and convert the local map into a Minecraft Indev .mclevel file.
You can use this utility as a sort of 3D visualizer for your Dwarf Fortress map, or use it as a way of using Dwarf Fortress to make building huge constructions in Minecraft easier.
(Windows only for now)
Source code: http://github.com/TroZ/DF2MC
It works by converting each 'square' in Dwarf Fortress into a NxNxN block of cubes in Minecraft, looking up how to convert each object in a settings xml file that can be user modified. The default file that I provide converts each 'square' into a 3x3x3 block of cubes, but other sizes are possible. I currently have nearly 1000 objects defined.
Only outputs Indev .mclevel files, not Alpha 'infinite' levels, so level sizes are limited by memory and must be played at http://www.minecraft.com/indev
This also limits the available block types (no doors or furnaces is biggest issue)
Lighting is not calculated, so level starts out dark until game can calculate the lighting over the first few minutes of play.
Building, tree, and plant 'material' isn't read/used yet, but terrain and construction materials are.
I'm mainly a Java developer, and only use windows, so the git project can best be described as 'bare bones'. Help creating a project that could be compiled on windows or linux with different compilers would be appreciated.
Some example output:http://troz.shackspace.com/minecraft/df2mc/woodcastle3.mclevel
df map: http://mkv25.net/dfma/map-9322-roadracedhttp://troz.shackspace.com/minecraft/df2mc/floodtrade.mclevel
df map (about 6 months earlier due to building buildings to test): http://mkv25.net/dfma/map-9358-masterrazors
I have to thank Toady One and Notch for creating awesome games.
So try it out, tell me what you think, and if you are able, contribute code to this project!