- 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.
Utility:Dwarf Fortress Map Archive
The Dwarf Fortress Map Archive (shorthand DFMA) is a repository and online flash-based viewer for player created maps and movies exported from Dwarf Fortress (it also provides some fairly interesting imaging tools for maps). The map archive serves as the most efficient to serve maps and in-game videos to other players of the game. While an account is not necessary to contribute to the site, registering allows users to reserve a username and manage their submissions. Uploads to the site can be commented on and tiles on the maps can be tagged as "points of interest" by both uploaders and viewers. Viewing items on the site requires flash - you can also download the files directly onto your computer.
Uploading a map
Map imagings are exported out of the game as regular old bitmaps, which leads to hugely unnecessary file sizes. These maps can be greatly compresses them into a lossless compressed file format optimized for the game's repetitious tileset, .FDF-MAP, creating files are 1500 to 2000 times smaller than equivalent 28-layer bitmaps and 20 to 50 times smaller than equivalent PNG files. This makes them small enough to upload and transfer across the web without chewing up bandwidth; a 150MB output file can be delivered for as little as ~100kb.
- If you wish to export your local map:
- Load your fortress, then press Esc and scroll down to the "Export Local Image" option.
- The game's algorithm selects all z-levels with units or buildings on them for export; depending on what you want you can toggle which layers to export to your liking. Once you are ready, export. This will create a number of BMP files in your Dwarf Fortress root install folder (the same one that the game's main EXE is located in), with each image representing a layer.
- If you wish to export the world map:
- Unfortunately it is not possible to export the world map while you have a fortress saved in that world. An easy workaround is to duplicate the save file and abandon the fortress. After you have exported the world map, you can simply move the save file back into its folder, and your fort will be playable again.
- Press p to "Export image/info" at either the world generation acceptance screen or the main Legends mode screen. Legends mode also provides you with the ability to export detailed maps showcasing certain map features, which you can also do.
- Download Shadowlord's DF Map Compressor (version 3.3.4). The program can be run remotely, but you will need an unzipper because it comes in ZIP format. This is actually a pretty comprehensive tool, and allows lossless compression to and from a number of formats, but for our purposes the archive only reads .FDF-MAP files. Compress image(s) to .fdf-map file, then navigate to an image and select it. The program will ask you where you want to place the resultant file, then find all related image files and collate them into one file. You may wish to check "Delete images after compressing" to get rid of the original BMP files; you can also Preview .fdf-map file (before uploading)..
Troubleshooting: The map compressor should work with all tilesets, graphic or otherwise, but if it is giving you trouble try reverting to the game's basic character set. Games running on version 0.23.130.23a and earlier will not work properly because they are missing file definitions that the program needs. - Once you have a working .FDF-MAP file, Visit Markavian's DF Map Archive (or just navigate there yourself on the web) and hit Upload Map (direct link). Fill out the form, hit Upload Map, and your file should appear on the site's server shortly.
Uploading a movie
Dwarf Fortress movies can be recorded in-game and stored in the CMV format, created by Toady One for precisely that purpose. This format is efficient, but still uncompressed, and improvements to the algorithm have led to the creation of the CCMV and then the FCMV format. For instance, the original tragedy mule demonstration file is 1637 KB in CMV format, 616 KB in CCMV format, and 292 KB in FCMV format. The DF Map Compressor can also compress CMV files into CCMV and FCMV ones, but as the Archive only accepts CMVs and compresses them into CCMV form itself, this is mostly for show.
- If you have a graphic tileset enabled, disable it. Unlike .FDF-MAPs, the CMV movie format will not play nice with these, and will cause all sorts of strange output.
- Record a movie. This is done with the ; key: once in the menu you can start a recording with r, continue the game as normal, and then once you are done you can play it back and save it (you will be prompted for a filename). You can also load old movies. Given a default install, the movies will be saved in the Data > Movies subfolder of your main Dwarf Fortress directory.
- Navigate to the Upload Movie section of the Archive (direct link), fill out the form, and hit Upload Movie. Voila! It should appear on the site.
Key features
Taken from site navgation
- Upload maps
- Browse maps
- View maps using online viewer (Requires Flash Player 9)
- Add map commments
- Add points of interest (Requires JavaScript)
- Browse points of interest
- Browse comments
- Upload movies
- Browse movies
- View movies using online viewer (Requires Flash Player 9)
- Add movie comments
- Movie comments
Key facts
- Web address: http://mkv25.net/dfma/
- Created and maintained by Markavian
- Map Compressor was created by SL (ShadowLord)
- Online CMV player created by Gonbon for ingame movies (CMV) created by players.