- 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.
Difference between revisions of "40d:Utilities"
(moved Accent Removal utility here since its page is going to be deleted. However, it takes up a lot of room. If someone who knows how can make it a show-hide-box, that'd be awesome.) |
|||
Line 339: | Line 339: | ||
</Command> | </Command> | ||
</pre> | </pre> | ||
+ | |||
+ | == 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. |
Revision as of 00:24, 9 June 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
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.
Dwarf Fortress File Depot
- The Dwarf Fortress File Upload Service, an excellent place to store mods, community games, tilesets and other files. Courtesy of Janus; for files related to Dwarf Fortress only.
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 some for some nefarious cheating. For example, you can now mark your nobles as butcherable, and change possessed dwarves to fey moods.
Rick's utilities
Fabulous tools made by the marvelous Rick. All Hail Rick!
Gibbed's Dwarf Fortress Tweak
A toolset with many modules for tweaking / editing Dwarf Fortress memory. Check the full article for more details.
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.
This handy utility would be an ideal complement to an updated LabourDF.
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. - Originally posted by Mu.
check=008c407c critter_start=01427B50 dwarfidpos=01248AC8 profession_start=45c
To make Foreman compatible with v0.27.173.38a, update config file as shown below.
check=01E30A43 critter_start=01450E98 dwarfidpos=01271E10 profession_start=45c
To make Foreman compatible with v0.27.176.38a, update config file as shown below.
check=023401d3 critter_start=01463378 dwarfidpos=01284188 profession_start=480
To make Foreman compatible with v0.27.176.38b, update config file as shown below.
check=01e3dbcc critter_start=01463570 dwarfidpos=01284188 profession_start=0470
To make Foreman compatible with v0.27.176.38c, update config file as shown below. Use the talk page if it doesn't work.
check=01cf4654 critter_start=01464570 dwarfidpos=01285188 profession_start=0470
StartProfile
Jifodus wrote a little utility that lets you maintain profiles of your starting dwarves. Works for versions 0.27.169.33b, 0.27.169.33c, 0.27.169.33d, and 0.27.169.33e. Check the readme to find out how to switch between the different versions. If you wish to patch the executable yourself, please check the utilities talk page.
Obsolete: StartProfile utility
Incidentally, if you try this utility, please report success/failure in the utilities talk page.
0x517A5D's utilities
Attention! As the host site of these utilities is placing links to amateur pornographic videos on the download pages, these links are currently Not Safe For Work! Please see my User Talk page for discussion and a blanket permission to take care of this issue problem. Sorry about this. —0x517A5D
Enable Magma Buildings
Helper utility for Rick's reveal.exe
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.
Regional Prospector
regional_prospector.zip(Careful, download link contains images of pornography as ads.)
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.
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.
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.
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.
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 --Jackard 09:43, 13 January 2008 (EST)
DF Merge by Ikkonoishi
A quick and dirty utility to merge the DF data files together. I plan on making it scriptable so that you can use it to combine mods together easily and sort out any conflicts. Right now it is only useful to merge init files together for different versions of DF. Any values that are shared across the two files are combined with the values from the source overwriting the destination. You then click on the text to select it and copy it into the init.txt file of the new version.
Get it at http://www.mediafire.com/?d3yosptjze0
Macro Programs
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.
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 [1]. Omagaalpha 08:30, 13 February 2008 (EST) Edit:--AtomicTroop 12:15, 23 March 2008 (EDT)
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
Accent Removal
This is a batch file compatible with InfoRapid Search & Replace.
It is used on the following raws to remove accented letters from translations:
- language_DWARF.txt
- language_ELF.txt
- language_GOBLIN.txt
- language_HUMAN.txt
This could be useful for character sets that render accents improperly. Please remember to backup your raws before doing crazy things like this.
<Command> <Search>„</Search> <Replace>a</Replace> </Command> <Command> <Search> </Search> <Replace>a</Replace> </Command> <Command> <Search>ƒ</Search> <Replace>a</Replace> </Command> <Command> <Search>†</Search> <Replace>a</Replace> </Command> <Command> <Search>…</Search> <Replace>a</Replace> </Command> <Command> <Search>‡</Search> <Replace>c</Replace> </Command> <Command> <Search>‚</Search> <Replace>e</Replace> </Command> <Command> <Search>Š</Search> <Replace>e</Replace> </Command> <Command> <Search>ˆ</Search> <Replace>e</Replace> </Command> <Command> <Search>‰</Search> <Replace>e</Replace> </Command> <Command> <Search>¡</Search> <Replace>i</Replace> </Command> <Command> <Search></Search> <Replace>i</Replace> </Command> <Command> <Search>Œ</Search> <Replace>i</Replace> </Command> <Command> <Search>‹</Search> <Replace>i</Replace> </Command> <Command> <Search>¤</Search> <Replace>n</Replace> </Command> <Command> <Search>•</Search> <Replace>o</Replace> </Command> <Command> <Search>”</Search> <Replace>o</Replace> </Command> <Command> <Search>“</Search> <Replace>o</Replace> </Command> <Command> <Search>¢</Search> <Replace>o</Replace> </Command> <Command> <Search>—</Search> <Replace>u</Replace> </Command> <Command> <Search>–</Search> <Replace>u</Replace> </Command> <Command> <Search>£</Search> <Replace>u</Replace> </Command> <Command> <Search>˜</Search> <Replace>y</Replace> </Command>
Dtil
Dtil is a general purpose tool host that supplies a dynamically generated SDK for plugin authors.