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 "40d:Utilities"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(this page was growing pretty cluttered... and could use some further cleanup)
Line 46: Line 46:
 
*[http://dffd.wimbli.com/ The Dwarf Fortress File Upload Service], an excellent place to store mods, community games, tilesets and other files. Courtesy of [http://www.dwarffortresswiki.net/index.php/User:Janus Janus]; for files related to Dwarf Fortress only.
 
*[http://dffd.wimbli.com/ The Dwarf Fortress File Upload Service], an excellent place to store mods, community games, tilesets and other files. Courtesy of [http://www.dwarffortresswiki.net/index.php/User:Janus Janus]; for files related to Dwarf Fortress only.
  
== Dwarf Companion ==
+
=== DwarfHeightmap ===
The [[User:Bartavelle/DwarfCompanion|Dwarf Companion]], created by [[User:Bartavelle|Bartavelle]] is a graphical helper utility for dwarf fortress that aims to fill the gaps in the user interface. It allows for some nefarious cheating. For example, you can now mark your nobles as butcherable, and change possessed dwarves to fey moods.
+
A utility that imports 24bit greyscale bitmaps into world_gen.txt for use in DF's map generator - [http://dffd.wimbli.com/file.php?id=389]
  
== [[User:Rick|Rick]]'s utilities ==
 
Fabulous tools made by the marvelous Rick. All Hail Rick!
 
  
=== [[User:Rick/Tweak|Gibbed's Dwarf Fortress Tweak]] ===
 
  
A toolset with many modules for tweaking / editing Dwarf Fortress memory. [[User:Rick/Tweak|Check the full article for more details]].
+
==Major Utilities==
 +
=== Dwarf Companion ===
 +
The [[User:Bartavelle/DwarfCompanion|Dwarf Companion]], created by [[User:Bartavelle|Bartavelle]] is a graphical helper utility for dwarf fortress that aims to fill the gaps in the user interface. It allows for some nefarious cheating. For example, you can now mark your nobles as butcherable, and change possessed dwarves to fey moods.
  
== Dwarf Foreman ==
+
=== Dwarf Foreman ===
 
[http://www.pavlovian.net/foreman/ Home page]. Makes switching jobs on and off for large numbers of dwarves simple. Dwarves are grouped by their profession, or custom profession if they have one. By clicking on the graph you can enable any job for all dwarves with that profession. Still in alpha for this version of DF, if it doesn't recognize one of the new professions, check the file '''debug.txt''' in the directory you run foreman from.
 
[http://www.pavlovian.net/foreman/ Home page]. Makes switching jobs on and off for large numbers of dwarves simple. Dwarves are grouped by their profession, or custom profession if they have one. By clicking on the graph you can enable any job for all dwarves with that profession. Still in alpha for this version of DF, if it doesn't recognize one of the new professions, check the file '''debug.txt''' in the directory you run foreman from.
  
Line 62: Line 61:
  
 
Dwarf Foreman currently allows you to change the jobs of visiting merchants, outpost liaisons, children, and any other dwarves that aren't normally controllable. It is unsupported but occasionally hilarious, and allows you to finally put those lazy dwarven children to work.
 
Dwarf Foreman currently allows you to change the jobs of visiting merchants, outpost liaisons, children, and any other dwarves that aren't normally controllable. It is unsupported but occasionally hilarious, and allows you to finally put those lazy dwarven children to work.
 
This handy utility would be an ideal complement to an updated LabourDF.
 
  
 
Source code is available.
 
Source code is available.
----
 
To make Foreman compatible with '''v0.27.168.33g''', download the new version and update the config file as shown below. - [http://forums.somethingawful.com/showthread.php?threadid=2677834&userid=0&perpage=40&pagenumber=74#post337422833 Originally posted by Mu.]
 
<pre>check=008c407c
 
critter_start=01427B50
 
dwarfidpos=01248AC8
 
profession_start=45c</pre>
 
  
To make Foreman compatible with '''v0.27.173.38a''', update config file as shown below.
+
To make Foreman compatible with '''v0.28.181.39f''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] for previous versions of DF.
 
<pre>
 
<pre>
check=01E30A43
+
check=036276be
critter_start=01450E98
+
critter_start=01575dec
dwarfidpos=01271E10
+
dwarfidpos=01382690
profession_start=45c
+
profession_start=0474
 
</pre>
 
</pre>
  
To make Foreman compatible with '''v0.27.176.38a''', update config file as shown below.
+
=== [[User:Rick/Tweak|Gibbed's Dwarf Fortress Tweak]] ===
<pre>
 
check=023401d3
 
critter_start=01463378
 
dwarfidpos=01284188
 
profession_start=480
 
</pre>
 
  
To make Foreman compatible with '''v0.27.176.38b''', update config file as shown below.
+
A toolset with many modules for tweaking / editing Dwarf Fortress memory. [[User:Rick/Tweak|Check the full article for more details]].
<pre>
 
check=01e3dbcc
 
critter_start=01463570
 
dwarfidpos=01284188
 
profession_start=0470
 
</pre>
 
  
To make Foreman compatible with '''v0.27.176.38c''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
+
=== Modbase ===
<pre>
 
check=01cf4654
 
critter_start=01464570
 
dwarfidpos=01285188
 
profession_start=0470
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39a''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
+
Modbase is a great tool made by Sean Mirrsen which allows you to freely swap mods and tweak game settings.
<pre>
+
[http://www.bay12games.com/forum/index.php?topic=18623.0 Get it now!]
check=01aa9d3a
+
For version 0.38c.
critter_start=015124f4
 
dwarfidpos=0131f1b8
 
profession_start=0474
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39b''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
 
<pre>
 
check=01a16957
 
critter_start=015134f4
 
dwarfidpos=013201b8
 
profession_start=0474
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39c''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
 
<pre>
 
check=01b89dbc
 
critter_start=01513514
 
dwarfidpos=013201d8
 
profession_start=0474
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39d''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
+
== Minor Utilities ==
<pre>
+
=== DF Log Parser ===
check=01b0747e
+
Written by Mephansteras
critter_start=0151f93c
 
dwarfidpos=0132c1e0
 
profession_start=0474
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39e''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
+
This is a perl script that parses through the logs to show what civs owned what sites, what thier overall populations were, and what the overall population levels of cave critters were. The output file makes it pretty easy to see how the various races are doing.
<pre>
 
check=01b76baa
 
critter_start=0151f93c
 
dwarfidpos=0132c1e0
 
profession_start=0474
 
</pre>
 
  
To make Foreman compatible with '''v0.28.181.39f''', update config file as shown below. Use the [[Talk:Utilities#Dwarf Foreman|talk page]] if it doesn't work.
+
You will see:
<pre>
+
Each Civilization, with overall ruler. Each site in that civ, with the local ruler. A summary of every entity in that civ.
check=036276be
+
A summary of every civ, by race
critter_start=01575dec
+
A listing of every Ruin
dwarfidpos=01382690
+
A listing of the total populations of cave critters
profession_start=0474
+
A listing of the total populations of civilized creatures
</pre>
 
  
== StartProfile ==
+
[http://dffd.wimbli.com/file.php?id=299 Raw perl script] - requires perl
Jifodus wrote a little utility that lets you maintain profiles of your starting dwarves.
+
[http://dffd.wimbli.com/file.php?id=311 Executable version] - does not require perl
  
Check the [http://www.bay12games.com/forum/index.php?topic=1447.0|thread on the forums] for the latest download link. (Aug 01, 2008)
+
=== DF World Generator ===
  
Incidentally, if you try this utility, please report success/failure in [[Talk:Utilities#StartProfile|the utilities talk page]].
+
Swiftly written supplement to the command line world generator. Written in Python, so you have to have Python installed to use this.
 +
Follow [http://dffd.wimbli.com/file.php?id=278 this] link to get to the file. It must be run from the command line and be in the DF Directory to work. Running the program with no parameters will provoke a short help-me dialog which will explain how to run it properly.
 +
Enjoy!
  
----
+
=== Dtil ===
 +
*[http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=2&t=001843 Forum Thread]
 +
Dtil is a general purpose tool host that supplies a dynamically generated SDK for plugin authors.
  
== [[User:0x517A5D|0x517A5D]]'s utilities ==
+
=== Embark Anywhere ===
 
+
*[http://www.bay12games.com/forum/index.php?topic=21351.0 Bay12Forums Thread]
<b>Attention!</b>  As the host site of these utilities is placing links to amateur pornographic videos on the download pages, these links are currently <b>Not Safe For Work!</b>  Please see my [[User_talk:0x517A5D|User Talk]] page for discussion and a blanket permission to take care of this <strike>issue</strike> problemSorry about this. &mdash;[[User:0x517A5D|0x517A5D]]
+
Code based on 0x517A5D's Regional Prospector (above), allows you to embark ANYWHERE, how well that works depends on where you decide to goPure water areas are a suggested no as you can't do anything.
  
 
=== Enable Magma Buildings ===
 
=== Enable Magma Buildings ===
Helper utility for Rick's reveal.exe<br/>
+
Helper utility for Rick's reveal.exe by 0x517A5D<br/>
 
[http://www.yourfilehost.com/media.php?cat=other&file=3935enable_magma_buildings.zip enable_magma_buildings.zip]
 
[http://www.yourfilehost.com/media.php?cat=other&file=3935enable_magma_buildings.zip enable_magma_buildings.zip]
  
Line 183: Line 131:
 
It is expected to work with future releases of Dwarf Fortress.
 
It is expected to work with future releases of Dwarf Fortress.
  
=== Regional Prospector ===
+
=== Just dig it out! ===
 +
A utility by Jifodus. Disables warning messages about damp stone and hot stone.
 +
[http://www.bay12games.com/forum/index.php?topic=21892.0 Thread] [http://www.geocities.com/jifodus/justdigitout.zip Utility]
  
For Dwarf Fortress 28.181.39a and newer: [http://www.bay12games.com/forum/index.php?topic=20643.0]
+
=== Nano Fortress ===
For older versions: [http://www.yourfilehost.com/media.php?cat=other&file=regional_prospector.zip regional_prospector.zip]''(Careful, download link contains images of pornography as ads.)''
+
A utility that will allow embarks to 1x1 locations.
 
+
[http://www.geocities.com/jifodus/nanofortress.zip Utility]
Dwarf Fortress 0.28.181.39d and newer implement some of the functionality of Regional Prospector.
 
 
 
A simple but very helpful utility that shows hidden map features at embark time. 
 
If you're trying to find the perfect start location by repeatedly embarking and
 
revealing, give this one a shot!
 
 
 
Map key:
 
:{{Raw Tile|≈|#F00|#AAA}}&nbsp;&nbsp;&nbsp;volcano; magma reaches the surface
 
:{{Raw Tile|~|#F00|#AAA}}&nbsp;&nbsp;&nbsp;underground magma pipe or magma pool
 
:{{Raw Tile|≈|#00F|#AAA}}&nbsp;&nbsp;&nbsp;underground river
 
:{{Raw Tile|~|#00F|#AAA}}&nbsp;&nbsp;&nbsp;underground pool
 
:{{Raw Tile|#|#000|#AAA}}&nbsp;&nbsp;&nbsp;chasm
 
:{{Raw Tile|£|#0FF|#AAA}}&nbsp;&nbsp;&nbsp;adamantine and pits
 
 
 
 
 
This utility has been made version-independent. 
 
It is known to work with all releases from 32a to 33g. 
 
It is expected to work with future releases of Dwarf Fortress,
 
as long as the embark code doesn't change too much.
 
 
 
Discussion and kudos can be left [[User_talk:0x517A5D#Seekret_Projekt|here]].
 
 
 
=== Latitudes ===
 
  
[http://www.yourfilehost.com/media.php?cat=other&file=latitudes.zip Latitudes] is a utility that, when on the embark map screen, shows the X/Y coordinates of the current region.  Until Toady adds [http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=5&t=002191 proper support], this will do the trick.  Works in .32a through at least .33g.  Technical notes: uses memory injection, so it may be flagged as a suspicious file by anti-virus programs.
+
=== Teleport ===
 
 
<!-- Temporarily withdrawn as I am experiencing crashes of DF when invoking the utility.<br/>&mdash;[[User:0x517A5D|0x517A5D]] 14:26, 31 December 2007 (EST) -->
 
<!-- The bug I was experiencing was a regression in my development version.  It
 
does not occur in the current release.  So everything's okay. -->
 
 
 
----
 
 
 
== Embark Anywhere ==
 
*[http://www.bay12games.com/forum/index.php?topic=21351.0 Bay12Forums Thread]
 
Code based on 0x517A5D's Regional Prospector (above), allows you to embark ANYWHERE, how well that works depends on where you decide to go.  Pure water areas are a suggested no as you can't do anything.
 
 
 
== Teleport ==
 
 
[http://angband.org/~erasmus/df/teleport22.zip teleport22.zip] -- Teleport dwarves and other creatures
 
[http://angband.org/~erasmus/df/teleport22.zip teleport22.zip] -- Teleport dwarves and other creatures
  
Line 231: Line 146:
 
Caveat: The teleport utility does not correctly set the occupancy flag for map squares.  As a results, dwarves will permanently crawl through the square that you teleported them out of.  In addition, you cannot build structures in those squares.
 
Caveat: The teleport utility does not correctly set the occupancy flag for map squares.  As a results, dwarves will permanently crawl through the square that you teleported them out of.  In addition, you cannot build structures in those squares.
  
== Water ==
 
[http://angband.org/~erasmus/df/water.exe water.exe] -- Quick hack to refill ponds.  Run this while your fortress is up, and it'll restore any "murky pool" tiles (i.e. the floor of ponds and lakes) to 7/7 water.  If you've tunneled into a pond, it'll still refill but will flow out normally.
 
  
Only works with version 33e due to its "quick hack" status.
 
  
Note:  If there is lava in a murky pool, it will be raised to depth 7/7.
+
== Miscellaneous ==
 +
These utilities were never designed with Dwarf Fortress in mind, but have been adapted to its use.
  
== Lava square ==
+
=== Accent Removal ===
[http://angband.org/~erasmus/df/lavasquare.exe lavasquare.exe] -- Another quick hack to make a 7/7 unit of lava on the currently selected square.  Ignore the random text it spams, as it was quickly adapted from a map query tool, and I didn't bother removing the print statements.
+
[[Image:Rj-unitlist.png|thumb|right|Replacing accented letters with normal ones in the raws fixes this problem.]]
 +
You can remove accents from your texts - this even works on existing worlds.
  
Only works with version 33e. To hack this executable for a later version of dwarf fortress see the [[Talk:Utilities#Lavasquare|talk page]].
+
1. Download [http://www.inforapid.de/html/searchreplace.htm Inforapid Search and Replace.]<br>
 +
2. Download [http://myfreefilehosting.com/f/59b18a517f_0.1MB this text file.]<br>
 +
3. Find the following files in DF\raw\objects:<br>
 +
*language_DWARF.txt
 +
*language_ELF.txt
 +
*language_GOBLIN.txt
 +
*language_HUMAN.txt
  
33g version plus autohotkey script: http://www.sendspace.com/file/xsl6gs --[[User:Jackard|Jackard]] 09:43, 13 January 2008 (EST)
+
4. Select them all, right-click and choose 'Search with InfoRapid' from the menu.<br>
----
+
5. Click the Replace tab that shows up in the lower half of the window.<br>
 +
6. Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.<br>
 +
7. A prompt will appear asking for confirmation. Check the Replace All button and click Yes.
  
 +
When the program stops running you are done. Go ahead and close InfoRapid, no need to save search results.
  
 +
=== [http://www.autohotkey.com/ AutoHotKey] ===
 +
AHK lets you define global hotkeys to send a sequence of keystrokes. For example, you can have {{key|alt}}+{{key|w}} replace {{key|b}}-{{key|C}}-{{key|w}}-{{key|Enter}}-{{key|Enter}} to make wall building much easier.  See [[Macros and Keymaps]] for a how-to and some example scripts. See [[:Category:ahk scripts]] for a list of user submitted scripts.
  
 +
=== Winmerge ===
  
== [http://en.wikipedia.org/wiki/Macro_%28computer_science%29 Macro Programs] ==
+
This utility allows you to compare folders or files. It highlights anything that does not fit in with the other file, so that you can see if you want to merge them into one file or not..
A program that lets you program scripts/macros so that when you press a certain key combination, or in any other fashion activates the program, a series of keystrokes is sent to the active program instead.
 
  
=== [http://www.autohotkey.com/ AutoHotKey] ===
+
Download at [http://winmerge.org/].
AHK lets you define global hotkeys to send a sequence of keystrokes. For example, you can have {{key|alt}}+{{key|w}} replace {{key|b}}-{{key|C}}-{{key|w}}-{{key|Enter}}-{{key|Enter}} to make wall building much easier.  See [[Macros and Keymaps]] for a how-to and some example scripts.
 
----
 
See [[:Category:ahk scripts]] for a list of user submitted scripts.
 
----
 
  
  
== Winmerge ==
 
 
This utility allows you to compare folders or files. It highlights anything that does not fit in with the other file, so that you can see if you want to merge them into one file or not..
 
  
Download at [http://winmerge.org/].
+
== Outdated Utilities ==
[[User:Omagaalpha|Omagaalpha]] 08:30, 13 February 2008 (EST)
+
These programs are for previous versions of Dwarf Fortress, and have been left untouched for some time.
Edit:--[[User:AtomicTroop|AtomicTroop]] 12:15, 23 March 2008 (EDT)
 
  
== DFWall ==
+
=== DFWall ===
  
 
An utility for automatisation of mass constructions. Features three modes:
 
An utility for automatisation of mass constructions. Features three modes:
Line 281: Line 198:
 
3. Pattern construction - make a pattern file and have stuff constructed according to it ([http://mkv25.net/dfma/movie-520-dfwalldemo2 DEMO]).
 
3. Pattern construction - make a pattern file and have stuff constructed according to it ([http://mkv25.net/dfma/movie-520-dfwalldemo2 DEMO]).
  
 +
For more details look here: [http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=2&t=001847 link]
 +
Get the newest version here: [http://dffd.wimbli.com/file.php?id=108 link]
  
For more details look here: [http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=2&t=001847 link]
+
=== Latitudes ===
  
Get the newest version here: [http://dffd.wimbli.com/file.php?id=108 link]
+
[http://www.yourfilehost.com/media.php?cat=other&file=latitudes.zip Latitudes] is a utility that, when on the embark map screen, shows the X/Y coordinates of the current region.  Until Toady adds [http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=5&t=002191 proper support], this will do the trick.  Works in .32a through at least .33g.  Technical notes: uses memory injection, so it may be flagged as a suspicious file by anti-virus programs.
  
== Accent Removal ==
+
=== Lava square ===
[[Image:Rj-unitlist.png|thumb|right|Replacing accented letters with normal ones in the raws fixes this problem.]]
+
[http://angband.org/~erasmus/df/lavasquare.exe lavasquare.exe] -- Another quick hack to make a 7/7 unit of lava on the currently selected square.  Ignore the random text it spams, as it was quickly adapted from a map query tool, and I didn't bother removing the print statements.
You can remove accents from your texts - this even works on existing worlds.
 
  
1. Download [http://www.inforapid.de/html/searchreplace.htm Inforapid Search and Replace.]<br>
+
Only works with version 33e. To hack this executable for a later version of dwarf fortress see the [[Talk:Utilities#Lavasquare|talk page]].
2. Download [http://myfreefilehosting.com/f/59b18a517f_0.1MB this text file.]<br>
 
3. Find the following files in DF\raw\objects:<br>
 
*language_DWARF.txt
 
*language_ELF.txt
 
*language_GOBLIN.txt
 
*language_HUMAN.txt
 
  
4. Select them all, right-click and choose 'Search with InfoRapid' from the menu.<br>
+
33g version plus autohotkey script: http://www.sendspace.com/file/xsl6gs
5. Click the Replace tab that shows up in the lower half of the window.<br>
 
6. Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.<br>
 
7. A prompt will appear asking for confirmation. Check the Replace All button and click Yes.
 
  
When the program stops running you are done. Go ahead and close InfoRapid, no need to save search results. --[[User:Jackard|Jackard]] 07:24, 17 August 2008 (EDT)
+
=== Regional Prospector ===
  
== Dtil ==
+
For Dwarf Fortress 28.181.39a and newer: [http://www.bay12games.com/forum/index.php?topic=20643.0]
*[http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=2&t=001843 Forum Thread]
+
For older versions: [http://www.yourfilehost.com/media.php?cat=other&file=regional_prospector.zip regional_prospector.zip]''(Careful, download link contains images of pornography as ads.)''
Dtil is a general purpose tool host that supplies a dynamically generated SDK for plugin authors.
 
  
== Modbase ==
+
Dwarf Fortress 0.28.181.39d and newer implement some of the functionality of Regional Prospector.
  
Modbase is a great tool made by Sean Mirrsen which allows you to freely swap mods and tweak game settings.
+
A simple but very helpful utility that shows hidden map features at embark time. 
[http://www.bay12games.com/forum/index.php?topic=18623.0 Get it now!]
+
If you're trying to find the perfect start location by repeatedly embarking and  
For version 0.38c.
+
revealing, give this one a shot!
  
== DF World Generator ==
+
Map key:
 +
:{{Raw Tile|≈|#F00|#AAA}}&nbsp;&nbsp;&nbsp;volcano; magma reaches the surface
 +
:{{Raw Tile|~|#F00|#AAA}}&nbsp;&nbsp;&nbsp;underground magma pipe or magma pool
 +
:{{Raw Tile|≈|#00F|#AAA}}&nbsp;&nbsp;&nbsp;underground river
 +
:{{Raw Tile|~|#00F|#AAA}}&nbsp;&nbsp;&nbsp;underground pool
 +
:{{Raw Tile|#|#000|#AAA}}&nbsp;&nbsp;&nbsp;chasm
 +
:{{Raw Tile|£|#0FF|#AAA}}&nbsp;&nbsp;&nbsp;adamantine and pits
  
Swiftly written supplement to the command line world generator. Written in Python, so you have to have Python installed to use this.
 
Follow [http://dffd.wimbli.com/file.php?id=278 this] link to get to the file. It must be run from the command line and be in the DF Directory to work. Running the program with no parameters will provoke a short help-me dialog which will explain how to run it properly.
 
Enjoy!
 
  
== DF Log Parser ==
+
This utility has been made version-independent. 
Written by Mephansteras
+
It is known to work with all releases from 32a to 33g. 
 +
It is expected to work with future releases of Dwarf Fortress,
 +
as long as the embark code doesn't change too much.
  
This is a perl script that parses through the logs to show what civs owned what sites, what thier overall populations were, and what the overall population levels of cave critters were. The output file makes it pretty easy to see how the various races are doing.
+
Discussion and kudos can be left [[User_talk:0x517A5D#Seekret_Projekt|here]].
  
You will see:
+
=== StartProfile ===
Each Civilization, with overall ruler. Each site in that civ, with the local ruler. A summary of every entity in that civ.
+
Jifodus wrote a little utility that lets you maintain profiles of your starting dwarves.
A summary of every civ, by race
 
A listing of every Ruin
 
A listing of the total populations of cave critters
 
A listing of the total populations of civilized creatures
 
  
[http://dffd.wimbli.com/file.php?id=299 Raw perl script] - requires perl
+
Check the [http://www.bay12games.com/forum/index.php?topic=1447.0|thread on the forums] for the latest download link. (Aug 01, 2008)
[http://dffd.wimbli.com/file.php?id=311 Executable version] - does not require perl
 
  
== Just dig it out! ==
+
Incidentally, if you try this utility, please report success/failure in [[Talk:Utilities#StartProfile|the utilities talk page]].
A utility by Jifodus. Disables warning messages about damp stone and hot stone.
 
[http://www.bay12games.com/forum/index.php?topic=21892.0 Thread] [http://www.geocities.com/jifodus/justdigitout.zip Utility]
 
  
== Nano Fortress ==
+
=== Water ===
A utility that will allow embarks to 1x1 locations.
+
[http://angband.org/~erasmus/df/water.exe water.exe] -- Quick hack to refill ponds.  Run this while your fortress is up, and it'll restore any "murky pool" tiles (i.e. the floor of ponds and lakes) to 7/7 water.  If you've tunneled into a pond, it'll still refill but will flow out normally.
[http://www.geocities.com/jifodus/nanofortress.zip Utility]
 
  
== DwarfHeightmap ==
+
Only works with version 33e due to its "quick hack" status. Note: If there is lava in a murky pool, it will be raised to depth 7/7.
A utility that imports 24bit greyscale bitmaps into world_gen.txt for use in DF's map generator - [http://dffd.wimbli.com/file.php?id=389]
 

Revision as of 12:06, 17 August 2008

Here are third party applications developed for Dwarf Fortress.

Movies, Screenshots, Map Files

DF Map Compressor / DF Map Archive

The DF Map Compressor encodes multiple bitmaps exported from Dwarf Fortress into a single, very compressed, .fdf-map file. The fdf-map file can then be shared with your friends by uploading to the DF Map Archive that features an online viewer (written in Flash).

The map compressor was created by Shadowlord in May 2007. Extract from the website :

"The DF Map Compressor is a program I made to encode Dwarf Fortress fortress or world map images into a much smaller format than is possible with normal image formats. Here's a quick summary of how it works: It determines the size of your tiles from your DF font file (or asks you), splits the map up into tiles, identifies duplicate tiles, writes out every unique tile image, and then writes out a list of ID#s for each tile position which points to the tile image for that tile. What it outputs is piped through the LZMA compressor (the one used in 7-zip), to compress it further. The .df-map file which it writes out is usually less than 100 KB in size. (By comparison, a PNG of the same map can exceed 2 megabytes, depending on how well you compress it, whether you change the color depth, and whether you are using a graphical tileset or detailed font)."

Read more about the DF Map Archive on Markavian's User page.

CMVPlayer

Download CMVPlayer.zip

First released by Jifodus in April 2007. This application enables playback of the DF movies (.cmv) without starting DF. It also provides some more functionalities, such as :

  • Rewind
  • Pause
  • Play frame per frame

To use, simply unzip the file, and drop and drag the movie on CMVPlayer.exe.


3Dwarf Visualizer - a tool to view maps in 3D

This is NOT realtime, that is still a long, long way off. What this does is read the map out of your computer's memory when DF is running and save it to a file it can read. It can then open that file and show you your fort in glorious 3d. Still in beta, obviously.

Dwarvis / MapExtract

This project is meant as a 3rd party utility for the cult-game dwarf fortress. Its purpose is to eventually provide 3-dimensional visualization of static snapshots of the ingame world of a given fortress.

Terrain Visualizer - view worldmaps in 3D

This utilizes version 0.28.181.39d's built in Legends Mode map exporter and a generic HeightMap terrain visualizer. Nothing super fancy, but neat to look at. Get the 3D Terrain Viewer here, follow the instructions in the Bay12Forums Thread if you need help getting set up.

Or if you want super pretty maps, see this topic, and get Terragen!

Dwarf Fortress File Depot

DwarfHeightmap

A utility that imports 24bit greyscale bitmaps into world_gen.txt for use in DF's map generator - [1]


Major Utilities

Dwarf Companion

The Dwarf Companion, created by Bartavelle is a graphical helper utility for dwarf fortress that aims to fill the gaps in the user interface. It allows for some nefarious cheating. For example, you can now mark your nobles as butcherable, and change possessed dwarves to fey moods.

Dwarf Foreman

Home page. Makes switching jobs on and off for large numbers of dwarves simple. Dwarves are grouped by their profession, or custom profession if they have one. By clicking on the graph you can enable any job for all dwarves with that profession. Still in alpha for this version of DF, if it doesn't recognize one of the new professions, check the file debug.txt in the directory you run foreman from.

Though prone to crashing currently, saving and exiting DF, starting foreman and then starting DF again will usually get it working again. Zorba would also appreciate it if you'd email him the crash log located in the Dwarf Foreman directory when this happens (zorba-foremancrash@pavlovian.net).

Dwarf Foreman currently allows you to change the jobs of visiting merchants, outpost liaisons, children, and any other dwarves that aren't normally controllable. It is unsupported but occasionally hilarious, and allows you to finally put those lazy dwarven children to work.

Source code is available.

To make Foreman compatible with v0.28.181.39f, update config file as shown below. Use the talk page for previous versions of DF.

check=036276be
critter_start=01575dec
dwarfidpos=01382690
profession_start=0474

Gibbed's Dwarf Fortress Tweak

A toolset with many modules for tweaking / editing Dwarf Fortress memory. Check the full article for more details.

Modbase

Modbase is a great tool made by Sean Mirrsen which allows you to freely swap mods and tweak game settings. Get it now! For version 0.38c.


Minor Utilities

DF Log Parser

Written by Mephansteras

This is a perl script that parses through the logs to show what civs owned what sites, what thier overall populations were, and what the overall population levels of cave critters were. The output file makes it pretty easy to see how the various races are doing.

You will see: Each Civilization, with overall ruler. Each site in that civ, with the local ruler. A summary of every entity in that civ. A summary of every civ, by race A listing of every Ruin A listing of the total populations of cave critters A listing of the total populations of civilized creatures

Raw perl script - requires perl Executable version - does not require perl

DF World Generator

Swiftly written supplement to the command line world generator. Written in Python, so you have to have Python installed to use this. Follow this link to get to the file. It must be run from the command line and be in the DF Directory to work. Running the program with no parameters will provoke a short help-me dialog which will explain how to run it properly. Enjoy!

Dtil

Dtil is a general purpose tool host that supplies a dynamically generated SDK for plugin authors.

Embark Anywhere

Code based on 0x517A5D's Regional Prospector (above), allows you to embark ANYWHERE, how well that works depends on where you decide to go. Pure water areas are a suggested no as you can't do anything.

Enable Magma Buildings

Helper utility for Rick's reveal.exe by 0x517A5D
enable_magma_buildings.zip

You need this utility in the case that you used the reveal utility, and you had not yet discovered any subsurface magma. (If the hide utility is ever updated, you could also hide a few magma tiles and then dig them out. That worked in the old version.)

Because there is no actual flag that controls whether magma has been seen (the game searches a list, probably a list of notable events), I had to patch the game's code. This means you need to run the utility every time you start dwarfort.exe.

This utility has been made version-independent. It is expected to work with future releases of Dwarf Fortress.

Just dig it out!

A utility by Jifodus. Disables warning messages about damp stone and hot stone. Thread Utility

Nano Fortress

A utility that will allow embarks to 1x1 locations. Utility

Teleport

teleport22.zip -- Teleport dwarves and other creatures

Version 2.2 is really now independent of the DF version. (33c)

Caveat: The teleport utility does not correctly set the occupancy flag for map squares. As a results, dwarves will permanently crawl through the square that you teleported them out of. In addition, you cannot build structures in those squares.


Miscellaneous

These utilities were never designed with Dwarf Fortress in mind, but have been adapted to its use.

Accent Removal

Replacing accented letters with normal ones in the raws fixes this problem.

You can remove accents from your texts - this even works on existing worlds.

1. Download Inforapid Search and Replace.
2. Download this text file.
3. Find the following files in DF\raw\objects:

  • language_DWARF.txt
  • language_ELF.txt
  • language_GOBLIN.txt
  • language_HUMAN.txt

4. Select them all, right-click and choose 'Search with InfoRapid' from the menu.
5. Click the Replace tab that shows up in the lower half of the window.
6. Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.
7. A prompt will appear asking for confirmation. Check the Replace All button and click Yes.

When the program stops running you are done. Go ahead and close InfoRapid, no need to save search results.

AutoHotKey

AHK lets you define global hotkeys to send a sequence of keystrokes. For example, you can have alt+w replace b-C-w-Enter-Enter to make wall building much easier. See Macros and Keymaps for a how-to and some example scripts. See Category:ahk scripts for a list of user submitted scripts.

Winmerge

This utility allows you to compare folders or files. It highlights anything that does not fit in with the other file, so that you can see if you want to merge them into one file or not..

Download at [2].


Outdated Utilities

These programs are for previous versions of Dwarf Fortress, and have been left untouched for some time.

DFWall

An utility for automatisation of mass constructions. Features three modes:

1. Rectangle rewalling - quickly build a rectangle of walls/floors using:

a) the same saved material every time (DEMO)

b) any material with at least 1/10/99 units

2. Quick reselect (for ANY single unit construction) - save that green glass box and never again have to look for it between all the bags!

3. Pattern construction - make a pattern file and have stuff constructed according to it (DEMO).

For more details look here: link Get the newest version here: link

Latitudes

Latitudes is a utility that, when on the embark map screen, shows the X/Y coordinates of the current region. Until Toady adds proper support, this will do the trick. Works in .32a through at least .33g. Technical notes: uses memory injection, so it may be flagged as a suspicious file by anti-virus programs.

Lava square

lavasquare.exe -- Another quick hack to make a 7/7 unit of lava on the currently selected square. Ignore the random text it spams, as it was quickly adapted from a map query tool, and I didn't bother removing the print statements.

Only works with version 33e. To hack this executable for a later version of dwarf fortress see the talk page.

33g version plus autohotkey script: http://www.sendspace.com/file/xsl6gs

Regional Prospector

For Dwarf Fortress 28.181.39a and newer: [3] For older versions: regional_prospector.zip(Careful, download link contains images of pornography as ads.)

Dwarf Fortress 0.28.181.39d and newer implement some of the functionality of Regional Prospector.

A simple but very helpful utility that shows hidden map features at embark time. If you're trying to find the perfect start location by repeatedly embarking and revealing, give this one a shot!

Map key:

   volcano; magma reaches the surface
~   underground magma pipe or magma pool
   underground river
~   underground pool
#   chasm
£   adamantine and pits


This utility has been made version-independent. It is known to work with all releases from 32a to 33g. It is expected to work with future releases of Dwarf Fortress, as long as the embark code doesn't change too much.

Discussion and kudos can be left here.

StartProfile

Jifodus wrote a little utility that lets you maintain profiles of your starting dwarves.

Check the on the forums for the latest download link. (Aug 01, 2008)

Incidentally, if you try this utility, please report success/failure in the utilities talk page.

Water

water.exe -- Quick hack to refill ponds. Run this while your fortress is up, and it'll restore any "murky pool" tiles (i.e. the floor of ponds and lakes) to 7/7 water. If you've tunneled into a pond, it'll still refill but will flow out normally.

Only works with version 33e due to its "quick hack" status. Note: If there is lava in a murky pool, it will be raised to depth 7/7.