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.

Editing 40d Talk:Utilities

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
__TOC__
+
== DF File Depot ==
 
 
 
 
=== Dwarf Fortress File Depot ===
 
 
Would be great to get the majority of these uploaded to the [http://dffd.wimbli.com/ Dwarf Fortress File Depot (DFFD)].  I'm having trouble with some of the currently linked hosting sites.  I've just gotten Regional Prospector, so I'll see about getting that one up.  Thanks guys! --[[User:SlMagnvox|SlMagnvox]] 14:33, 25 February 2008 (EST)
 
Would be great to get the majority of these uploaded to the [http://dffd.wimbli.com/ Dwarf Fortress File Depot (DFFD)].  I'm having trouble with some of the currently linked hosting sites.  I've just gotten Regional Prospector, so I'll see about getting that one up.  Thanks guys! --[[User:SlMagnvox|SlMagnvox]] 14:33, 25 February 2008 (EST)
  
 +
== External Utilities ==
 +
I thinking any Utilities that not made specifically for Dwarf fortress should put together at bottom which I have done. My question should we mark area with header say External utilities? [[User:Omagaalpha|Omagaalpha]] 08:22, 14 February 2008 (EST)
  
<hr>
+
== AutoHotKey ==
 
 
  
=== Accent Removal ===
 
I added the accent removal utility here from [[Accent Removal]], since that's about to be deleted. However, none of Wikipedia's show-hide-box stuff works here (I assumed it would...), so it's a big glob of pre-formatted text in there that should be hidden. Could someone do it? [[User:Zardus|Zardus]] 00:51, 15 May 2008 (EDT)
 
:[[User:Jackard/Accent_Removal|Accent removal tutorial]] contains detailed instructions on the subject. I think, we could replace the whole thing on utility page with one link. [[User:Nophotoavailable|Nophotoavailable]] 20:58, 1 August 2008 (EDT)
 
 
=== AutoHotKey ===
 
 
Should autohotkey be added as a utility tool for dwarf fortress? I know a few forum users have used it to do repetitive tasks like room designations, maybe it could have its own page and a few dwarf fortress specific script?--[[User:Thehunterunseen|Thehunterunseen]] 20:43, 31 October 2007 (EDT)
 
Should autohotkey be added as a utility tool for dwarf fortress? I know a few forum users have used it to do repetitive tasks like room designations, maybe it could have its own page and a few dwarf fortress specific script?--[[User:Thehunterunseen|Thehunterunseen]] 20:43, 31 October 2007 (EDT)
  
Line 40: Line 33:
 
::::::AHK does tend to do wierd stuff in DF, but most of it is predictable. A lot of wierd errors that make no sense can be fixed by explicitely telling the script to focus on the Dwarf Fortress window, as well as generous Sleep statements. I found while rewalling a 30x30 outline, sleep 100 worked fine for the first two sides but posted about half of the second two. Sleep 150 placed the second two somewhat erraticly. Sleep 200 got the second two just fine. --[[User:Knivesu|Knivesu]] 10:22, 23 December 2007 (EST)
 
::::::AHK does tend to do wierd stuff in DF, but most of it is predictable. A lot of wierd errors that make no sense can be fixed by explicitely telling the script to focus on the Dwarf Fortress window, as well as generous Sleep statements. I found while rewalling a 30x30 outline, sleep 100 worked fine for the first two sides but posted about half of the second two. Sleep 150 placed the second two somewhat erraticly. Sleep 200 got the second two just fine. --[[User:Knivesu|Knivesu]] 10:22, 23 December 2007 (EST)
  
:::::::Just tested, and the weird behavior of AHK does not happen in DF 38c, but does happen in 40d11 (I came back to DF after time away).  I have tried altering my scripts in a ton of ways to get them working with 40d11, to no avail (Changing key delay, using sendplay or sendinput instead of send, etc).  So, perhaps there is hope that it will magically work right again in a later release.  [[User:Nephelim|Nephelim]] 00:06, 23 June 2009 (UTC)
+
== Dwarf Foreman ==
  
=== Dwarf Foreman ===
 
 
Foreman is looking at the wrong address for the units... which is not a good sign, since I've seen it in the address it seems to be looking at.  I've also seen it bounce around.  Definitely not a good sign if the list location isn't static.  Or we're just looking at the wrong one completely. --[[User:AzureLightning|AzureLightning]]
 
Foreman is looking at the wrong address for the units... which is not a good sign, since I've seen it in the address it seems to be looking at.  I've also seen it bounce around.  Definitely not a good sign if the list location isn't static.  Or we're just looking at the wrong one completely. --[[User:AzureLightning|AzureLightning]]
  
Line 56: Line 48:
 
Does anyone know the values for v0.28.181.39f? --[[User:Aristoi|Aristoi]] 18:18, 10 August 2008 (EDT)
 
Does anyone know the values for v0.28.181.39f? --[[User:Aristoi|Aristoi]] 18:18, 10 August 2008 (EDT)
  
:Still no word on 39f? Perhaps we can get a little write-up on how to discover the appropriate values added to the foreman homepage. That way, when a new version of DF is released, any number of people could search for and contribute the new values, instead of depending on the few people who already know the process. --[[User:SWSaunders|SWSaunders]] 09:10, 12 August 2008 (ADT)
+
:Still no word on 39f? Perhaps we can get a little write-up on how to discover the appropriate values added to the foreman homepage. That way, when a new version of DF is released, any number of people could search for and contribute the new values, instead of depending on the few people who already know the process. --[[SWSaunders|SWSaunders]] 09:10, 12 August 2008 (ADT)
  
 
::Thanks Jerethi50, beat me to it.  When I went to enter the values you already had!  SWSaunders:  What I did (having never done this before) was to download a memory viewer (HxD hexeditor) and then look at the old version vs the new version in memory.  In the old version, I found the character at the dwarfidpos address and searched forward till I found that in the new file.  For critter_start I went to the old process and found it there, then searched forward in the new process till I found the pattern match (it wasn't too far).  The data was different but the pattern was the same.  The profession offset hasn't changed so I left it as is. --[[User:Aristoi|Aristoi]] 11:13, 12 August 2008 (EDT)
 
::Thanks Jerethi50, beat me to it.  When I went to enter the values you already had!  SWSaunders:  What I did (having never done this before) was to download a memory viewer (HxD hexeditor) and then look at the old version vs the new version in memory.  In the old version, I found the character at the dwarfidpos address and searched forward till I found that in the new file.  For critter_start I went to the old process and found it there, then searched forward in the new process till I found the pattern match (it wasn't too far).  The data was different but the pattern was the same.  The profession offset hasn't changed so I left it as is. --[[User:Aristoi|Aristoi]] 11:13, 12 August 2008 (EDT)
Line 62: Line 54:
 
:::That's exactly how I do it, except I have written a program that does it for me, since it saves time. I also tend to forget to post Dwarf Foreman's new config during updating. Usually I remember to update the tables at http://www.geocities.com/jifodus/tables/ini_jifodus/ and that has all the information you'd need (critter_start=[creature_data].base; profession_start=[creature_data].jobs); however, it seems I didn't update it this last go around. If you wander around my website, you should be able to find enough information posted there (provided you can understand it all) to learn how to update foreman for yourself. --[[User:Jifodus|Jifodus]] 22:22, 14 August 2008 (EDT)
 
:::That's exactly how I do it, except I have written a program that does it for me, since it saves time. I also tend to forget to post Dwarf Foreman's new config during updating. Usually I remember to update the tables at http://www.geocities.com/jifodus/tables/ini_jifodus/ and that has all the information you'd need (critter_start=[creature_data].base; profession_start=[creature_data].jobs); however, it seems I didn't update it this last go around. If you wander around my website, you should be able to find enough information posted there (provided you can understand it all) to learn how to update foreman for yourself. --[[User:Jifodus|Jifodus]] 22:22, 14 August 2008 (EDT)
  
::::Can someone that understands all this go through and get up to 40d13 information for what to put in the config file? Because I honestly have no idea where to start on this, but I really don't want to downgrade to an earlier one after seeing how much better 40d13 is running for me than the older versions were. [[User:Shardok|Shardok]] 20:30, 6 August 2009 (UTC)
 
  
 
To make Foreman compatible with previous versions of Dwarf Fortress, update the config file as shown below.
 
To make Foreman compatible with previous versions of Dwarf Fortress, update the config file as shown below.
  
==== v0.27.168.33g ====
+
=== v0.27.168.33g ===
 
<pre>check=008c407c
 
<pre>check=008c407c
 
critter_start=01427B50
 
critter_start=01427B50
Line 72: Line 63:
 
profession_start=45c</pre>
 
profession_start=45c</pre>
  
==== v0.27.173.38a ====
+
=== v0.27.173.38a ===
 
<pre>
 
<pre>
 
check=01E30A43
 
check=01E30A43
Line 80: Line 71:
 
</pre>
 
</pre>
  
==== v0.27.176.38a ====
+
=== v0.27.176.38a ===
 
<pre>
 
<pre>
 
check=023401d3
 
check=023401d3
Line 88: Line 79:
 
</pre>
 
</pre>
  
==== v0.27.176.38b ====
+
=== v0.27.176.38b ===
 
<pre>
 
<pre>
 
check=01e3dbcc
 
check=01e3dbcc
Line 96: Line 87:
 
</pre>
 
</pre>
  
==== v0.27.176.38c ====
+
=== v0.27.176.38c ===
 
<pre>
 
<pre>
 
check=01cf4654
 
check=01cf4654
Line 104: Line 95:
 
</pre>
 
</pre>
  
==== v0.28.181.39a ====
+
=== v0.28.181.39a ===
 
<pre>
 
<pre>
 
check=01aa9d3a
 
check=01aa9d3a
Line 112: Line 103:
 
</pre>
 
</pre>
  
==== v0.28.181.39b ====
+
=== v0.28.181.39b ===
 
<pre>
 
<pre>
 
check=01a16957
 
check=01a16957
Line 120: Line 111:
 
</pre>
 
</pre>
  
==== v0.28.181.39c ====
+
=== v0.28.181.39c ===
 
<pre>
 
<pre>
 
check=01b89dbc
 
check=01b89dbc
Line 128: Line 119:
 
</pre>
 
</pre>
  
==== v0.28.181.39d ====
+
=== v0.28.181.39d ===
 
<pre>
 
<pre>
 
check=01b0747e
 
check=01b0747e
Line 136: Line 127:
 
</pre>
 
</pre>
  
==== v0.28.181.39e ====
+
=== v0.28.181.39e ===
 
<pre>
 
<pre>
 
check=01b76baa
 
check=01b76baa
Line 144: Line 135:
 
</pre>
 
</pre>
  
==== v0.28.181.39f ====
+
=== v0.28.181.39f ===
 
<pre>
 
<pre>
 
check=036276be
 
check=036276be
Line 152: Line 143:
 
</pre>
 
</pre>
  
==== v0.28.181.40a ====
+
== Yourfilehost ==
<pre>
+
 
check=03186cb3
+
Yourfilehost.com has kind of a lousy reputation, and I can confirm it's blocked on certain college networks.  Could someone upload these utilities to a more reputable host? -- Mzbundifund 15:55, 04 November 2007 (EDT)
critter_start=0158222c
+
: Such as? --[[User:Rick|Rick]] 18:03, 4 November 2007 (EST)
dwarfidpos=0138e698
+
:: Megaupload, rapidshare, filefactory, you pick one --[[User:Digger|Digger]] 17:40, 24 February 2008 (EST)
profession_start=0474
+
:::Uh, you know there is a special site for uploading DF files now, right? It's linked on the main page. Screw those other guys. --[[User:Jackard|Jackard]] 17:53, 24 February 2008 (EST)
</pre>
+
::::I say we scrap this section, then. --[[User:Digger|Digger]] 18:28, 24 February 2008 (EST)
 +
 
 +
==heal.exe==
 +
 
 +
heal.exe does not regrow missing limbs.  However, "heal -hurt" on the command line brings missing limbs to red status, and "heal" thereafter restores the being to full health.
 +
 
 +
I propose a -regrow parameter so we don't have to do this workaround, since if it's possible to bring missing limbs from dark grey to red status it's also possible to grow them back.
 +
 
 +
Also, when using the -hurt parameter, it still says "059E7210 had 31 body parts '''healed'''", when it should probably say "wounded". --[[User:JT|JT]] 17:58, 10 November 2007 (EST)
 +
 
 +
: Hmm, if it does heal missing limbs then I just need to change my logic slightly for healing. --[[User:Rick|Rick]] 19:01, 10 November 2007 (EST)
 +
 
 +
==reveal.exe==
 +
 
 +
From what I've tested, reveal for 33a does not work for 33b. --[[User:Sparksol|Sparksol]] 13:39, 17 November 2007 (EST)
 +
 
 +
:Correct.  It uses hardcoded offsets, which will change every time new code is added to DF.
 +
:I have a version hacked for .33b, which I will not distribute out of respect for Rick.
 +
:However, if you are skilled with a hex editor, here's what to do: change the first 5 occurances of the pattern 85 45 01 to the pattern 95 45 01.  (The 6th occurance of the pattern is a coincidental match and should not be changed.)  Then change the pattern 8C 33 89 00 to the pattern 8C 43 89 00.<br/>&mdash;[[User:0x517A5D|0x517A5D]] 02:31, 19 November 2007 (EST)
 +
 
 +
:Actually, as it happens, it looks like Rick has produced updated versions of his tools for .33b.  They were built on the 16th.  However he hasn't linked to them.  I don't know why.  The URL they're at requests that no links be made to them, so I'm not going to tell you. Sorry, you'll just have to do the hexedit.<br/>&mdash;[[User:0x517A5D|0x517A5D]] 02:45, 19 November 2007 (EST)
 +
 
 +
:I just havn't mirrored them yet, that's all. --[[User:Rick|Rick]] 03:10, 19 November 2007 (EST)
 +
::Hey, I'm curious why the file sizes ballooned.  Reveal went from 52k to 101k, a doubling in size.  Heal grew even more.  Maybe you didn't strip debugging info?<br/>&mdash;[[User:0x517A5D|0x517A5D]] 15:42, 19 November 2007 (EST)
 +
:::Usage of std libraries mostly. I made a library for working with DF so I wouldn't have to keep duplicating code through projects, and when writing it I figured I might as well make it more friendly for me to code in, hence usage of std:: stuff. --[[User:Rick|Rick]] 19:00, 19 November 2007 (EST)
 +
 
 +
:Whenever I try to open reveal.exe, the window will open up for a millisecond and then immedietely close. Is this a problem with the program or my windows? I am assuming its windows since everyone else seems to be able to use it. Has anyone else had this problem?--[[User:Varsashi|Varsashi]] 17:59, 26 November 2007 (EST)
 +
 
 +
::It hasn't been updated to work with 33c, and doesn't. Hopefully it will be updated soon. If you're using 33b, it should open and close quickly but reveal all allocated squares. To allocate all squares for revealing, I'll repeat the advice I've seen elsewhere: go to the lowest level and designate the entire level for digging, then remove the dig designation and run the reveal utility. --[[User:Janus|Janus]] 20:08, 26 November 2007 (EST)
 +
 
 +
So how do people feel about deleting this section, and probably the heal.exe section above too?<br/>&mdash;[[User:0x517A5D|0x517A5D]] 00:56, 23 December 2007 (EST)
 +
 
 +
Does anybody know which version works with 38b? And can you also give me the link? --[[User:CrazyMcfobo|CrazyMcfobo]] 16:51, 15 April 2008 (EDT)
 +
 
 +
I went back to look for reveal.exe for the older version of DF I play (I've been sticking to the last good version where we still had the original mountain, 23.13.23a), but the file seems to have been corrupted at that place it's uploaded to. Now when I try to use it it says it's not a valid win32 application, and it's a 0-byte file after unzipping. Is there a good version up somewhere else still? --[[User:KittenyKat|KittenyKat]] 11:52, 16 April 2008 (EDT)
 +
 
 +
==How to use warp.exe?==
 +
How do you use warp.exe? There's no information on how to use these on the page.--[[User:Demosthenes|Demosthenes]] 02:10, 21 November 2007 (EST)
 +
: <code>warp.exe</code> by itself will list your current cursor position. After you have the position you want to warp a creature to, you do <code>warp.exe <x> <y> <z></code> as arguments, and it will warp the selected creature (selected with 'V'iew) to that destination, if it can. --[[User:Rick|Rick]] 18:10, 21 November 2007 (EST)
 +
 
 +
==StartProfile==
 +
Perhaps, I don't understand how to use this correctly.  I'm using 33e, and the StartProfile linked in the Utils section.  I'm supposed to use this util at the Prepare for the Journey screen, correct?  I tried testing the export function with the first dwarf, with no skills assigned.  startprofile.exe -x 0 test.txt What I got back was:<br/>
 +
<code>
 +
Mining: 1348403210<br/>
 +
Wood Cutter: 1565676876<br/>
 +
Carpenter: 3801123<br/>
 +
Engraving: 34079120<br/>
 +
Record Keepe: 2293770<br/>
 +
Liar: 34341293<br/>
 +
Intimidator: 16843009<br/>
 +
Conversationalist: 16843009<br/>
 +
Comedian: 16843009<br/>
 +
Flatterer: 16843009<br/>
 +
Consoler: 16843009<br/>
 +
Pacifier: 16843009<br/>
 +
</code>
 +
When I try to set a dwarf's skills using StartProfile I end up with huge amounts of either negative or positive points available, with no changes being made to the dwarf's skills.  <br/ >--[[User:Stu72|Stu72]] 09:23, 11 December 2007 (EST)
 +
: The offset for the skills must have changed. I guess I should've actually checked that, and not have assumed that just because the other values were correct, the skills were still correct. I'll check it out and post the appropriate fix. -- [[User:Jifodus|Jifodus]]
 +
: The appropriate fix is redownloading it, when I hex edited the exe I messed it up field. -- [[User:Jifodus|Jifodus]]
 +
:: Thanks, works beautifully.  It's a terrific time saver. --[[User:Stu72|Stu72]] 15:30, 14 December 2007 (EST)
 +
 
 +
How does one use this? The readme isn't very helpful. --[[User:Jackard|Jackard]] 01:08, 27 November 2007 (EST)
 +
: Not knowing exactly what you're having trouble understanding, I'll give examples (the one thing I forgot to add in the readme).<br /><code>startprofile 0 Miner.txt</code> - This will set the skill profile of the first Dwarf, in the list of units, to the skills in Miner.txt<br /><code>startprofile 1 Jeweler.txt</code> - This will set the skills on the second Dwarf, in the list of units, to the skills in Jeweler.txt<br /><code>startprofile -x 3 Customprofile.txt</code> - This will save the set of skills on the fourth Dwarf to Customprofile.txt<br /><code>startprofile -v0.27.169.33b 0 Miner.txt</code> Same as the first example, except it'll work on the previous version of Dwarf Fortress.<br />-- [[User:Jifodus|Jifodus]] 03:28, 27 November 2007 (EST)
 +
::Thanks, I'll try that out. --[[User:Jackard|Jackard]] 21:21, 27 November 2007 (EST)
 +
 
 +
If you wish to edit the executable, you can modify it so that it works with 0.27.169.33d by making the following changes with a hex editor:
 +
Offset  Overwrite With
 +
----------------------------
 +
  2A530 | 98 16 25 01 04 00 00 00 DC 00 00 00 F0 08 00 00 70 00 00 00 C0 01 00 00
 +
  2A6A6 | 30 2E 32 37 2E 31 36 39 2E 33 33 64
 +
  2A77C | 02
 +
-- [[User:Jifodus|Jifodus]] 20:14, 3 December 2007 (EST)
 +
:CBW; PUSH SS; AND EAX, 00000401h; ADD AH, BL; ADD [EAX], AL; ... 
 +
:That makes no sense.  Must be missing something off the head end.
 +
:3 unknown bytes; ADD [EAX+EAX], EAX; ...  No better.  Worse, even.
 +
:4 unknown bytes; ADD AL, 00h; ADD [EAX], AL; ...  Unh uh.  Don't think so.
 +
:8 unknown bytes; ESC-4(00); ...  Floating point?  Really?  No way.
 +
:12 unknown bytes; LOCK OR [EAX], AL ...  Insane.
 +
:I don't know what those bytes are, but they're not code.&mdash;[[User:0x517A5D|0x517A5D]] 23:23, 3 December 2007 (EST)
 +
::You're right, they're data. First Row is (left to right, 5 dwords): [[User:Jifodus/Memory research#Addresses_3|Start Address]], Offset from address at start address, Dwarf List begin offset, Starting points offset, Skills offset, remaining skill points points. Second row is a character string (15 chars max). Third row is a dword indicating which data index is default.
 +
:: <tt>//Start Addr, O, Lizt, Ponts, Skll, Remain</tt>
 +
:: <tt>{ 0x01251698, 4, 0xDC, 0x8F0, 0x70, 0x1C0 }</tt> - The read/write locations and whatnot
 +
:: <tt>"0.27.169.33d"</tt> - Used for string comparison (-v flag)
 +
:: <tt>2</tt> - The default version to use is the third in the list (what the above just added).
 +
:: Configuration data can be found between 'DATA_SET' and 'TES_ATAD'. The list has enough space for 16 versions (3 are now in use). I'll just say I didn't want to have to recompile it for all the versions -- [[User:Jifodus|Jifodus]] 21:52, 6 December 2007 (EST)
 +
If you wish to edit the executable, you can modify it so that it works with 0.27.169.33e by making the following changes with a hex editor:
 +
Offset  Overwrite With
 +
----------------------------
 +
  2A550 |"98 26 25 01"04 00 00 00 DC 00 00 00 F0 08 00 00 70 00 00 00 C0 01 00 00
 +
  2A6B5 | 30 2E 32 37 2E 31 36 39 2E 33 33"65"
 +
  2A77C |"03"
 +
 
 +
== Patching Lavasquare ==
 +
 
 +
Due to someone being interested in running lavasquare on version 33g, I determined how to patch the exe to work with later versions. With a hex editor, open lavasquare.exe and find and replace with appropriate values (replace the X's with the values underneath for the version you want). I only tested it for 33f, but I'm assuming that the values for 33g are correct (since I got them off the wiki).
 +
 
 +
(CursorX)
 +
FIND: EE 57 68 88 E2 8F 00 FF 35
 +
REPLACE: EE 57 68 XX XX XX 0X FF 35
 +
33f         88 F2 8F  0
 +
33g         88 62 90  0
 +
38a         88 F2 92  0
 +
 
 +
(CursorY)
 +
FIND: EC 57 68 8C E2 8F 00 FF 35
 +
REPLACE: EC 57 68 XX XX XX 0X FF 35
 +
33f         8C F2 8F  0
 +
33g         8C 62 90  0
 +
38a         8C F2 92  0
 +
 
 +
(CursorZ)
 +
FIND: E6 57 68 90 E2 8F 00 FF 35
 +
REPLACE: E6 57 68 XX XX XX 0X FF 35
 +
33f         90 F2 8F  0
 +
33g         90 62 90  0
 +
38a         90 F2 92  0
 +
 
 +
(MapBlocks)
 +
FIND: FC 57 68 60 15 46 01 FF 35
 +
REPLACE: FC 57 68 XX XX XX 0X FF 35
 +
33f         68 25 46  1
 +
33g         80 96 46  1
 +
38a         CC 29 49  1
  
==== v0.28.181.40c ====
+
(To exit immediately after writing, since I don't want to
<pre>check=032e896f
+
verify the other offsets)
critter_start=0158222c
+
FIND: FF 35 5C 80 40 00 E8 88 61 00 00 0F BF 7D
dwarfidpos=0138e698
+
F8 57 0F BF 7D FA 57 8B 7D FC 81 C7 60 06
profession_start=0474</pre>
+
00 00
 +
REPLACE: FF 35 5C 80 40 00 E8 88 61 00 00 6A FF FF
 +
25 6C B1 40 00 CC CC CC CC CC CC CC CC CC
 +
CC CC
 +
-- [[User:Jifodus|Jifodus]] 02:05, 25 December 2007 (EST)
  
==== v0.28.181.40d2 ====
+
To modify the above for the same behavior as water:
<pre>
+
FIND: 07 00 20 00
check=01807735
+
REPLACE: 07 00 00 00
critter_start=014D1404
+
-- [[User:Jifodus|Jifodus]] 17:09, 29 December 2007 (EST)
dwarfidpos=012DD2F8
 
profession_start=00000544
 
</pre>
 
  
==== v0.28.181.40d3 ====
+
Addresses for 0.27.173.38a:
<pre>
+
CursorX 0x0092F288
check=0191B535
+
CursorY 0x0092F28C
critter_start=014D341C
+
CursorZ 0x0092F290
dwarfidpos=012DF310
+
MapBlocks 0x014929CC
profession_start=00000544
+
Offsets are still the same.
</pre>
+
-- [[User:Jifodus|Jifodus]] 19:14, 7 February 2008 (EST)
  
==== v0.28.181.40d4 ====
+
Addresses for 0.27.173.38c: (These worked for me, but I'm not an expert on this stuff.)
<pre>
+
  CursorX 0x0094228C
check=0190599F
+
  CursorY 0x00942290
critter_start=014D341C
+
  CursorZ 0x00942294
dwarfidpos=012DF310
+
  MapBlocks 0x014A60A4
profession_start=00000544
+
--[[User:Dorundain|Dorundain]] 22:21, 6 March 2008 (EST)
</pre>
 
  
==== v0.28.181.40d5 ====
+
Where is the Mapblocks found in the hex code? 0x01461560.MAP_DATA_MEM is the closest thing I can find.
<pre>
 
check=019687A7
 
critter_start=014D5434
 
dwarfidpos=012E1328
 
profession_start=00000544
 
</pre>
 
  
==== v0.28.181.40d6 ====
+
--[[User:Silveron|Silveron]] 08:57, 22 March 2008 (EDT)       
<pre>
 
check=018D14AA
 
critter_start=014EDE3C
 
dwarfidpos=012F9D30
 
profession_start=00000544
 
</pre>
 
  
==== v0.28.181.40d7 ====
 
<pre>
 
check=01A78193
 
critter_start=014EDFCC
 
dwarfidpos=012F9EC0
 
profession_start=00000544
 
</pre>
 
  
==== v0.28.181.40d8 ====
+
----
<pre>
 
check=01860A3C
 
critter_start=014EDFCC
 
dwarfidpos=012F9EC0
 
profession_start=00000544
 
</pre>
 
  
==== v0.28.181.40d9 ====
+
== Lavasquare Popup? ==
<pre>
 
check=01318B82
 
critter_start=014EDFCC
 
dwarfidpos=012F9EC0
 
profession_start=00000544
 
</pre>
 
  
==Regional Prospector?==
+
How do I remove the prompt? It is a painful thing for large projects. The macro below helps some, though. --[[User:Jackard|Jackard]] 08:05, 4 January 2008 (EST)
I notice the Regional Prospector utility is no longer listed - what happened to it and did it get updated to the newest version? --[[User:Squirrelloid|Squirrelloid]] 05:20, 20 November 2008 (EST)
 
:The functionality is now provided on the embark screen, so the utility is obsolete. [[User:Random832|Random832]] 08:38, 20 November 2008 (EST)
 
::Except it really isn't.  Yeah, I can have it search the world for a site for me, but it doesn't tell me where exactly those features are - so if I want to play with size or location a little bit I don't know if I'm losing anything. It also returns only one hit, which can make finding the type of site you want hard, especially as some variables (tree cover, relative elevation, diversity of alignment/biomes) can't be searched over making that first hit with an underground river and magma pipe (or whatever) not necessarily the one you want. --[[User:Squirrelloid|Squirrelloid]] 10:42, 20 November 2008 (EST)
 
:::Yes, it is. Regional Prospector would make the game show various features on the local embark map such as chasms, magma vents and magma pools. This is now supported natively by changing the "SHOW_EMBARK_???" variables in the init.txt file to "ALWAYS". Same functionality. The site finder feature which you're referring to is an additional feature, which indeed doesn't yet work perfectly. --[[User:Janus|Janus]] 11:06, 20 November 2008 (EST)
 
  
::::Similar variables have to be set during worldgen, although I believe they are set to "show" by default.--[[User:Maximus|Maximus]] 12:44, 20 November 2008 (EST)
+
#Persistent
 +
SetTimer, CloseLava, 100
 +
return
 +
 +
CloseLava:
 +
WinClose, lcc runtime
 +
return
 +
 +
del::
 +
IfWinActive Dwarf Fortress
 +
{
 +
  send {down}
 +
  run C:\Program Files\Dwarf Fortress\Utilities\lavasquare 33g.exe
 +
  return
 +
}
 +
else
 +
{
 +
  send {del}
 +
  return
 +
}
  
: Say, does anyone know of a list that explains the symbols that Prospector uses? It took me forever to be certain that a red single tilde was a magma pool, while a red double-tilde (a.k.a. squiggly equal sign) was a magma ''pipe'', and there are still a couple symbols I'm not sure about...
+
== Lavasquare ==
:--[[User:Macdjord|Macdjord]] 13:12, 20 November 2008 (EST)
 
:: There used to be a map key in the '''RP''' section.  [[http://www.dwarffortresswiki.net/index.php?title=Utilities&oldid=28602#Regional_Prospector history]]
 
  
== Lifevis?! ==
+
Why does it seemingly stop working after a while? It runs but summons no magma/lava. --[[User:Spelguru|Spelguru]] 12:28, 18 January 2008 (EST)
 +
:No idea, never run into the problem though I've used it quite thoroughly. --[[User:Jackard|Jackard]] 17:52, 18 January 2008 (EST)
 +
:I've run into this once. Restarting DF fixed the problem. --[[User:SquirrelFarmer|SquirrelFarmer]] 09:50, 29 January 2008 (EST)
  
There's a realtime replacement for 3Dwarf out: [http://www.bay12games.com/forum/index.php?topic=29314.0] (yes, i made the thread, but no i don't claim any credit for the util.) It should '''totally''' be added to the list! But where?
+
== Water ==
:Wow I just took a look at Lifevis, it's really something special! I guess it would come under "Movies, Screenshots, Map Files" best, although perhaps we need a whole new "3d utilities" section. Either way, it should definitely be included.
 
  
== Dwarf Foreman Vista ==
+
Could someone make an updated version? Having to slaughter anyone who gets injured just because the rain-filling-ponds doesn't work properly yet is annoying. -Shadow_archamgi, February 27 2008
  
Whenever I try to run Dwarf Foreman in Vista I get a message saying "Couldn't connect to Dwarf Fortress, Is it Running?". Any ideas?  I'm using 40d9 and have the latest updates to the config file.
+
==Weatherdwarf==
 +
I can't find the page, but it's a utility that lets you change the temperature of an area and allows for some crazy stuff. Look it up on the forums; I have a community fortress to tend to. --[[User:Penguinofhonor|Penguinofhonor]] 20:18, 3 March 2008 (EST)
  
:As is standard for most DF Utilities, you'll probably need to be running in Admin, or otherwise ensure that the program has access to edit memory locations of another program. Other than that, Sorry, no idea. --[[User:N9103|Edward]] 11:15, 20 March 2009 (UTC)
+
== Accent Removal ==
  
::Problem's probably "40d9", most of the utilities haven't been upgraded since "40d" --[[User:Solarshado|Solarshado]] 21:49, 20 March 2009 (UTC)
+
I added the accent removal utility here from [[Accent Removal]], since that's about to be deleted. However, none of Wikipedia's show-hide-box stuff works here (I assumed it would...), so it's a big glob of pre-formatted text in there that should be hidden. Could someone do it? [[User:Zardus|Zardus]] 00:51, 15 May 2008 (EDT)
 +
:[[User:Jackard/Accent_Removal|Accent removal tutorial]] contains detailed instructions on the subject. I think, we could replace the whole thing on utility page with one link. [[User:Nophotoavailable|Nophotoavailable]] 20:58, 1 August 2008 (EDT)
  
:Try this: rename the "Dwarf Fortress.exe" file to "dwarfort.exe".  Also use put this text in a file named "config" in the Foreman directory:
+
== DFWall ==
<pre>check=01318B82
 
critter_start=014EDFCC
 
dwarfidpos=012F9EC0
 
profession_start=00000544</pre>
 
:That got Foreman working for me under XP.  It is my understanding that there are issues for some Vista users <small>(the Dwarf Fortress executable is being relocated away from its natural base address for some currently-unknown reason)</small>, so this may not work for you.  Please post a reply especially if it does not work for you.<br/>&mdash;[[User:0x517A5D|0x517A5D]] 00:48, 21 March 2009 (UTC)
 
  
== Dwarf Therapist for the 40d* series ==
+
Mostly directed at the author here, but is there any feature that's useful that's not native? --[[User:N9103|Edward]] 00:57, 31 July 2008 (EDT)
[http://www.bay12games.com/forum/index.php?topic=46841 40d* update branch] - from the forum post: <blockquote>
 
Note: Currently works on windows with all versions from 39a-40d, 40d2-40d19_2 and all linux versions from 40d2-40d19!
 
</blockquote> --[[User:Altaree|Altaree]] 13:11, 24 March 2010 (UTC)
 
=== Other ===
 
  
So, what happened to the utilities such as granite.exe and ore.exe? No mention of them anymore, or did just nobody bother remaking them for 40d? Honestly I still play the old '2D' version of the game without the z axis, so I like being able to find those utils. xD --[[User:Kittenykat|Kittenykat]] 21:37, 9 March 2010 (UTC)
+
:I'm fairly sure the features it has weren't native when created, but, since then, Toady has increased the native features of DF.
:They're somewhere on DFFD - search for "23a" and they should show up. --[[User:Quietust|Quietust]] 15:27, 24 March 2010 (UTC)
+
:Somebody really needs to clean up the utilities page. --[[User:Savok|Savok]] 10:00, 15 August 2008 (EDT)

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)