<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Loudwhitenoise</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Loudwhitenoise"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Loudwhitenoise"/>
	<updated>2026-04-14T00:40:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=80885</id>
		<title>Utility Talk:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=80885"/>
		<updated>2010-04-03T08:49:51Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I did some cleaning (actually I just removed most of it).&lt;br /&gt;
&lt;br /&gt;
== Compatibility with Mods ==&lt;br /&gt;
&lt;br /&gt;
Was working with the Dig Deeper mod, and found that it doesn't work with modded in creatures at all. That's a let-down. [[User:Jwguy|Jwguy]] 07:55, 5 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Not actual anymore. Works with all creatures, whether modded or not.  --[[User:Blur|Blur]] 18:30, 8 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Not working ==&lt;br /&gt;
&lt;br /&gt;
I'm on 40d, and have followed the instructions on the page, (GTK Win32 runtime, Python 2.5, All three modules, and the Program), started the program up before and after Dwarf Fortress, just to see if I did it wrong the first time, and it doesn't work. The Program just has some category tabs and a few buttons, but never shows any data. [[User:Jwguy|Jwguy]] 18:31, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Additionally, in case it might help, all I am getting is a single box with Refresh, All Creatures, Only Dwarves, etc. There doesn't seem to be a load function or anything. I'd really appreciate some help with this. [[User:Jwguy|Jwguy]] 18:41, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Here's a screenshot of what I am dealing with, also: http://i64.photobucket.com/albums/h178/Jwguy/Notworking2.jpg . It was also suggested to me that I may need something called Pango, which doesn't seem to be mentioned on the wiki, anywhere. [[User:Jwguy|Jwguy]] 21:06, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
** I believe I was able to correct the problem. Apparently, the program is centered around the C:/ drive only. I normally play Dwarf Fortress from my portable hard-drive, and tried initializing the program on both devices. After a bit of trial and error, I moved both to my desktop, and it seems to work, now. Hopefully, if anyone else has this problem, they can fix it like this; I still can't get my dwarves to stop dying from heat after running through a flow of lava, though. I threw them in water, doused the clothes and healed, but I digress. [[User:Jwguy|Jwguy]] 00:31, 30 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
There are a few known bugs :&lt;br /&gt;
* exhaustion is sometimes maxed out when you edit a creature&lt;br /&gt;
* bleeding seems not to be stoppable in most case : just turn the creature undead&lt;br /&gt;
* if there is a problem related to python and/or gtk, just make sure you followed the installation instructions. If it doesn't work anyway, it is unlikely I can help you (would be a python or gtk problem, not a DC problem)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature requests! ==&lt;br /&gt;
&lt;br /&gt;
What would be the chances of dwarf item manipulation?  I'd love to bhttp://dwarffortresswiki.net/index.php/Utility_Talk:DwarfCompanione able to get rid of the rotting clothes that these stinking dwarves insist on wearing. [[User:Aristoi|Aristoi]] 15:01, 20 May 2009 (UTC)&lt;br /&gt;
:Or maybe destroy that burning fire imp fat... [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Most Dwarves acquire dabbling level in all the social skills very quickly, which leaves these skills at the top of their skill list for all time.  Even if they later become a Legendary Mason, you still have to scroll down to see it.  Can you add something that reorders their skills by highest level, so the things they're best at show up first?  --[[User:Oddrune|Oddrune]] 05:19, 1 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignite units would be a nice feature too.  --[[User:Blur|Blur]] 17:23, 8 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Dwarf Companion - Cheating Fun in Adventure Mode! ==&lt;br /&gt;
&lt;br /&gt;
I was tinkering about with the Dwarf Companion program earlier today, when a thought came to my mind. &amp;quot;What if you could do stuff with this program in Adventure mode?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Well, it turns out that you can. By turning on the program and hitting the &amp;quot;All Creatures&amp;quot; box, you can access any loaded creature as well as your own adventurer. By doing this, you can make him as strong and legendary as you want, and effectively kill anything within the sector. You can also change your character into any creature in the game, including demons, goblins, etc. (NOTE: 'Shapeshifting' like this renders the tile where you changed un-passable, and you tend to teleport when you do so. Also, when I changed into a dragon, the game crashed.) Moods are also able to toggle, though I've only tested them upon my own adventurer. Going beserk in a human town triggered the mayor to start attacking me, but when I turned it off, he became friendly once again.&lt;br /&gt;
&lt;br /&gt;
Here's a movie of some of my exploits with a fresh adventurer dwarf: http://mkv25.net/dfma/movie-348-dwarfcompanioninadventuremode17338a&lt;br /&gt;
&lt;br /&gt;
I hope this strikes as interesting / useful for the future!&lt;br /&gt;
&lt;br /&gt;
:Please sign your additions to the discussion page. [[User:Forsaken1111|Forsaken1111]] 06:09, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Easy Python/PyGTK installer ==&lt;br /&gt;
&lt;br /&gt;
I was having some trouble getting all the Python dependencies to work properly together, but after some research I found a nice all-in-one PyGTK installer that works perfectly with companion 0.10. http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html Hope this helps!&lt;br /&gt;
&lt;br /&gt;
== DwarfCompanion Linux HOWTO ==&lt;br /&gt;
&lt;br /&gt;
There are two major problems when trying to run DwarfCompanion-0.13 in Linux:&lt;br /&gt;
&lt;br /&gt;
* at least when started with &amp;quot;wine dwarfort.exe&amp;quot;, dwarf-companion&lt;br /&gt;
** cannot find the path to the executable when searching for the offsets&lt;br /&gt;
** and has problems finding the process with &amp;quot;endswith()&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the following patch tries to work around these problems somewhat (you either have to run DwarfCompanion one directory-level down from your dwarfort.exe or change the path in the patch):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dwarfdbg.py	2008-09-07 22:04:12.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dwarfdbg.py	2008-09-07 22:07:11.000000000 +0000&lt;br /&gt;
 @@ -100,9 +100,9 @@&lt;br /&gt;
  		self.dbg = pydbg()&lt;br /&gt;
  		self.metals = None&lt;br /&gt;
  		for (pid, proc) in self.dbg.enumerate_processes():&lt;br /&gt;
 -			if proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +			if &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  				break&lt;br /&gt;
 -		if not proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +		if not &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  			print &amp;quot;Dwarf Fortress is not running, or could not be found&amp;quot;&lt;br /&gt;
  			sys.exit(-1)&lt;br /&gt;
  		self.image = proc&lt;br /&gt;
 @@ -864,7 +865,7 @@&lt;br /&gt;
  &lt;br /&gt;
  	def getOs(self):&lt;br /&gt;
  		if self.ofs == None:&lt;br /&gt;
 -			self.ofs = offsetsearch.offsetsearch(self.image)&lt;br /&gt;
 +			self.ofs = offsetsearch.offsetsearch(&amp;quot;../dwarfort.exe&amp;quot;)&lt;br /&gt;
  		return self.ofs&lt;br /&gt;
  &lt;br /&gt;
  	def instaMood(self):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* reading/writing from the dwarf-fortress process when attaching/detaching with ptrace() without waiting for the process to react to the ptrace() also leads to problems, basically it is timing-dependent if you can read or change anything&lt;br /&gt;
&lt;br /&gt;
this is easily fixed with waitpid (though I'm not quite sure if this really fixes the problem or if some signals could screw everything up again, therefore the &amp;quot;print status&amp;quot; statement):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dflinux.py	2008-01-09 10:50:00.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dflinux.py	2008-09-07 21:29:50.000000000 +0000&lt;br /&gt;
 @@ -33,6 +33,9 @@&lt;br /&gt;
  		pid = int(spid)&lt;br /&gt;
  		self.pid = pid&lt;br /&gt;
  		self.libc.ptrace(16, self.pid, 0, 0) #ptrace attach&lt;br /&gt;
 +		status = 0&lt;br /&gt;
 +		self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +		print status&lt;br /&gt;
  	&lt;br /&gt;
  	def read(self, addr, size):&lt;br /&gt;
  		out = ''&lt;br /&gt;
 @@ -60,4 +63,7 @@&lt;br /&gt;
  	def detach(self):&lt;br /&gt;
  		if self.pid&amp;gt;0:&lt;br /&gt;
  			self.libc.ptrace(17, self.pid, 0, 0) #ptrace detach&lt;br /&gt;
 +			status = 0&lt;br /&gt;
 +			self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +			print status&lt;br /&gt;
  			self.pid = 0&lt;br /&gt;
&lt;br /&gt;
* There are still some minor problems, e.g. when trying to set anything in the creature-editor, but at least healing and resting from the creature-list works now as expected. I will try to take a look at the creature-editor ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Penguin dwarf08|Penguin dwarf08]] 14:14, 11 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Thanks for this ! [[User:Bartavelle|Bartavelle]] 09:20, 17 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Happydorf.py ==&lt;br /&gt;
&lt;br /&gt;
I ran into a bug with a fortress that my dorfs were suiciding so I hacked this up to force their happiness to max, and it got me over the hump.  It might help someone someday.  Save as happydorf.py and dump it in your DC/scripts folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
from dwarfdbg import *&lt;br /&gt;
from eventname import jobName&lt;br /&gt;
import sys&lt;br /&gt;
dbg = dwarfdbg() #init dbg&lt;br /&gt;
cl = dbg.getCreatures(0) #get the whole creature list (slow)&lt;br /&gt;
for id in cl:&lt;br /&gt;
     if cl[id][1] != 'dwarf': #keep Dwarf (both alive and dead)&lt;br /&gt;
          continue&lt;br /&gt;
     c = cl[id][13] # creature structure&lt;br /&gt;
     if c.fe4&amp;amp;2:&lt;br /&gt;
          continue&lt;br /&gt;
     c.happiness = 65534 #Set happy to max -1, (max is 65535 as of 40D)&lt;br /&gt;
     dbg.saveCreature(c) #save&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
--[[User:Kittyz|Kittyz]] 14:56, 27 January 2009 (EST) Kittyz&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
&lt;br /&gt;
Does this work in 0.28.181.40d11? It says DF isn't running or can't be found when I try. --[[User:Simmura McCrea|Simmura McCrea]] 18:16, 12 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Nope. --[[User:Bartavelle|Bartavelle]] 08:48, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::Damn. Cheers anyway. --[[User:Simmura McCrea|Simmura McCrea]] 15:25, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:::Workaround: Transport save file to a 40d folder, mess around, transport it back. 40d/40d11 are mutually compatible. -[[User:Heartofgoldfish|Heartofgoldfish]] 00:18, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::::Are there any plans to update the memory locations? I tried simply renaming the file to dwarfort.exe as it is in 40d but it would not work as the memory locations are out of date. [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: The problem lies in the name of the file, change Dwarf Fortress.exe to dwarfort.exe and the utility will find it, gave me a memory error, but it may work for you once you have the right name.  [[User:Janizary|Janizary]] 19:39, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::[[Dwarf Fortress Wiki:Community Portal#B|&amp;quot;B&amp;quot;]] is for Bold.  You should put this out on the wiki proper, where it will be found by those who need it - start a Linux article, perhaps. Jo no habla linuxol, but once you do it will only grow.--[[User:Albedo|Albedo]] 15:08, 20 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Unknown flags ==&lt;br /&gt;
0x1      =???         &lt;br /&gt;
dead?    =Kills creature when used with 'dead'&lt;br /&gt;
0x4      =???&lt;br /&gt;
artifact =designates whether creature has created an artifact&lt;br /&gt;
0x10     =hostile        &lt;br /&gt;
0x20     =???   &lt;br /&gt;
merch1?  &lt;br /&gt;
caravan guard?&lt;br /&gt;
0x100         &lt;br /&gt;
0x200         &lt;br /&gt;
!unitlist     &lt;br /&gt;
liaison?      &lt;br /&gt;
zombie        &lt;br /&gt;
skel          &lt;br /&gt;
working       &lt;br /&gt;
prone         &lt;br /&gt;
0x1.4         &lt;br /&gt;
inv1          &lt;br /&gt;
hidden        &lt;br /&gt;
inv2          &lt;br /&gt;
0x1.5         &lt;br /&gt;
0x2.5         &lt;br /&gt;
0x4.5         &lt;br /&gt;
0x8.5         &lt;br /&gt;
0x1.6         &lt;br /&gt;
0x2.6         &lt;br /&gt;
tame          &lt;br /&gt;
0x8.6         &lt;br /&gt;
r.guard       &lt;br /&gt;
f.guard       &lt;br /&gt;
0x4.7&lt;br /&gt;
0x8.7&lt;br /&gt;
0x1b&lt;br /&gt;
0x2b&lt;br /&gt;
0x4b&lt;br /&gt;
0x8b&lt;br /&gt;
0x10b&lt;br /&gt;
0x20b&lt;br /&gt;
0x40b&lt;br /&gt;
dead&lt;br /&gt;
vanish?&lt;br /&gt;
0x200b&lt;br /&gt;
0x400b&lt;br /&gt;
0x800b&lt;br /&gt;
0x1000b&lt;br /&gt;
winded?&lt;br /&gt;
0x4000b&lt;br /&gt;
ground&lt;br /&gt;
flying&lt;br /&gt;
slaughter&lt;br /&gt;
underwrld&lt;br /&gt;
can't eat&lt;br /&gt;
0x1.5b&lt;br /&gt;
0x2.5b&lt;br /&gt;
0x4.5b&lt;br /&gt;
visitor?&lt;br /&gt;
0x1.6b&lt;br /&gt;
0x2.6b&lt;br /&gt;
0x4.6b&lt;br /&gt;
0x8.6b&lt;br /&gt;
0x1.7b&lt;br /&gt;
winded?&lt;br /&gt;
0x4.7b&lt;br /&gt;
tame2&lt;br /&gt;
&lt;br /&gt;
== FTP SERVER DOWN! ==&lt;br /&gt;
THE FTP SERVER FOR THE PyObject AND WHATEVER THE OTHER TWO ARE IS DOWN! THE DAMN FTP SERVER IS DOWN! GOD DAMN IT THE FTP SERVER IS DOWN! I NEED FTP SERVER! FTP SERVER DOWN! FTP SERVER NOT WORKING! FTP SERVER DEAD! FTP SERVER SUFFERING MANGLED HEART!&lt;br /&gt;
&lt;br /&gt;
I found a site that mirrors these files (possibly not the most up-to-date ones though)&lt;br /&gt;
http://www.filewatcher.com/b/ftp/ftp.dit.upm.es/linux/mirrors/ftp.gnome.org/binaries/win32.0.0.html&lt;br /&gt;
&lt;br /&gt;
== Additional in-game languages (v0.17) ==&lt;br /&gt;
&lt;br /&gt;
If you have additional languages modded into the game, out-of-the-box DwarfCompanion 0.17 will bomb with an error:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 477, in getCreature&lt;br /&gt;
    name = self.getName(c, details)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 323, in getName&lt;br /&gt;
    lastname = self.printName(table, lang)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 219, in printName&lt;br /&gt;
    lastname += self.rwords[lang][v]&lt;br /&gt;
IndexError: list index out of range&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make it work, count the number of languages you have (but not language_SYM.txt).&lt;br /&gt;
&lt;br /&gt;
Find the line in dwarfdbg.py which reads:&lt;br /&gt;
&lt;br /&gt;
:for race in range(4):&lt;br /&gt;
&lt;br /&gt;
Replace the 4 with the number of languages you have, run again, and it should work fine.&lt;br /&gt;
&lt;br /&gt;
As of 0.17c this is no longer necessary.&lt;br /&gt;
&lt;br /&gt;
== Loading error ==&lt;br /&gt;
&lt;br /&gt;
I'm not sure if you actually check this, but here goes anyway. &lt;br /&gt;
&lt;br /&gt;
I have all the other things installed (GTK, PYCairo, etc.), and when I click it, it simply opens a black window for a moment and closes. So I tried to run it through the command prompt, and it comes up with the following error:&lt;br /&gt;
&lt;br /&gt;
:C:\Games\Dwarf Fortress&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:DFcmp = DFcompanion()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
&lt;br /&gt;
:self.dd = dwarfdbg(verbose=True)&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 131, in __init__&lt;br /&gt;
:self.configoffsets()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:raise &amp;quot;can't guess offsets if not PE&amp;quot;&lt;br /&gt;
:TypeError: exceptions must be classes or instances, not str&lt;br /&gt;
&lt;br /&gt;
A similar thing happens when I try to use the executable version:&lt;br /&gt;
&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist&amp;gt;dfcompanion_prototype.exe&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist\library.zip\dwarfdbg.py:98: DeprecationWarning: raising a string exception is deprecated&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 131, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:can't guess offsets if not PE&lt;br /&gt;
&lt;br /&gt;
What does this mean? How do I fix it? Did I do something stupid and obvious to mess it up? [[Special:Contributions/69.109.124.77|69.109.124.77]] 09:37, 12 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Try running version 0.16:  version 0.17 is for DF 40d16 only which may not be the version you are running. [[Special:Contributions/12.71.14.197|12.71.14.197]] 13:42, 25 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
It was flashing the black window so I tried to run it through run/cmd.exe, however it says that the directory name is invalid. I have tried several solutions, such as surrounding it with quotes (helps a little bit but not much), but I still can't get it to run. Which is a pity because I was looking forward to this.  Suggestions?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit: I made the window flash enough times to get a glimpse of what was written, and it looks like I have a similar problem to the above poster.    Pleeeeease respond, someone?  :(&lt;br /&gt;
&lt;br /&gt;
As above:  try running version 0.16:  version 0.17 is for DF 40d16 only which may not be the version of DF that you are running.  [[Special:Contributions/12.71.14.197|12.71.14.197]] 13:43, 25 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
This information really needs to written somwhere close to the download links, I made the same error&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
♥Many♥ thanks, lets try it now!   ☺&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=62969</id>
		<title>Utility:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=62969"/>
		<updated>2010-02-11T08:32:26Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* Problems? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Utilities]]&lt;br /&gt;
[[Image:dfcompanion1.png|thumb|This is a preliminary screenshot of the prototype.]]&lt;br /&gt;
= What? =&lt;br /&gt;
&lt;br /&gt;
This project is about having a helper utility for dwarf fortress, hopefully filling gaps in the user interface. It will also allow some cool cheating, so that it would be possible to play with the engine. For example, you can now mark your nobles as butcherable! Ain't that cool?&lt;br /&gt;
&lt;br /&gt;
For now, a '''PROTOTYPE''' utility is available, for testings. It uses python and requires many dependencies. It will end up as a standard .exe tool once features are ironed out.&lt;br /&gt;
&lt;br /&gt;
It supports version 40d16, supposedly. The latest screenshot is at [http://bartabox.banquise.net/df/screen1.png this place].&lt;br /&gt;
&lt;br /&gt;
= Important warning =&lt;br /&gt;
When fiddling with DF memory, you might get crashes. Here are two important advices:&lt;br /&gt;
* when writing into memory (like updating a creature's data), pause the game, load the data, update it, save it and then unpause the game&lt;br /&gt;
* do not teleport creatures that are hauling&lt;br /&gt;
&lt;br /&gt;
= Self-packaged executables =&lt;br /&gt;
There is an executable version by [[User:Valdemar|Valdemar]] available that does not require Python or any of the other of the dependencies to be installed. Unzip it and run &amp;quot;dfcompanion_prototype.exe&amp;quot; to bring up the core companion window. The scripts available in the pure python version also have exe equivalents:&lt;br /&gt;
* revealVeins.exe - run with no arguments to reveal all vein tiles&lt;br /&gt;
* reveal.exe - run with no arguments to reveal the whole map (very slow, a C utility like Tweak is recommended for this task)&lt;br /&gt;
* designator.exe - see [[User:Bartavelle/DesignatorTiles]]&lt;br /&gt;
* changeProfession.exe - run through command prompt like &amp;quot;changeProfession [id] [profession]&amp;quot; where id is the ID of the dwarf you want to change (find this through core companion; pull up the profile of a dwarf and look in the window title) and profession is the profession to change to (Mason, Peasant, Speardwarf, etc)&lt;br /&gt;
&lt;br /&gt;
[http://www.pindi.us/files/df/dfcompanion-0.16-exe.zip Download (Version 0.16)].&lt;br /&gt;
[http://www.pindi.us/files/df/dfcompanion-0.17c-exe.zip Download (Version 0.17c)].&lt;br /&gt;
&lt;br /&gt;
= How to install and run it =&lt;br /&gt;
You need to install several things first. Do it right, or it will not work.&lt;br /&gt;
&lt;br /&gt;
* [http://www.python.org/download/ Python] (should work with any version)&lt;br /&gt;
* from [http://sourceforge.net/projects/gladewin32/files/ this page], the latest &amp;quot;Gtk+/Win32 Runtime Environment Installer&amp;quot; (the files that is named like that : gtk-2.12.9-win32-2.exe, scroll down a bit).&lt;br /&gt;
&lt;br /&gt;
* For users of the -any versions, or python 2.4 users, you must:&lt;br /&gt;
** Install the three modules from [http://www.pygtk.org/downloads.html this page] (PyCairo, PyGObject, PyGTK)&lt;br /&gt;
** Grab the software, v0.17d, at [http://bartabox.banquise.net/df/companion-0.17d-any.zip this place].&lt;br /&gt;
&lt;br /&gt;
* Reboot your computer. Although the software doesn't demand it, if you don't do so Python won't know where to find modules, leading to errors.&lt;br /&gt;
* Double click on &amp;quot;dfcompanion_prototype.py&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
= Problems? =&lt;br /&gt;
* Some black window flashes and nothing happens!&lt;br /&gt;
You should run it from the command line. Start / run / cmd.exe. Then type&lt;br /&gt;
----&lt;br /&gt;
cd c:\where\companion\is\located\&lt;br /&gt;
dfcompanion_prototype.py&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You can copy by clicking on the top-right icon, and click copy in the Edit submenu. Then select with mouse, and press enter to copy.&lt;br /&gt;
&lt;br /&gt;
* The error message is something about a not finding pygtk, pycairo or pygobject&lt;br /&gt;
You didn't install properly the 3 modules at the pygtk site (see link in the how section).&lt;br /&gt;
&lt;br /&gt;
* The error messages says it can't find a dll&lt;br /&gt;
The GTK runtime environment is not properly installed.&lt;br /&gt;
&lt;br /&gt;
* The error messages says something like &amp;quot;g_assert_warning not found in libglib-2.0.0.dll&amp;quot;&lt;br /&gt;
There is a DLL conflict. You should reinstall the GTK runtime environment. If this fails, you have to find the old DLL that is staying somewhere on your system and remove it. Probably in c:\windows\system32\&lt;br /&gt;
&lt;br /&gt;
* No-one responds when I ask questions on the talk page.&lt;br /&gt;
Have everyone look at the discussion page on the off chance that they might know something.&lt;br /&gt;
&lt;br /&gt;
= Usage - what can you do? =&lt;br /&gt;
First run Dwarf Fortress, and load your game. It won't work otherwise.&lt;br /&gt;
&lt;br /&gt;
The general idea is to have the main window open next to your DF windows. It should help you play the game by providing useful hints while playing. Order dwarves using the column &amp;quot;alerts&amp;quot; so that most important stuff is on top : hungry, unhappy, moody, hurt dwarves. You can play with creatures and view detailled views of their attributes by double clicking them. Right now, you can interact by:&lt;br /&gt;
* clicking &amp;quot;heal&amp;quot;, heals creature&lt;br /&gt;
* clicking &amp;quot;hurt&amp;quot;, hurts creature&lt;br /&gt;
* clicking &amp;quot;apply&amp;quot;, saves the following changes:&lt;br /&gt;
** position X,Y,Z&lt;br /&gt;
** strength, agility, toughness&lt;br /&gt;
** all flags (the checkbox stuff), most being unknown, please let us know about their use if you get it!&lt;br /&gt;
** pain, exhaustion, hunger, thirst, drowsiness&lt;br /&gt;
** race (still needs to be tested!)&lt;br /&gt;
** mood type (fey, macabre, ...), and mood skill increased&lt;br /&gt;
&lt;br /&gt;
Interesting effects are [http://mkv25.net/dfma/movie-236-lazydwarvesmustdie butcherable dwarves] and [http://img184.imageshack.us/img184/7919/straydognz6.jpg Corbine's crazy dogs]. Oh, and skeletal legendary miners that turn against your fortress.&lt;br /&gt;
&lt;br /&gt;
= Random questions =&lt;br /&gt;
* How to prevent a dwarf from bleeding to death ? Turn him zombie. It will make him hostile, but cure his bleeding. Turn him back when happy.&lt;br /&gt;
* Reveal like tools and discovering the underground features : you have to uncover a tile belonging to an underground feature for it to be officially found. Just unreveal some tiles and dig through them.&lt;br /&gt;
&lt;br /&gt;
= dwarfdbg scripts =&lt;br /&gt;
Here is a collection of scripts that wouldn't fit in DC but might be useful. Copy them in the DC folder and run them.&lt;br /&gt;
* [http://bartabox.banquise.net/df/butchercats.py butchercats.py] : marks all &amp;quot;unintersted&amp;quot; cats and kitten as ready for slaughter.&lt;br /&gt;
* Soon, the &amp;quot;designator&amp;quot;, with a list of cool stuff : [[User:Bartavelle/DesignatorTiles]]&lt;br /&gt;
&lt;br /&gt;
= Changelog =&lt;br /&gt;
* utils.zip : initial test, some bugs with accents&lt;br /&gt;
* utils.0.1.zip : corrected problem with bad characters&lt;br /&gt;
* utils.0.2.zip : corrected problem with long strings&lt;br /&gt;
* utils.0.3.zip : corrected problem with creatures not in legends&lt;br /&gt;
* utils.0.4.zip : quick (untested) upgrade to v0.27.169.33g&lt;br /&gt;
* companion.0.5-any.zip - 07/01/2008&lt;br /&gt;
** Skill edition&lt;br /&gt;
** Removed the dependency on pydbg, should now work with python 2.x&lt;br /&gt;
** Incomplete linux support, for those people who go on holiday with only their linux laptops ...&lt;br /&gt;
** More details in the flags names&lt;br /&gt;
** Disabled the regular refreshes for now&lt;br /&gt;
** Body part name is resolved when showing damages&lt;br /&gt;
** Right-click popup with quick features : heal, hurt, tame, make war animal, rest and restore&lt;br /&gt;
** Civilization altering (steal that merchant swordsman!)&lt;br /&gt;
* companion.0.6-any.zip - 22/01/2008&lt;br /&gt;
** Better error handling for Window users, should help debugging ...&lt;br /&gt;
** Firstname and nickname editor (finally)&lt;br /&gt;
** Money warnings, and money cheat&lt;br /&gt;
** Combat reports in DF mode&lt;br /&gt;
** Bleeding/Paralysis/ ... can be tweaked&lt;br /&gt;
** &amp;quot;Opinion poll&amp;quot;&lt;br /&gt;
** More details&lt;br /&gt;
** Instamood!&lt;br /&gt;
* companion.0.7-any.zip - 07/02/2008&lt;br /&gt;
** Couples list&lt;br /&gt;
** Name editor&lt;br /&gt;
** Right click / zoom now works&lt;br /&gt;
** Support for 38a&lt;br /&gt;
* companion.0.8-any.zip - 13/02/2008&lt;br /&gt;
** Removal of the couple list, should hopefully fix bugs&lt;br /&gt;
** Several scripts for more fun&lt;br /&gt;
** Better support for stuff&lt;br /&gt;
** Should be &amp;quot;final&amp;quot; of the prototype, next step will probably involve working on a standalone .exe, and the occasionnal fun script&lt;br /&gt;
* companion.0.9-any.zip - 18/02/2008&lt;br /&gt;
** Quick update to fix for the new DF version.&lt;br /&gt;
* companion.0.9-any.zip - 26/02/2008&lt;br /&gt;
** Another quick fix for 38b&lt;br /&gt;
* companion.0.12-any.zip - 18/07/2008&lt;br /&gt;
** tons of changes, this specific version just keeps up with DF&lt;br /&gt;
* companion.0.13-any.zip - 18/08/2008&lt;br /&gt;
** compatibility with 39f, should not work with previous versions&lt;br /&gt;
** zoom feature is disabled, because of UI changes&lt;br /&gt;
** added bugged slow reveal script :)&lt;br /&gt;
* companion.0.14-any.zip - 14/09/2008&lt;br /&gt;
** zoom is back&lt;br /&gt;
** custom alerts are easier to add&lt;br /&gt;
** corrected the map offsets, added a &amp;quot;revealVein.py&amp;quot; script&lt;br /&gt;
* companion.0.15-any.zip&lt;br /&gt;
** linux support is back&lt;br /&gt;
** and now, it is fast&lt;br /&gt;
* companion.0.16-any.zip - 05/10/2009&lt;br /&gt;
** solves bug with additionnal languages&lt;br /&gt;
* companion.0.17-any.zip - 27/11/2009&lt;br /&gt;
** d16 support&lt;br /&gt;
** ASLR support&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
* the memory hackers!&lt;br /&gt;
* Phil, for the clever python tricks&lt;br /&gt;
* Corbine, for early testings, bug discovery, and flags discovery&lt;br /&gt;
* sinoth, for early testings, bug discovery&lt;br /&gt;
&lt;br /&gt;
[[Category:Hacking|DwarfCompanion]]&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=62968</id>
		<title>Utility Talk:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=62968"/>
		<updated>2010-02-11T08:29:45Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* I tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I did some cleaning (actually I just removed most of it).&lt;br /&gt;
&lt;br /&gt;
== Compatibility with Mods ==&lt;br /&gt;
&lt;br /&gt;
Was working with the Dig Deeper mod, and found that it doesn't work with modded in creatures at all. That's a let-down. [[User:Jwguy|Jwguy]] 07:55, 5 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Not actual anymore. Works with all creatures, whether modded or not.  --[[User:Blur|Blur]] 18:30, 8 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Not working ==&lt;br /&gt;
&lt;br /&gt;
I'm on 40d, and have followed the instructions on the page, (GTK Win32 runtime, Python 2.5, All three modules, and the Program), started the program up before and after Dwarf Fortress, just to see if I did it wrong the first time, and it doesn't work. The Program just has some category tabs and a few buttons, but never shows any data. [[User:Jwguy|Jwguy]] 18:31, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Additionally, in case it might help, all I am getting is a single box with Refresh, All Creatures, Only Dwarves, etc. There doesn't seem to be a load function or anything. I'd really appreciate some help with this. [[User:Jwguy|Jwguy]] 18:41, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Here's a screenshot of what I am dealing with, also: http://i64.photobucket.com/albums/h178/Jwguy/Notworking2.jpg . It was also suggested to me that I may need something called Pango, which doesn't seem to be mentioned on the wiki, anywhere. [[User:Jwguy|Jwguy]] 21:06, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
** I believe I was able to correct the problem. Apparently, the program is centered around the C:/ drive only. I normally play Dwarf Fortress from my portable hard-drive, and tried initializing the program on both devices. After a bit of trial and error, I moved both to my desktop, and it seems to work, now. Hopefully, if anyone else has this problem, they can fix it like this; I still can't get my dwarves to stop dying from heat after running through a flow of lava, though. I threw them in water, doused the clothes and healed, but I digress. [[User:Jwguy|Jwguy]] 00:31, 30 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
There are a few known bugs :&lt;br /&gt;
* exhaustion is sometimes maxed out when you edit a creature&lt;br /&gt;
* bleeding seems not to be stoppable in most case : just turn the creature undead&lt;br /&gt;
* if there is a problem related to python and/or gtk, just make sure you followed the installation instructions. If it doesn't work anyway, it is unlikely I can help you (would be a python or gtk problem, not a DC problem)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature requests! ==&lt;br /&gt;
&lt;br /&gt;
What would be the chances of dwarf item manipulation?  I'd love to bhttp://dwarffortresswiki.net/index.php/Utility_Talk:DwarfCompanione able to get rid of the rotting clothes that these stinking dwarves insist on wearing. [[User:Aristoi|Aristoi]] 15:01, 20 May 2009 (UTC)&lt;br /&gt;
:Or maybe destroy that burning fire imp fat... [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Most Dwarves acquire dabbling level in all the social skills very quickly, which leaves these skills at the top of their skill list for all time.  Even if they later become a Legendary Mason, you still have to scroll down to see it.  Can you add something that reorders their skills by highest level, so the things they're best at show up first?  --[[User:Oddrune|Oddrune]] 05:19, 1 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignite units would be a nice feature too.  --[[User:Blur|Blur]] 17:23, 8 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Dwarf Companion - Cheating Fun in Adventure Mode! ==&lt;br /&gt;
&lt;br /&gt;
I was tinkering about with the Dwarf Companion program earlier today, when a thought came to my mind. &amp;quot;What if you could do stuff with this program in Adventure mode?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Well, it turns out that you can. By turning on the program and hitting the &amp;quot;All Creatures&amp;quot; box, you can access any loaded creature as well as your own adventurer. By doing this, you can make him as strong and legendary as you want, and effectively kill anything within the sector. You can also change your character into any creature in the game, including demons, goblins, etc. (NOTE: 'Shapeshifting' like this renders the tile where you changed un-passable, and you tend to teleport when you do so. Also, when I changed into a dragon, the game crashed.) Moods are also able to toggle, though I've only tested them upon my own adventurer. Going beserk in a human town triggered the mayor to start attacking me, but when I turned it off, he became friendly once again.&lt;br /&gt;
&lt;br /&gt;
Here's a movie of some of my exploits with a fresh adventurer dwarf: http://mkv25.net/dfma/movie-348-dwarfcompanioninadventuremode17338a&lt;br /&gt;
&lt;br /&gt;
I hope this strikes as interesting / useful for the future!&lt;br /&gt;
&lt;br /&gt;
:Please sign your additions to the discussion page. [[User:Forsaken1111|Forsaken1111]] 06:09, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Easy Python/PyGTK installer ==&lt;br /&gt;
&lt;br /&gt;
I was having some trouble getting all the Python dependencies to work properly together, but after some research I found a nice all-in-one PyGTK installer that works perfectly with companion 0.10. http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html Hope this helps!&lt;br /&gt;
&lt;br /&gt;
== DwarfCompanion Linux HOWTO ==&lt;br /&gt;
&lt;br /&gt;
There are two major problems when trying to run DwarfCompanion-0.13 in Linux:&lt;br /&gt;
&lt;br /&gt;
* at least when started with &amp;quot;wine dwarfort.exe&amp;quot;, dwarf-companion&lt;br /&gt;
** cannot find the path to the executable when searching for the offsets&lt;br /&gt;
** and has problems finding the process with &amp;quot;endswith()&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the following patch tries to work around these problems somewhat (you either have to run DwarfCompanion one directory-level down from your dwarfort.exe or change the path in the patch):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dwarfdbg.py	2008-09-07 22:04:12.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dwarfdbg.py	2008-09-07 22:07:11.000000000 +0000&lt;br /&gt;
 @@ -100,9 +100,9 @@&lt;br /&gt;
  		self.dbg = pydbg()&lt;br /&gt;
  		self.metals = None&lt;br /&gt;
  		for (pid, proc) in self.dbg.enumerate_processes():&lt;br /&gt;
 -			if proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +			if &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  				break&lt;br /&gt;
 -		if not proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +		if not &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  			print &amp;quot;Dwarf Fortress is not running, or could not be found&amp;quot;&lt;br /&gt;
  			sys.exit(-1)&lt;br /&gt;
  		self.image = proc&lt;br /&gt;
 @@ -864,7 +865,7 @@&lt;br /&gt;
  &lt;br /&gt;
  	def getOs(self):&lt;br /&gt;
  		if self.ofs == None:&lt;br /&gt;
 -			self.ofs = offsetsearch.offsetsearch(self.image)&lt;br /&gt;
 +			self.ofs = offsetsearch.offsetsearch(&amp;quot;../dwarfort.exe&amp;quot;)&lt;br /&gt;
  		return self.ofs&lt;br /&gt;
  &lt;br /&gt;
  	def instaMood(self):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* reading/writing from the dwarf-fortress process when attaching/detaching with ptrace() without waiting for the process to react to the ptrace() also leads to problems, basically it is timing-dependent if you can read or change anything&lt;br /&gt;
&lt;br /&gt;
this is easily fixed with waitpid (though I'm not quite sure if this really fixes the problem or if some signals could screw everything up again, therefore the &amp;quot;print status&amp;quot; statement):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dflinux.py	2008-01-09 10:50:00.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dflinux.py	2008-09-07 21:29:50.000000000 +0000&lt;br /&gt;
 @@ -33,6 +33,9 @@&lt;br /&gt;
  		pid = int(spid)&lt;br /&gt;
  		self.pid = pid&lt;br /&gt;
  		self.libc.ptrace(16, self.pid, 0, 0) #ptrace attach&lt;br /&gt;
 +		status = 0&lt;br /&gt;
 +		self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +		print status&lt;br /&gt;
  	&lt;br /&gt;
  	def read(self, addr, size):&lt;br /&gt;
  		out = ''&lt;br /&gt;
 @@ -60,4 +63,7 @@&lt;br /&gt;
  	def detach(self):&lt;br /&gt;
  		if self.pid&amp;gt;0:&lt;br /&gt;
  			self.libc.ptrace(17, self.pid, 0, 0) #ptrace detach&lt;br /&gt;
 +			status = 0&lt;br /&gt;
 +			self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +			print status&lt;br /&gt;
  			self.pid = 0&lt;br /&gt;
&lt;br /&gt;
* There are still some minor problems, e.g. when trying to set anything in the creature-editor, but at least healing and resting from the creature-list works now as expected. I will try to take a look at the creature-editor ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Penguin dwarf08|Penguin dwarf08]] 14:14, 11 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Thanks for this ! [[User:Bartavelle|Bartavelle]] 09:20, 17 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Happydorf.py ==&lt;br /&gt;
&lt;br /&gt;
I ran into a bug with a fortress that my dorfs were suiciding so I hacked this up to force their happiness to max, and it got me over the hump.  It might help someone someday.  Save as happydorf.py and dump it in your DC/scripts folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
from dwarfdbg import *&lt;br /&gt;
from eventname import jobName&lt;br /&gt;
import sys&lt;br /&gt;
dbg = dwarfdbg() #init dbg&lt;br /&gt;
cl = dbg.getCreatures(0) #get the whole creature list (slow)&lt;br /&gt;
for id in cl:&lt;br /&gt;
     if cl[id][1] != 'dwarf': #keep Dwarf (both alive and dead)&lt;br /&gt;
          continue&lt;br /&gt;
     c = cl[id][13] # creature structure&lt;br /&gt;
     if c.fe4&amp;amp;2:&lt;br /&gt;
          continue&lt;br /&gt;
     c.happiness = 65534 #Set happy to max -1, (max is 65535 as of 40D)&lt;br /&gt;
     dbg.saveCreature(c) #save&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
--[[User:Kittyz|Kittyz]] 14:56, 27 January 2009 (EST) Kittyz&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
&lt;br /&gt;
Does this work in 0.28.181.40d11? It says DF isn't running or can't be found when I try. --[[User:Simmura McCrea|Simmura McCrea]] 18:16, 12 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Nope. --[[User:Bartavelle|Bartavelle]] 08:48, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::Damn. Cheers anyway. --[[User:Simmura McCrea|Simmura McCrea]] 15:25, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:::Workaround: Transport save file to a 40d folder, mess around, transport it back. 40d/40d11 are mutually compatible. -[[User:Heartofgoldfish|Heartofgoldfish]] 00:18, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::::Are there any plans to update the memory locations? I tried simply renaming the file to dwarfort.exe as it is in 40d but it would not work as the memory locations are out of date. [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: The problem lies in the name of the file, change Dwarf Fortress.exe to dwarfort.exe and the utility will find it, gave me a memory error, but it may work for you once you have the right name.  [[User:Janizary|Janizary]] 19:39, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::[[Dwarf Fortress Wiki:Community Portal#B|&amp;quot;B&amp;quot;]] is for Bold.  You should put this out on the wiki proper, where it will be found by those who need it - start a Linux article, perhaps. Jo no habla linuxol, but once you do it will only grow.--[[User:Albedo|Albedo]] 15:08, 20 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Unknown flags ==&lt;br /&gt;
0x1      =???         &lt;br /&gt;
dead?    =Kills creature when used with 'dead'&lt;br /&gt;
0x4      =???&lt;br /&gt;
artifact =designates whether creature has created an artifact&lt;br /&gt;
0x10     =hostile        &lt;br /&gt;
0x20     =???   &lt;br /&gt;
merch1?  &lt;br /&gt;
caravan guard?&lt;br /&gt;
0x100         &lt;br /&gt;
0x200         &lt;br /&gt;
!unitlist     &lt;br /&gt;
liaison?      &lt;br /&gt;
zombie        &lt;br /&gt;
skel          &lt;br /&gt;
working       &lt;br /&gt;
prone         &lt;br /&gt;
0x1.4         &lt;br /&gt;
inv1          &lt;br /&gt;
hidden        &lt;br /&gt;
inv2          &lt;br /&gt;
0x1.5         &lt;br /&gt;
0x2.5         &lt;br /&gt;
0x4.5         &lt;br /&gt;
0x8.5         &lt;br /&gt;
0x1.6         &lt;br /&gt;
0x2.6         &lt;br /&gt;
tame          &lt;br /&gt;
0x8.6         &lt;br /&gt;
r.guard       &lt;br /&gt;
f.guard       &lt;br /&gt;
0x4.7&lt;br /&gt;
0x8.7&lt;br /&gt;
0x1b&lt;br /&gt;
0x2b&lt;br /&gt;
0x4b&lt;br /&gt;
0x8b&lt;br /&gt;
0x10b&lt;br /&gt;
0x20b&lt;br /&gt;
0x40b&lt;br /&gt;
dead&lt;br /&gt;
vanish?&lt;br /&gt;
0x200b&lt;br /&gt;
0x400b&lt;br /&gt;
0x800b&lt;br /&gt;
0x1000b&lt;br /&gt;
winded?&lt;br /&gt;
0x4000b&lt;br /&gt;
ground&lt;br /&gt;
flying&lt;br /&gt;
slaughter&lt;br /&gt;
underwrld&lt;br /&gt;
can't eat&lt;br /&gt;
0x1.5b&lt;br /&gt;
0x2.5b&lt;br /&gt;
0x4.5b&lt;br /&gt;
visitor?&lt;br /&gt;
0x1.6b&lt;br /&gt;
0x2.6b&lt;br /&gt;
0x4.6b&lt;br /&gt;
0x8.6b&lt;br /&gt;
0x1.7b&lt;br /&gt;
winded?&lt;br /&gt;
0x4.7b&lt;br /&gt;
tame2&lt;br /&gt;
&lt;br /&gt;
== FTP SERVER DOWN! ==&lt;br /&gt;
THE FTP SERVER FOR THE PyObject AND WHATEVER THE OTHER TWO ARE IS DOWN! THE DAMN FTP SERVER IS DOWN! GOD DAMN IT THE FTP SERVER IS DOWN! I NEED FTP SERVER! FTP SERVER DOWN! FTP SERVER NOT WORKING! FTP SERVER DEAD! FTP SERVER SUFFERING MANGLED HEART!&lt;br /&gt;
&lt;br /&gt;
I found a site that mirrors these files (possibly not the most up-to-date ones though)&lt;br /&gt;
http://www.filewatcher.com/b/ftp/ftp.dit.upm.es/linux/mirrors/ftp.gnome.org/binaries/win32.0.0.html&lt;br /&gt;
&lt;br /&gt;
== Additional in-game languages (v0.17) ==&lt;br /&gt;
&lt;br /&gt;
If you have additional languages modded into the game, out-of-the-box DwarfCompanion 0.17 will bomb with an error:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 477, in getCreature&lt;br /&gt;
    name = self.getName(c, details)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 323, in getName&lt;br /&gt;
    lastname = self.printName(table, lang)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 219, in printName&lt;br /&gt;
    lastname += self.rwords[lang][v]&lt;br /&gt;
IndexError: list index out of range&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make it work, count the number of languages you have (but not language_SYM.txt).&lt;br /&gt;
&lt;br /&gt;
Find the line in dwarfdbg.py which reads:&lt;br /&gt;
&lt;br /&gt;
:for race in range(4):&lt;br /&gt;
&lt;br /&gt;
Replace the 4 with the number of languages you have, run again, and it should work fine.&lt;br /&gt;
&lt;br /&gt;
As of 0.17c this is no longer necessary.&lt;br /&gt;
&lt;br /&gt;
== Loading error ==&lt;br /&gt;
&lt;br /&gt;
I'm not sure if you actually check this, but here goes anyway. &lt;br /&gt;
&lt;br /&gt;
I have all the other things installed (GTK, PYCairo, etc.), and when I click it, it simply opens a black window for a moment and closes. So I tried to run it through the command prompt, and it comes up with the following error:&lt;br /&gt;
&lt;br /&gt;
:C:\Games\Dwarf Fortress&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:DFcmp = DFcompanion()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
&lt;br /&gt;
:self.dd = dwarfdbg(verbose=True)&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 131, in __init__&lt;br /&gt;
:self.configoffsets()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:raise &amp;quot;can't guess offsets if not PE&amp;quot;&lt;br /&gt;
:TypeError: exceptions must be classes or instances, not str&lt;br /&gt;
&lt;br /&gt;
A similar thing happens when I try to use the executable version:&lt;br /&gt;
&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist&amp;gt;dfcompanion_prototype.exe&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist\library.zip\dwarfdbg.py:98: DeprecationWarning: raising a string exception is deprecated&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 131, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:can't guess offsets if not PE&lt;br /&gt;
&lt;br /&gt;
What does this mean? How do I fix it? Did I do something stupid and obvious to mess it up? [[Special:Contributions/69.109.124.77|69.109.124.77]] 09:37, 12 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
It was flashing the black window so I tried to run it through run/cmd.exe, however it says that the directory name is invalid. I have tried several solutions, such as surrounding it with quotes (helps a little bit but not much), but I still can't get it to run. Which is a pity because I was looking forward to this.  Suggestions?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit: I made the window flash enough times to get a glimpse of what was written, and it looks like I have a similar problem to the above poster.    Pleeeeease respond, someone?  :(&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=User:Loudwhitenoise&amp;diff=61915</id>
		<title>User:Loudwhitenoise</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=User:Loudwhitenoise&amp;diff=61915"/>
		<updated>2010-01-29T01:03:05Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: My page, needs some Halp!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Having no idea how to use the wiki edit properly, I would appreciate it if someone could tell me how to put pictures on this page from my hard-drive. thx in advance!&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Tweak&amp;diff=61914</id>
		<title>Utility Talk:Tweak</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Tweak&amp;diff=61914"/>
		<updated>2010-01-29T00:59:48Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* version mismatch, trouble fixing. */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Suggested Addition(s) ==&lt;br /&gt;
&lt;br /&gt;
How hard would it be to adapt [http://www.dwarffortresswiki.net/index.php/Utilities#Regional_Prospector Regional Prospector] [http://www.dwarffortresswiki.net/index.php/User_talk:0x517A5D#Seekret_Projekt 1] [http://www.dwarffortresswiki.net/index.php/User:0x517A5D#Seekret_Projekt 2] to this application?&amp;lt;br&amp;gt;&lt;br /&gt;
From what I've seen of your newest tool, it looks like it should become the standard for future 'tweaks' :p&amp;lt;br&amp;gt;&lt;br /&gt;
Thanks tons for your contributions to the cause! --[[User:N9103|Edward]] 19:41, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
Oh, and one other idea...&lt;br /&gt;
Perhaps a small readme/guide for each of the tools?&amp;lt;br&amp;gt;&lt;br /&gt;
Something like those on the Utilities page would be fine.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: It could probably be easily ported but I'm not sure I want to take someone elses work so quickly for Tweak. I am working on that kind of a list (see the Tile Edit link on the core modules list). &amp;amp;mdash;[[User:Rick|Rick]] 19:49, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::List? RP doesn't make lists that I know of. And I know TileEdit can create magma/lava (which one is it btw? lava I'm guessing, since I don't think it can create a replenishing pipe in it's current form.) but unless I really get desperate, I'm not going to make a huge pool of lava to tap for various oddities. (i.e. traps/constructions) TileEdit's great for occasionally making a single tile of the stuff when it'd otherwise be a pain to get the liquid to the desired point, or for replenishing an already small source. Unless you're planning on making TileEdit capable of modifying regional tiles, (or alternatively, working like a designation for many tiles at once...) I don't see how it could relate to what RP does. --[[User:N9103|Edward]] 17:31, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::As far as I can tell, the list in question is a list of readmes/guides like those on the Utilities page.&lt;br /&gt;
:::Magma = lava in an underground square. Lava = magma in an aboveground square. They are identical in all but name. --[[User:Savok|Savok]] 19:52, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Is there an as yet unidentified flag that causes replenishment? --[[User:N9103|Edward]] 00:15, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::By 'list' I meant looking up what mineral types, etc, are in the current map. The module is called 'Survey', for obvious reasons. &amp;amp;mdash;[[User:Rick|Rick]] 00:39, 30 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Hmm.. well, unless you plan on doing that at an embark level, (as opposed to the in-fort level it sounds like,) it still won't be duplicating any effects that RP currently does. --[[User:N9103|Edward]] 00:15, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::: I don't intend to duplicate the features of it. &amp;amp;mdash;[[User:Rick|Rick]] 01:04, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Help for the Noob(s) ==&lt;br /&gt;
&lt;br /&gt;
Just downloaded the tweaker after some confusion, for the sake of healing the sole broker of my fort so he can get up and trade smartly enough to save my fort (to be filled with lava, but that's beside the point). Once I started it on up, all the modules but the address lookup were red, and the lookup only turns up &amp;lt;address name=&amp;quot;starting_dwarf_count&amp;quot; value=&amp;quot;0x00f77927&amp;quot;'.&lt;br /&gt;
&lt;br /&gt;
I'm not entirely sure where to go from here... Any guide forthcoming?&lt;br /&gt;
&lt;br /&gt;
: Red modules mean they are incompatible, I'm going to assume you are running on .38b, the latest is .38c, which Tweak has full support for. I did not bother to provide full support for .38b. &amp;amp;mdash;[[User:Rick|Rick]] 05:34, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Error report ==&lt;br /&gt;
&lt;br /&gt;
For some reason, the latest version (1.2.0.1) crashes whenever I try to run it. This is with or without DF running. Version 1.1.0.0 on the other hand worked fine for me, and still does. This is the debugging info returned for the crash in 1.2.0.1:&lt;br /&gt;
 An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Gibbed.DwarfFortress.Tweak.exe&lt;br /&gt;
 &lt;br /&gt;
 Additional information: Could not load file or assembly&lt;br /&gt;
 'System.Core, Version=3.5.0.0, Culture=neutral,  PublicKeyToken=b77a5c561934e089'&lt;br /&gt;
 or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
This is with it directly extracted from the zip with proper folder structure, no changes made. I've also tried moving it out to a root folder on the drive in case the long path was confusing it with no success. --[[User:Janus|Janus]] 01:04, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Sounds like you don't have .NET 3.5 installed. &amp;amp;mdash;[[User:Rick|Rick]] 01:53, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Did version 1.1.0.0 not require it? That version has been working fine, and I could have sworn I had to install the .NET 3.5 Framework to get it working.&lt;br /&gt;
:: However, whatever the case, I've just (re?)installed the 3.5 framework and that does indeed seem to have taken care of it. Thanks. --[[User:Janus|Janus]] 02:38, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: I wasn't using any features of 3.5 yet -- which changed with 1.2.0.0. &amp;amp;mdash;[[User:Rick|Rick]] 03:40, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
Found an error in the adjust profile module, happens when I click the &amp;quot;reset profile&amp;quot; button when &amp;quot;reset/read/write all&amp;quot; is checked.&lt;br /&gt;
  System.ArgumentException: 'child' is not a child control of this parent.&lt;br /&gt;
   at System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child, Boolean throwException)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child)&lt;br /&gt;
   at Rinn.DwarfFortress.Tools.AdjustProfile.Configuration.textBox_TextChanged(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.set_Text(String value)&lt;br /&gt;
   at System.Windows.Forms.TextBoxBase.set_Text(String value)&lt;br /&gt;
   at System.Windows.Forms.TextBox.set_Text(String value)&lt;br /&gt;
   at Rinn.DwarfFortress.Tools.AdjustProfile.Configuration.buttonReset_Click(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
[[User:Cheapweed|Cheapweed]] 18:01, 12 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Please report that [[User_talk:Rinn/AdjustProfile|on Rinn's AdjustProfile talk page]] &amp;amp;mdash;[[User:Rick|Rick]] 22:33, 12 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== NET 3.5 Compatability ==&lt;br /&gt;
Just a quick FYI: Those of us on 2000 cannot (as far as I've been able to determine) install .NET 3.5, which makes it impossible to use the latest version of Tweak. Keeping the 1.1 version online maintains availability of this invaluable tool to those of us who refuse to be infected with the XP virus. &amp;amp;mdash;[[User:Rochndil|Rochndil]] 14:49, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: While I do use .NET 3.5 features, I will see if I can move to .NET 2.0 (or make a 2.0 compatible version). &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: ++! I'd dearly love a 2.0 version; various vexing vagaries prohibit me from installing 3.5. Has there been any news since April? [[User:Spirilus|Spirilus]] 16:46, 5 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Or leave it. Seeing as its an 8 year old Operating system that you can't buy any more. More to the point if you are running DF your computer is more than adequate for running Windows XP. --[[User:Gorfob|Gorfob]] 19:00, 14 July 2008 (EDT)&lt;br /&gt;
::What .NET 3.5 features do you use? Note that VB9/C#3 language features can still be used even if you target an earlier framework. [[User:Random832|Random832]] 18:17, 5 March 2009 (EST)&lt;br /&gt;
&lt;br /&gt;
::Dont forget the linux users. They can only use .Net 2.0 inside wine... [[Special:Contributions/95.33.65.20|95.33.65.20]]&lt;br /&gt;
&lt;br /&gt;
== Blue modules ==&lt;br /&gt;
I just installed Tweak for the first time and I seem to have a problem. The buttons beside all the modules are blue, not green like in the picture, and the modules don't appear to do anything. I am running DF version 0.27.176.38c and Tweak version 1.2.0.0. I tied to update to version 1.2.0.1 but it still shows as the old version.&lt;br /&gt;
&lt;br /&gt;
: If your Tile Edit is 1.1, not 1.0, you have 1.2.0.1. As for blue modules, you need to 'Select Process' before you can use anything. There is an option to automatically select a process on startup. Once you do this, modules will either turn red or green as like before. &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Yea...&lt;br /&gt;
::Didn't work for me. whenever I select one I get something like this &amp;quot;are you sure you want to select process 2828?&amp;quot; then when I click yes, &amp;quot;could not find the following hash 59ab29201aca9f3c66b1ab102fb3ceea&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Windows Installer 3.1 ==&lt;br /&gt;
&lt;br /&gt;
It says I need Windows Installer 3.1. Help? --[[User:Savok|Savok]] 19:12, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Tweak does, or the .NET 3.5 install does? &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Sorry. .NET 3.5 install does. --[[User:Savok|Savok]] 11:41, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::What operating system are you using? [http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838-de776fd4138c&amp;amp;displaylang=en Windows Installer 3.1 Redistributable] &amp;amp;mdash;[[User:Rick|Rick]] 12:16, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Windows XP Home Edition Version 2002 Service Pack 2.&lt;br /&gt;
::::Out of curiosity, what does that 3.1 installer do? --[[User:Savok|Savok]] 15:55, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::It's for MSI installers I would assume. Though I'm not sure how you don't have the Windows Installer 3.1 on XP. &amp;amp;mdash;[[User:Rick|Rick]] 22:49, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Freezing Tile Edit ==&lt;br /&gt;
&lt;br /&gt;
For some reason, whenever I edit a tile using the Tile Edit programme, the next dwarf to step on the tile freezes to death (as will the many dwarves who come to loot the corpse). In the tile edit window, in the temperature section, it shows 0 in the first box (always) and another number of around 12000 in the second. The values by themselves give no indication as to the temperature, and even when I leave them alone, simply changing the tile will result in it becoming a freezing tile of death.&lt;br /&gt;
I have no idea if anyone else is experiencing this with tile edit, or whether I'm doing something horribly wrong.&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Maw3193|Maw3193]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:I get this whenever I try to add water to a square. The water freezes into a block of absolute-zero ice, and freezes to death anybody who steps on it. It doesn't happen when I add magma, or change magma depth. The title bar says version 1.2.0.0, but TileEdit is 1.1 so I guess it's actually 1.2.0.1 (see above) [[User:Anydwarf|Anydwarf]] 12:56, 17 April 2008 (EDT)&lt;br /&gt;
::Tile Edit is broken like this. You need to manually set a temperature for EVERY tile you edit. Rick, fix it! &amp;gt;8( --[[User:GreyMario|GreyMario]] 15:44, 3 May 2008 (EDT)&lt;br /&gt;
::Also, as an addendum, the top temperature is the NEW temperature for the tile, the bottom temperature is the CURRENT temperature. --[[User:GreyMario|GreyMario]] 15:45, 3 May 2008 (EDT)&lt;br /&gt;
::It's not just absolute-zero. According to the Dwarf Fortress temperature scale, it's over nine thousand degrees below absolute-zero :) &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Maw3193|Maw3193]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::Before editing any of the tile, press Reset first, it should fill the first temperature in for you. --[[User:SP2|SP2]] 19:20, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Still doesn't work for me, I've tried all of this. I've set the temperature about five different times.. still the freezing tile of DOOM. --[[User:Jaxstrife|Jaxstrife]] 20:51, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::I've identified the bug and it will be fixed in the next release. &amp;amp;mdash;[[User:Rick|Rick]] 08:16, 9 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Developer page ==&lt;br /&gt;
&lt;br /&gt;
I'm interested in making a module for Tweak, will there be more info soon about contributing to it?&lt;br /&gt;
(if there is a page I couldn't find that talks about it, feel free to let me know :)&lt;br /&gt;
--[[User:Corc|Corc]]&lt;br /&gt;
&lt;br /&gt;
: There hasn't really been any demand for it, but now that there is I'll fill out some info for you. &amp;amp;mdash;[[User:Rick|Rick]] 01:33, 27 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: [[User:Rick/Tweak/Development|I've added some preliminary information to the development page]]. &amp;amp;mdash;[[User:Rick|Rick]] 17:41, 30 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
How easy would it be to get started with writing a module? I assume Tweak handles the memory editing, but does it hand the module a bunch of bytes, or a fully parsed structure? I'd be interested in at least trying to write up a module.. Maybe you could just post the source for Heal or one of the other simple modules. [[User:Anydwarf|Anydwarf]] 18:57, 29 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I would just like to add my vote for a .NET 2.0 version since 3+ causes severe problems on my system trying to connect to M$ all the time :P&lt;br /&gt;
&lt;br /&gt;
:I downloaded 3.5 and even got the express versions of Visual Studio to play with.  I believe there is an option to &amp;quot;check&amp;quot; when you install that will stop it from contacting MS--I was asked a few times.&lt;br /&gt;
:--[[User:Corc|Corc]] 23:57, 28 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Tweak's memory access doesn't deal with structures, but does allow for easy reading of common data types (and raw memory, if that's your deal). Reading structures may come in the future, though. &amp;amp;mdash;[[User:Rick|Rick]] 17:41, 30 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Adjust Start: Less Than Seven Dwarves Crashes Game Upon Embarking ==&lt;br /&gt;
&lt;br /&gt;
Crash replicated on two different computers both running windows XP both using .38c version of DF.  Different parameter set worlds and different local areas still results in crash, as does both embarking carefully and not carefully.  When it crashes I get an error message from windows saying that &amp;quot;dwarffort.exe has encountered a problem and needs to close.&amp;quot;  I have tested this for 1, 4, and 6 dwarves with the game crashing, and found that with 10 dwarves it did not crash.&lt;br /&gt;
&lt;br /&gt;
== Reveal ==&lt;br /&gt;
&lt;br /&gt;
(Debated about putting this here or on your sample code discussion.)  To test out making a new module (very easy btw, awesome) I modified reveal to just reveal interesting stuff like ore and gems.  Instead of releasing a whole new (very similar and 99% your code) module maybe you could add a quick if statement/popup that people could check when they run it?  Basically what I did was inside the nested for loops I added in getting the &amp;quot;type&amp;quot; data and if the type was for an event, &amp;lt;code&amp;gt;B8 01&amp;lt;/code&amp;gt;, then I'd let it do your unhide bit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
memory.Read(block + designation, ref data);&lt;br /&gt;
memory.Read(block + typeoffset, ref types); // added types, half the size of data, (256 * 2)&lt;br /&gt;
for (int i = 0; i &amp;lt; 16 * 16; i++)&lt;br /&gt;
{&lt;br /&gt;
   byte[] temp = BitConverter.GetBytes(BitConverter.ToInt16(types, i * 2)); // actual type&lt;br /&gt;
   if (temp[0] == 184) // I found that 0xB8 is all that is needed to check&lt;br /&gt;
   {&lt;br /&gt;
      byte[] newdata = BitConverter.GetBytes(BitConverter.ToUInt32(data, i * 4) &amp;amp; ~0x200);&lt;br /&gt;
      data[(i * 4) + 0] = newdata[0];&lt;br /&gt;
      data[(i * 4) + 1] = newdata[1];&lt;br /&gt;
      data[(i * 4) + 2] = newdata[2];&lt;br /&gt;
      data[(i * 4) + 3] = newdata[3];   &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This unhides only Gems, Ore, &amp;quot;Special&amp;quot; Stone like Orthoclase, adamantine and any other out of the ordinary biome stone.&lt;br /&gt;
&lt;br /&gt;
I thought about making a crazy convoluted module that would scan the map for types of events and let the user enable the ones they wanted unhidden and then unhide them.  But, after going into the event list and finding event IDs (I've got a complete list now) I found it to be too crazy... actually as I typed that I figured out how I could do it with about a forth of what I had coded earlier.&lt;br /&gt;
--[[User:Corc|Corc]] 04:04, 11 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== .NET install freeze? ==&lt;br /&gt;
&lt;br /&gt;
Does .NET ever finish installing? As I write this it's been sitting with a full progress bar for 35 minutes, and took an inordinate amount of time to even get there. (And the bootstrap downloader was completely unusable, kept losing progress.)&amp;lt;br&amp;gt;&lt;br /&gt;
As far as I can tell, it's not even spinning the HDD... though it went through long periods of that before, too.&amp;lt;br&amp;gt;&lt;br /&gt;
Addendum: Rebooting on its own didn't help, but rebooting and aggressively killing running processes down to the bare-bones did... finally.&amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Shurhaian|Shurhaian]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:That's some highly unusual behavior, and I would recommend a through virus and adware scan using atleast two versions of each.&amp;lt;br&amp;gt;&lt;br /&gt;
:For Viruses, [http://housecall.trendmicro.com/ Trend Micro] has a good online scanner, and [http://free.grisoft.com/ AVG] is a good offline scanner.&amp;lt;br&amp;gt;&lt;br /&gt;
:For Adware, [http://www.safer-networking.org/en/spybotsd/index.html Spybot S&amp;amp;D] is just about as good as it gets, and [http://www.microsoft.com/athome/security/spyware/software/default.mspx Microsoft] has a semi-decent one as well.&amp;lt;br&amp;gt;&lt;br /&gt;
:All of these are free. Hope this helps! If not, *could be* some core OS files have been damaged somehow, and *may* require a re-install. --[[User:N9103|Edward]] 21:40, 14 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Another on the 3.5 bug list ==&lt;br /&gt;
&lt;br /&gt;
Allright; I have .net Framework 3.5 installed and its giving me the same error a guy midway up had;&lt;br /&gt;
the.......... IO.notfound thing&lt;br /&gt;
&lt;br /&gt;
Okay scratch that i unzipped tweak again and its running fine.&lt;br /&gt;
it seems tweak doesnt like XP.&lt;br /&gt;
&lt;br /&gt;
Your program has good tastes sir.&lt;br /&gt;
&lt;br /&gt;
== Problem not otherwise found on here. ==&lt;br /&gt;
When trying to select a process, I get this error. Net framework 3.5 is installed. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
************** Exception Text **************&lt;br /&gt;
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.&lt;br /&gt;
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()&lt;br /&gt;
   --- End of inner exception stack trace ---&lt;br /&gt;
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp;amp; signature, IntPtr declaringType)&lt;br /&gt;
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)&lt;br /&gt;
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br /&gt;
   at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)&lt;br /&gt;
   at System.Security.Cryptography.MD5.Create(String algName)&lt;br /&gt;
   at System.Security.Cryptography.MD5.Create()&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.GameVersionLoader.GetProcessHash(Process process)&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.onSelectProcess(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;br /&gt;
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;br /&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:What version of windows are you running? &amp;amp;mdash;[[User:Rick|Rick]] 20:47, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== .NET 3.5 errors: Tweak not Vista compatiale? ==&lt;br /&gt;
&lt;br /&gt;
I have installed .NET 3.5 and tried to run Tweak on my computer. However, It instantly crashes. Is there anything else I should have installed? I am running windows Vista.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
:Can you please paste the exact error, I cannot help with problems without knowing specifics. &amp;amp;mdash;[[User:Rick|Rick]] 20:46, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I Have the exact same problem, the error is the default vista error. i think this only happens with the newest version of tweak, as i used to beable to run it (though the tile editor never ran for me) &amp;amp;mdash;[[User:Corhen|Corhen]] 8:55, 15 July 2008&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
See the end of this message for details on invoking &lt;br /&gt;
just-in-time (JIT) debugging instead of this dialog box.&lt;br /&gt;
&lt;br /&gt;
************** Exception Text **************&lt;br /&gt;
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Dwarf Fortress\tweak\configuration.xml' is denied.&lt;br /&gt;
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;br /&gt;
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)&lt;br /&gt;
   at System.IO.FileStream..ctor(String path, FileMode mode)&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.LoadConfiguration()&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.onLoad(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Form.OnCreateControl()&lt;br /&gt;
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;br /&gt;
   at System.Windows.Forms.Control.CreateControl()&lt;br /&gt;
   at System.Windows.Forms.Control.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Form.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Form.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************** Loaded Assemblies **************&lt;br /&gt;
mscorlib&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tweak&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/Gibbed.DwarfFortress.Tweak.exe&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Windows.Forms&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Drawing&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Utilities&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/Gibbed.DwarfFortress.Utilities.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.AdjustStart&lt;br /&gt;
    Assembly Version: 1.3.1.0&lt;br /&gt;
    Win32 Version: 1.3.1.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.AdjustStart.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.EnableMagmaBuildings&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.EnableMagmaBuildings.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Heal&lt;br /&gt;
    Assembly Version: 1.3.4.0&lt;br /&gt;
    Win32 Version: 1.3.4.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Heal.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Resume&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Resume.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Reveal&lt;br /&gt;
    Assembly Version: 1.3.2.0&lt;br /&gt;
    Win32 Version: 1.3.2.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Reveal.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.TileEdit&lt;br /&gt;
    Assembly Version: 1.3.0.1&lt;br /&gt;
    Win32 Version: 1.3.1.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.TileEdit.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Warp&lt;br /&gt;
    Assembly Version: 1.3.3.0&lt;br /&gt;
    Win32 Version: 1.3.3.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Warp.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Xml&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Configuration&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
ymqtd5tk&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
qqzwqkvp&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
************** JIT Debugging **************&lt;br /&gt;
To enable just-in-time (JIT) debugging, the .config file for this&lt;br /&gt;
application or computer (machine.config) must have the&lt;br /&gt;
jitDebugging value set in the system.windows.forms section.&lt;br /&gt;
The application must also be compiled with debugging&lt;br /&gt;
enabled.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.windows.forms jitDebugging=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When JIT debugging is enabled, any unhandled exception&lt;br /&gt;
will be sent to the JIT debugger registered on the computer&lt;br /&gt;
rather than be handled by this dialog box.&amp;lt;/pre&amp;gt;Okay. I got an error message for you to look at. What's wrong?--[[User:Toad|Toad]] 13:37, 24 February 2009 (EST)&lt;br /&gt;
&lt;br /&gt;
==Start Error==&lt;br /&gt;
Opening Tweak, the program crashes. There's no error message per se, it just doesn't open and give the default windows error message, and asks me if I want to send a report. Help?&lt;br /&gt;
&lt;br /&gt;
:you need to install separately .NET 1.1 as well as .NET 2.0, .NET 3.5 does not install these previous versions....&lt;br /&gt;
&lt;br /&gt;
Even with all versions of .NET that exist already installed, Tweak crashed on startup. I am using an up-to-date version of WinXP SP3. I hope that it causes no problems that I unfortunately have a German language version of XP. Proof of installed .NET versions: http://members.arstechnica.com/x/dio82/software.png&lt;br /&gt;
&lt;br /&gt;
Error message:&lt;br /&gt;
&lt;br /&gt;
EventType : clr20r3     P1 : gibbed.dwarffortress.tweak.exe     P2 : 1.2.0.0&lt;br /&gt;
P3 : 47f19dc1     P4 : mscorlib     P5 : 2.0.0.0     P6 : 471ebc5b     P7 : 3404&lt;br /&gt;
P8 : 119     P9 : system.io.directorynotfound   &lt;br /&gt;
&lt;br /&gt;
Many thanks to potential fixes -[[User:Dio82|Dio82]] 08:36, 4 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I'd just like to note that I also have all three .NET versions downloaded and installed, and I still get the general Windows Vista error message (Tweak has stopped working, windows is searching for a solution... A program caused the program to stop working, windows will close the program). I've tried starting up Tweak before loading DF, during the DF title screen, and while playing a current fortress. I didn't, however, get the detailed error message described above. --[[User:Untelligent|Untelligent]] 21:57, 4 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:The above error message is part of the report that XP/Vista wants to send to Microsoft. Just click on details of the report when Vista prompts you about sending that report. --[[User:Dio82|Dio82]] 06:05, 5 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:It didn't prompt me for sending a report. --[[User:Untelligent|Untelligent]] 16:17, 6 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:This error is basically saying you did not extract Tweak correctly, the Tweak zip file contains several directories that Tweak needs to function correctly. &amp;amp;mdash;[[User:Rick|Rick]] 20:46, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Reveal and Profile Edit Issue==&lt;br /&gt;
&lt;br /&gt;
I've downloaded your program and managed to get a few features working, such as the one that allows you to change your starting dwarf number and points. The two modules I wanted to use most, however, Reveal and Profile Edit, don't seem to want to work at all, and as far as I can tell, I'm not getting a program error so much as... I don't know, a failure to recognize something. I'm not a programmer, you'll notice.&lt;br /&gt;
&lt;br /&gt;
When attempting to use Reveal at the regional map, I get [http://i21.photobucket.com/albums/b296/Bitscape2000/RevealProblem.jpg this].&lt;br /&gt;
&lt;br /&gt;
When attempting to use the Profile Editor at the &amp;quot;preparing carefully&amp;quot; screen, as it says, I get [http://i21.photobucket.com/albums/b296/Bitscape2000/ProfileProblem.jpg this], and if I click the OK button it says [http://i21.photobucket.com/albums/b296/Bitscape2000/ProfileProblem2.jpg this].&lt;br /&gt;
&lt;br /&gt;
Apologies for the largish screenshots. Any idea what might help? --[[User:Anfini|Anfini]] 15:57, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: The Reveal tool is only used while already embarked.  Find a place to start your fortress, embark, and then run Reveal. And, keep in mind if you want to reveal all of the map you have to designate the bottom layer for digging completely then undesignated it BEFORE you run reveal--this will make DF load up the map for Reveal to find. As for the other errors, I'm not sure what is going on. Sorry.  --[[User:Corc|Corc]] 18:36, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Thanks for the help with Reveal, that worked perfectly. I suppose I misunderstood the module. The Profile dealie is the one I ''really'' want to use, though! If anyone has insight on how to work it, I would be grateful. Thanks! --[[User:Anfini|Anfini]] 19:24, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Tile Edit Tile ID List ==&lt;br /&gt;
&lt;br /&gt;
Further explorations with Tweak leave me convinced we're missing another memory location that holds each block's type. Sandy clay Wall in one area doesn't match up with the data I gathered for my table of IDs, and there isn't enough data to be customized in Tile Edit to account for all the possibilities of ores and gems. Unfortunately I'm not knowledgable enough, nor am I patient enough, to find this memory location. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 19:37, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Tile composition and gem type are special cases that are not held in tile data, and they have not been completely understood. &amp;amp;mdash;[[User:Rick|Rick]] 19:58, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Actually Gems and ore are understood.  They are considered Events (from the memory hack page terms) and are flagged by a bitmap.  The code sample I posted above, to add in finding only deposits of ore to Reveal, uses another 16x16 array to specify quickly that an event is taking place in that tile--then checks the bitmaps for what kind of ore (gem/ore/whatever) goes there.  The events use the global tile ids which it gets from the raw files (and is in the order read in from those raw files).  Using events you can add any type of deposit to the tile area (add sand to obsidian).  When I was looking into the TileIDs I came to the conclusion that the IDs are in a pattern and the type of rock/soil is dependent on the biome set for that tile.  IDs X -&amp;gt; Y for example will always be smooth walls, just of main biome material.  What designates the Biome is probably another one of the 16x16 blocks of data--I just got on a side track and never figured out which one for sure.  To test/confirm this, try finding a value that changes a stone type to a soil type then give that same soil TileID to a different kind of stone on another layer--it should turn into a soil type as well, but most likely not the same kind as before.  Doing that on the first 2 layers of the map will make it easier since it usually has both rock and soil from the same biome.   I started documenting this on my user page.  --[[User:Corc|Corc]] 20:34, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: I'm not sure why you wrote that blurb instead of linking to my page on it. I know the gem stuff is known, I should have been more clear, I meant the composition/type regional layer muckery. &amp;amp;mdash;[[User:Rick|Rick]] 20:51, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Sorry 'bout that. Which page are you talking about? There are so many, that when I was looking for info I really didn't know where to look for valid info.  I wrote the blurb because he was talking about gems and ore specifically, and I guess I misunderstood your response. --[[User:Corc|Corc]] 21:34, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::: [[User:Rick/Memory_research#Mineral_Event]] &amp;amp;mdash;[[User:Rick|Rick]] 22:01, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::: OK, great, I wasn't sure if there was a newer one made. Now Valarnin has a link and a short explanation to go with it.  So now he may be inspired to continue having fun digging in the memory :) --[[User:Corc|Corc]] 00:38, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: I'm not sure I understand exactly what's going on there. Is the vector a pointer to the mineral event's location? It would be so much easier if this was mapped out in Tile Edit. Speaking of Tile Edit, is the source available? I may be able to modify it to show the extra info. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 13:37, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: Okay, I built Corc's modification to Reveal and learned a bit from that, but I have no example of a GUI and I'm a C++ programmer, not a C# programmer. I need an example of a GUI. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 14:11, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::::: I was trying to do something similar myself. Just in case you didn't see it, here is a link to Rick's Dev discussion ([[User_Talk:Rick/Tweak/Development]]) which might be a better place to talk about all this.  What I did was just go through the c# gui sample and copy and paste stuff in while reading about what does what. --[[User:Corc|Corc]] 14:26, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== New Versions ==&lt;br /&gt;
Any Idea when we will have an update for the most recent versions? What is needed? What do us Noobs do to get it to work?--[[User:ERoberts|ERoberts]] 13:58, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I'm currently busy &amp;quot;in real life&amp;quot; with work so I can't tend to Tweak for the latest version of DF just yet. Aside from minor bugs with Tweak modules (such as the freezing bug with Tile Edit) there is no need for an update other than providing Tweak with data for the version you want to use it with. You can probably find the information needed for Tweak's XML files for the new version on Jifodus's user page. &amp;amp;mdash;[[User:Rick|Rick]] 05:20, 18 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Sorry its been a while since I've done this, do I still just put that info in a memory.ini file?&lt;br /&gt;
&lt;br /&gt;
::: I've got something to do today, but if no one has done it yet, I'll try to get something available later tonight for people. --[[User:Corc|Corc]] 11:42, 18 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::: You get the hash for the newest version, open up versions.xml, and add a new line such as this:&lt;br /&gt;
 	&amp;lt;version name=&amp;quot;0.27.176.39c&amp;quot; hash=&amp;quot;8f8cf06b1cd5ea102881a7cced767d4f&amp;quot; /&amp;gt;&lt;br /&gt;
:::: Then, you copy the newest version's folder you have in the versions folder and rename it to the newest version. Finally, you change the data in each xml file to match Jifodus's user page. I've uploaded the newest versions and the versions.xml file for 39b and 39c here:&lt;br /&gt;
 	http://dffd.wimbli.com/file.php?id=309&lt;br /&gt;
:::: However, I couldn't get anything to do with creatures to work. I couldn't seem to find a value to put in for race_vector from Jifodus's page. Corc, if you happen to know, tell me and I'll update the file.&lt;br /&gt;
&lt;br /&gt;
::::: Sorry to drop the ball. I don't think I could do much more than what was done already without spending a lot of time I don't have. Very grateful to whoever set that up (post your sig next time :P) --[[User:Corc|Corc]] 00:32, 20 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::: T'was me. I was a bit tired when I posted that. You could have checked the uploader on DFFD too. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 02:47, 20 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: Any chance of getting compatibility with 39e? --[[User:Deekin|Deekin]] 15:44, 1 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Looks like Deekin beat me to the punch.  Ditto on the 39e request. :)  --Mozleron 12:46, 1 August 2008 (PDT)&lt;br /&gt;
:: Fix for 39e is here (hash included)EDIT: Only address lookup works: http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.39e.core.xml --[[User:Aluminus|Aluminus]] 11:12, 4 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
If someone who knows how has the time, could you please add a section explaining how to get the hash for the new version? That way we can update this to work with new versions faster. [[User:Dangerous Beans|Dangerous Beans]] 01:54, 3 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:If you're running one instance of the new version of DF, and in Tweak you choose File-&amp;gt;Select Process, it will ask you if you're sure you want to connect to the process (and it will give you the PID).  If you say yes, it will calculate the hash, look it up in versions.xml, find no match, and then show you a message box that includes the hash.  Copy that down, and then you can edit versions.xml.  --[[User:Exponent|Exponent]] 12:19, 9 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Looks like you'll need to manually create a directory in &amp;quot;versions&amp;quot; to keep it from crashing and even then, you'd need to have the correct memory offsets to make it work. --[[User:Aristoi|Aristoi]] 19:31, 10 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
===How I got tweak to work with 39f (and 40c)===&lt;br /&gt;
This should work with newer versions, too, as long as jifodus finds new memory locations as quickly as he did this time. It only got Adjust Start, Reveal, and Tile Edit to work, though.&lt;br /&gt;
* Create a new folder tweak/versions/0.28.181.39f&lt;br /&gt;
* Download http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.39f.core.xml and save it in the new folder as core.xml&lt;br /&gt;
* Open core.xml and tweak/versions.xml in notepad&lt;br /&gt;
* Add the line ''&amp;lt;version name=&amp;quot;0.28.181.39f&amp;quot; hash=&amp;quot;33db0401081058fb54252210bf371344&amp;quot; /&amp;gt;'' after the other versions in versions.xml; for other versions than 39f, find the hash at the end of the new core.xml&lt;br /&gt;
* In core.xml, delete everything between the last ''&amp;lt;offset name=...'' line and the ''&amp;lt;/memory&amp;gt;'' line.&lt;br /&gt;
* Save and close versions.xml and core.xml.&lt;br /&gt;
* Now start Tweak and use it like normal. Adjust Start, Reveal, and Tile Edit should work fine.&lt;br /&gt;
Of course, it would be nice if someone found all of the Tweak-related memory locations right away, but I'm not willing to be that someone, so I can't be too demanding.&lt;br /&gt;
&lt;br /&gt;
--[[User:Nagromo|Nagromo]] 22:07, 10 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Great work!  I had a bit of a problem with it until I deleted all of these lines fromt he XML:&lt;br /&gt;
:::	&amp;lt; !-- the following is used by 3D Dwarf/Dwarf Visualizer --&amp;gt;&lt;br /&gt;
:::	&amp;lt;pe timestamp_offset=&amp;quot;0x004000F8&amp;quot; timestamp=&amp;quot;0x489D8C7F&amp;quot; /&amp;gt;&lt;br /&gt;
:::	&amp;lt;version name=&amp;quot;v0.28.181.39f&amp;quot; /&amp;gt;&lt;br /&gt;
:::	&amp;lt; !-- add the following line to DwarfFortress.Versions.xml&lt;br /&gt;
:::	&amp;lt;version name=&amp;quot;0.28.181.39f&amp;quot; number=&amp;quot;28181396&amp;quot; hash=&amp;quot;33db0401081058fb54252210bf371344&amp;quot; /&amp;gt;&lt;br /&gt;
:::	-- &amp;gt;&lt;br /&gt;
::--[[User:Aristoi|Aristoi]] 22:33, 11 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::I re-worded the directions to try to make it more clear. Also, I just did this for 40c, and it worked fine.&lt;br /&gt;
::--[[User:Nagromo|Nagromo]] 17:12, 30 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==How do I get it to work with the new version?==&lt;br /&gt;
How do I get tweak to work with v0.28.181.40a? I am not good with computers.--[[User:Demosthenes|Demosthenes]] 22:59, 20 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Getting it to work with version 40c==&lt;br /&gt;
Nevermind, found the appropriate core.xml&lt;br /&gt;
&lt;br /&gt;
http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.40c.core.xml&lt;br /&gt;
&lt;br /&gt;
for the current ones, check here:&lt;br /&gt;
&lt;br /&gt;
http://www.geocities.com/jifodus/tables/dwarvis/&lt;br /&gt;
&lt;br /&gt;
: [http://www.bay12games.com/forum/index.php?topic=23689.0 Test version of Tweak 1.3.0.0 with .40c support] &amp;amp;mdash;[[User:Rick|Rick]] 20:16, 31 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Doesn't seem to work with 40d. ==&lt;br /&gt;
&lt;br /&gt;
After updating tweak to the new version, the modules are still red. I'm assuming this means that they're incompatible. When I enter the log, I get this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     Error: Failed to load C:\etc.\tweak\versions\0.28.181.40d\core.xml: There is an error in XML document (34, 3).  Validation error: The element 'memory' has invalid child element 'pe'. List of possible elements expected: 'address, offset'.&lt;br /&gt;
      Info: Welcome to Dwarf Fortress Tweak!&lt;br /&gt;
   Verbose: Found possible game at process ID 4644.&lt;br /&gt;
   Verbose: Selected game with process ID 4644, hash is 2c686c26307dcccd7c36cc79737ebe4f.&lt;br /&gt;
   Verbose: Game is version 0.28.181.40d.&lt;br /&gt;
&lt;br /&gt;
Just a heads up. The core.xml seems to not function correctly.&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Never mind. Found a thread to fix my problem.&lt;br /&gt;
&lt;br /&gt;
http://www.bay12games.com/forum/index.php?topic=24745.0&lt;br /&gt;
&lt;br /&gt;
Everything except the Adjust Profile module works, which is a bit awkward, since that's the only one I really wanted. I'll do some more digging.&lt;br /&gt;
&lt;br /&gt;
: That link fixed it for me, the &amp;quot;updated for .40d&amp;quot; link was crashing out for me in all but Tile Edit, so it may not have been correctly updated - or it might just be Vista64 vagaries --[[User:Soor|Soor]] 15:59, 16 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I'm getting the same error message. &amp;lt;b&amp;gt;Error: Failed to load Q:\Software\DFG 18-40d11\tweak\versions\0.28.181.40d\core.xml: There is an error in XML document (34, 3).  Validation error: The element 'memory' has invalid child element 'pe'. List of possible elements expected: 'address, offset'.&amp;lt;/b&amp;gt; I got that both before and after I followed the steps given at that topic. In addition, tweak will always say &amp;quot;no dwarf fortress processes found&amp;quot; when I press select process. [[User:Shukaro|Shukaro]]&lt;br /&gt;
&lt;br /&gt;
== Problem When Selecting Processes ==&lt;br /&gt;
&lt;br /&gt;
Whenever I attempt to select a process, I get this message&lt;br /&gt;
&lt;br /&gt;
Could not a find a version for the following hash: 2c686c26307dcccd7c36cc79737ebe4f&lt;br /&gt;
Look this hash up on the tweak website?&lt;br /&gt;
&lt;br /&gt;
Any help?&lt;br /&gt;
&lt;br /&gt;
== Error 299 ==&lt;br /&gt;
&lt;br /&gt;
When I try to start a module, I've got the following message box :&lt;br /&gt;
&lt;br /&gt;
error 299.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Gibbed.DwarfFortress.Tweak.Win32Exception: error 299&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ProcessMemory.Read(UInt32 address, Byte[]&amp;amp; data, UInt32 size)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ProcessMemory.ReadVector(UInt32 address, Boolean andData)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tools.Heal.Module.Run(ModuleMode mode, IVersion version, IMemory memory, ILogger log, String[] args)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ModulePicker.onActivateModule(Object sender, EventArgs e)&lt;br /&gt;
   à System.Windows.Forms.ListView.OnItemActivate(EventArgs e)&lt;br /&gt;
   à System.Windows.Forms.ListView.WmReflectNotify(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.ListView.WndProc(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm running Vista SP1, DF 0.28.181.40d, Tweak 1.3.0.0, and .NET 3.5 is installed. Any help ?&lt;br /&gt;
&lt;br /&gt;
I'm getting this as well when I try to heal, rather annoying cuz I thought this version was finally fully updated.-Userpay&lt;br /&gt;
&lt;br /&gt;
== Can't use most modules ==&lt;br /&gt;
&lt;br /&gt;
So, I updated tweak to .39e, and I'm having major problems with this software.&lt;br /&gt;
&lt;br /&gt;
It recognizes DF just fine, but when I'm preparing carefully I try to use Adjust Profile and it gives me an error saying &amp;quot;You can only use this when preparing carefully&amp;quot;, even though I am.&lt;br /&gt;
&lt;br /&gt;
So then I designate for mining the entire bottom level of the map, undesignate it, and run reveal, and it says &amp;quot;Map data not available&amp;quot; or something like that.&lt;br /&gt;
&lt;br /&gt;
Then I try to run Tile Edit and it says the same thing.&lt;br /&gt;
&lt;br /&gt;
So then I thought, maybe I need to lookup the addresses each of these modules need, right?&lt;br /&gt;
&lt;br /&gt;
So I run lookup address, and it takes two seconds to find only the addresses needed for &amp;quot;Enable Magma Buildings&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Basically, I'm only using this to enable magma buildings after using tile edit on Dtil, because I get errors on every single module on this software.&lt;br /&gt;
&lt;br /&gt;
I'm running the latest version of tweak, it's properly updated, I'm pretty sure I have net runtime 3.5 installed because otherwise I wouldn't get it to run in the first place.&lt;br /&gt;
&lt;br /&gt;
Help!&lt;br /&gt;
&lt;br /&gt;
== Version 40d11? ==&lt;br /&gt;
&lt;br /&gt;
Tweak currently does not work under 40d11, and any attempts by me to get it to work by editing the XML files has failed. With which methods is the for example the version hash generated? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Dio82|Dio82]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Considering the relatively rapid releases of the d# series, I wouldn't expect any utility support. I actually don't expect any support for any release not posted on the Official Download page. Among other reasons why, is the high probability that there are a great deal of memory use/address changes related to the OpenGL changes that the d# series uses... possibly even completely breaking the current methods used to find and edit DF's relevant memory locations. (I'm not saying for sure, but it seems pretty likely) --[[User:N9103|Edward]] 22:13, 30 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:There is a version of reveal.exe for 40d11 on dffd at least. For the rest of the modules there seems to be no alternative --[[User:CptFastbreak|CptFastbreak]] 18:45, 20 May 2009 (UTC)&lt;br /&gt;
::That's the old standalone reveal, not the tweak module.  I had to hexedit it to get it working, and it still has problems under Vista.&amp;lt;br/&amp;gt;To answer the original question, the version hash is an MD5 digest of the entire DF executable.&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 04:57, 21 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== version mismatch, trouble fixing. ==&lt;br /&gt;
&lt;br /&gt;
So, I open tweak and it tells me &amp;quot;Could not find a version for the following hash: 2c686c26307dcccd7c36cc79737ebe4f&amp;quot; . If I choose to look it up, it says something about the site not having it there.&lt;br /&gt;
Thinking it was to do with my version, I went to fix that but encountered a problem: &amp;lt;i&amp;gt;6.  Go to Dwarvis' Page and download the core.xml that matches your version of DF. Save it to the folder you just created, and rename it to &amp;quot;core.xml&amp;quot;&amp;lt;/i&amp;gt;&lt;br /&gt;
The site seems to have disappeared.&lt;br /&gt;
&lt;br /&gt;
BTW, I have a whole bunch of custom entities and items and creatures, are these causing problems and/or likely to cause problems?&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Tweak&amp;diff=61913</id>
		<title>Utility Talk:Tweak</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Tweak&amp;diff=61913"/>
		<updated>2010-01-29T00:51:47Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* Reveal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Suggested Addition(s) ==&lt;br /&gt;
&lt;br /&gt;
How hard would it be to adapt [http://www.dwarffortresswiki.net/index.php/Utilities#Regional_Prospector Regional Prospector] [http://www.dwarffortresswiki.net/index.php/User_talk:0x517A5D#Seekret_Projekt 1] [http://www.dwarffortresswiki.net/index.php/User:0x517A5D#Seekret_Projekt 2] to this application?&amp;lt;br&amp;gt;&lt;br /&gt;
From what I've seen of your newest tool, it looks like it should become the standard for future 'tweaks' :p&amp;lt;br&amp;gt;&lt;br /&gt;
Thanks tons for your contributions to the cause! --[[User:N9103|Edward]] 19:41, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
Oh, and one other idea...&lt;br /&gt;
Perhaps a small readme/guide for each of the tools?&amp;lt;br&amp;gt;&lt;br /&gt;
Something like those on the Utilities page would be fine.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: It could probably be easily ported but I'm not sure I want to take someone elses work so quickly for Tweak. I am working on that kind of a list (see the Tile Edit link on the core modules list). &amp;amp;mdash;[[User:Rick|Rick]] 19:49, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::List? RP doesn't make lists that I know of. And I know TileEdit can create magma/lava (which one is it btw? lava I'm guessing, since I don't think it can create a replenishing pipe in it's current form.) but unless I really get desperate, I'm not going to make a huge pool of lava to tap for various oddities. (i.e. traps/constructions) TileEdit's great for occasionally making a single tile of the stuff when it'd otherwise be a pain to get the liquid to the desired point, or for replenishing an already small source. Unless you're planning on making TileEdit capable of modifying regional tiles, (or alternatively, working like a designation for many tiles at once...) I don't see how it could relate to what RP does. --[[User:N9103|Edward]] 17:31, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::As far as I can tell, the list in question is a list of readmes/guides like those on the Utilities page.&lt;br /&gt;
:::Magma = lava in an underground square. Lava = magma in an aboveground square. They are identical in all but name. --[[User:Savok|Savok]] 19:52, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Is there an as yet unidentified flag that causes replenishment? --[[User:N9103|Edward]] 00:15, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::By 'list' I meant looking up what mineral types, etc, are in the current map. The module is called 'Survey', for obvious reasons. &amp;amp;mdash;[[User:Rick|Rick]] 00:39, 30 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Hmm.. well, unless you plan on doing that at an embark level, (as opposed to the in-fort level it sounds like,) it still won't be duplicating any effects that RP currently does. --[[User:N9103|Edward]] 00:15, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::: I don't intend to duplicate the features of it. &amp;amp;mdash;[[User:Rick|Rick]] 01:04, 31 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Help for the Noob(s) ==&lt;br /&gt;
&lt;br /&gt;
Just downloaded the tweaker after some confusion, for the sake of healing the sole broker of my fort so he can get up and trade smartly enough to save my fort (to be filled with lava, but that's beside the point). Once I started it on up, all the modules but the address lookup were red, and the lookup only turns up &amp;lt;address name=&amp;quot;starting_dwarf_count&amp;quot; value=&amp;quot;0x00f77927&amp;quot;'.&lt;br /&gt;
&lt;br /&gt;
I'm not entirely sure where to go from here... Any guide forthcoming?&lt;br /&gt;
&lt;br /&gt;
: Red modules mean they are incompatible, I'm going to assume you are running on .38b, the latest is .38c, which Tweak has full support for. I did not bother to provide full support for .38b. &amp;amp;mdash;[[User:Rick|Rick]] 05:34, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Error report ==&lt;br /&gt;
&lt;br /&gt;
For some reason, the latest version (1.2.0.1) crashes whenever I try to run it. This is with or without DF running. Version 1.1.0.0 on the other hand worked fine for me, and still does. This is the debugging info returned for the crash in 1.2.0.1:&lt;br /&gt;
 An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Gibbed.DwarfFortress.Tweak.exe&lt;br /&gt;
 &lt;br /&gt;
 Additional information: Could not load file or assembly&lt;br /&gt;
 'System.Core, Version=3.5.0.0, Culture=neutral,  PublicKeyToken=b77a5c561934e089'&lt;br /&gt;
 or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;
This is with it directly extracted from the zip with proper folder structure, no changes made. I've also tried moving it out to a root folder on the drive in case the long path was confusing it with no success. --[[User:Janus|Janus]] 01:04, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Sounds like you don't have .NET 3.5 installed. &amp;amp;mdash;[[User:Rick|Rick]] 01:53, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Did version 1.1.0.0 not require it? That version has been working fine, and I could have sworn I had to install the .NET 3.5 Framework to get it working.&lt;br /&gt;
:: However, whatever the case, I've just (re?)installed the 3.5 framework and that does indeed seem to have taken care of it. Thanks. --[[User:Janus|Janus]] 02:38, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: I wasn't using any features of 3.5 yet -- which changed with 1.2.0.0. &amp;amp;mdash;[[User:Rick|Rick]] 03:40, 1 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
Found an error in the adjust profile module, happens when I click the &amp;quot;reset profile&amp;quot; button when &amp;quot;reset/read/write all&amp;quot; is checked.&lt;br /&gt;
  System.ArgumentException: 'child' is not a child control of this parent.&lt;br /&gt;
   at System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child, Boolean throwException)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child)&lt;br /&gt;
   at Rinn.DwarfFortress.Tools.AdjustProfile.Configuration.textBox_TextChanged(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.set_Text(String value)&lt;br /&gt;
   at System.Windows.Forms.TextBoxBase.set_Text(String value)&lt;br /&gt;
   at System.Windows.Forms.TextBox.set_Text(String value)&lt;br /&gt;
   at Rinn.DwarfFortress.Tools.AdjustProfile.Configuration.buttonReset_Click(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;br /&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
[[User:Cheapweed|Cheapweed]] 18:01, 12 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Please report that [[User_talk:Rinn/AdjustProfile|on Rinn's AdjustProfile talk page]] &amp;amp;mdash;[[User:Rick|Rick]] 22:33, 12 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== NET 3.5 Compatability ==&lt;br /&gt;
Just a quick FYI: Those of us on 2000 cannot (as far as I've been able to determine) install .NET 3.5, which makes it impossible to use the latest version of Tweak. Keeping the 1.1 version online maintains availability of this invaluable tool to those of us who refuse to be infected with the XP virus. &amp;amp;mdash;[[User:Rochndil|Rochndil]] 14:49, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: While I do use .NET 3.5 features, I will see if I can move to .NET 2.0 (or make a 2.0 compatible version). &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: ++! I'd dearly love a 2.0 version; various vexing vagaries prohibit me from installing 3.5. Has there been any news since April? [[User:Spirilus|Spirilus]] 16:46, 5 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Or leave it. Seeing as its an 8 year old Operating system that you can't buy any more. More to the point if you are running DF your computer is more than adequate for running Windows XP. --[[User:Gorfob|Gorfob]] 19:00, 14 July 2008 (EDT)&lt;br /&gt;
::What .NET 3.5 features do you use? Note that VB9/C#3 language features can still be used even if you target an earlier framework. [[User:Random832|Random832]] 18:17, 5 March 2009 (EST)&lt;br /&gt;
&lt;br /&gt;
::Dont forget the linux users. They can only use .Net 2.0 inside wine... [[Special:Contributions/95.33.65.20|95.33.65.20]]&lt;br /&gt;
&lt;br /&gt;
== Blue modules ==&lt;br /&gt;
I just installed Tweak for the first time and I seem to have a problem. The buttons beside all the modules are blue, not green like in the picture, and the modules don't appear to do anything. I am running DF version 0.27.176.38c and Tweak version 1.2.0.0. I tied to update to version 1.2.0.1 but it still shows as the old version.&lt;br /&gt;
&lt;br /&gt;
: If your Tile Edit is 1.1, not 1.0, you have 1.2.0.1. As for blue modules, you need to 'Select Process' before you can use anything. There is an option to automatically select a process on startup. Once you do this, modules will either turn red or green as like before. &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Yea...&lt;br /&gt;
::Didn't work for me. whenever I select one I get something like this &amp;quot;are you sure you want to select process 2828?&amp;quot; then when I click yes, &amp;quot;could not find the following hash 59ab29201aca9f3c66b1ab102fb3ceea&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Windows Installer 3.1 ==&lt;br /&gt;
&lt;br /&gt;
It says I need Windows Installer 3.1. Help? --[[User:Savok|Savok]] 19:12, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Tweak does, or the .NET 3.5 install does? &amp;amp;mdash;[[User:Rick|Rick]] 22:58, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Sorry. .NET 3.5 install does. --[[User:Savok|Savok]] 11:41, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::What operating system are you using? [http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838-de776fd4138c&amp;amp;displaylang=en Windows Installer 3.1 Redistributable] &amp;amp;mdash;[[User:Rick|Rick]] 12:16, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Windows XP Home Edition Version 2002 Service Pack 2.&lt;br /&gt;
::::Out of curiosity, what does that 3.1 installer do? --[[User:Savok|Savok]] 15:55, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::It's for MSI installers I would assume. Though I'm not sure how you don't have the Windows Installer 3.1 on XP. &amp;amp;mdash;[[User:Rick|Rick]] 22:49, 4 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Freezing Tile Edit ==&lt;br /&gt;
&lt;br /&gt;
For some reason, whenever I edit a tile using the Tile Edit programme, the next dwarf to step on the tile freezes to death (as will the many dwarves who come to loot the corpse). In the tile edit window, in the temperature section, it shows 0 in the first box (always) and another number of around 12000 in the second. The values by themselves give no indication as to the temperature, and even when I leave them alone, simply changing the tile will result in it becoming a freezing tile of death.&lt;br /&gt;
I have no idea if anyone else is experiencing this with tile edit, or whether I'm doing something horribly wrong.&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Maw3193|Maw3193]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:I get this whenever I try to add water to a square. The water freezes into a block of absolute-zero ice, and freezes to death anybody who steps on it. It doesn't happen when I add magma, or change magma depth. The title bar says version 1.2.0.0, but TileEdit is 1.1 so I guess it's actually 1.2.0.1 (see above) [[User:Anydwarf|Anydwarf]] 12:56, 17 April 2008 (EDT)&lt;br /&gt;
::Tile Edit is broken like this. You need to manually set a temperature for EVERY tile you edit. Rick, fix it! &amp;gt;8( --[[User:GreyMario|GreyMario]] 15:44, 3 May 2008 (EDT)&lt;br /&gt;
::Also, as an addendum, the top temperature is the NEW temperature for the tile, the bottom temperature is the CURRENT temperature. --[[User:GreyMario|GreyMario]] 15:45, 3 May 2008 (EDT)&lt;br /&gt;
::It's not just absolute-zero. According to the Dwarf Fortress temperature scale, it's over nine thousand degrees below absolute-zero :) &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Maw3193|Maw3193]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::Before editing any of the tile, press Reset first, it should fill the first temperature in for you. --[[User:SP2|SP2]] 19:20, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Still doesn't work for me, I've tried all of this. I've set the temperature about five different times.. still the freezing tile of DOOM. --[[User:Jaxstrife|Jaxstrife]] 20:51, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::I've identified the bug and it will be fixed in the next release. &amp;amp;mdash;[[User:Rick|Rick]] 08:16, 9 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Developer page ==&lt;br /&gt;
&lt;br /&gt;
I'm interested in making a module for Tweak, will there be more info soon about contributing to it?&lt;br /&gt;
(if there is a page I couldn't find that talks about it, feel free to let me know :)&lt;br /&gt;
--[[User:Corc|Corc]]&lt;br /&gt;
&lt;br /&gt;
: There hasn't really been any demand for it, but now that there is I'll fill out some info for you. &amp;amp;mdash;[[User:Rick|Rick]] 01:33, 27 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: [[User:Rick/Tweak/Development|I've added some preliminary information to the development page]]. &amp;amp;mdash;[[User:Rick|Rick]] 17:41, 30 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
How easy would it be to get started with writing a module? I assume Tweak handles the memory editing, but does it hand the module a bunch of bytes, or a fully parsed structure? I'd be interested in at least trying to write up a module.. Maybe you could just post the source for Heal or one of the other simple modules. [[User:Anydwarf|Anydwarf]] 18:57, 29 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I would just like to add my vote for a .NET 2.0 version since 3+ causes severe problems on my system trying to connect to M$ all the time :P&lt;br /&gt;
&lt;br /&gt;
:I downloaded 3.5 and even got the express versions of Visual Studio to play with.  I believe there is an option to &amp;quot;check&amp;quot; when you install that will stop it from contacting MS--I was asked a few times.&lt;br /&gt;
:--[[User:Corc|Corc]] 23:57, 28 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Tweak's memory access doesn't deal with structures, but does allow for easy reading of common data types (and raw memory, if that's your deal). Reading structures may come in the future, though. &amp;amp;mdash;[[User:Rick|Rick]] 17:41, 30 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Adjust Start: Less Than Seven Dwarves Crashes Game Upon Embarking ==&lt;br /&gt;
&lt;br /&gt;
Crash replicated on two different computers both running windows XP both using .38c version of DF.  Different parameter set worlds and different local areas still results in crash, as does both embarking carefully and not carefully.  When it crashes I get an error message from windows saying that &amp;quot;dwarffort.exe has encountered a problem and needs to close.&amp;quot;  I have tested this for 1, 4, and 6 dwarves with the game crashing, and found that with 10 dwarves it did not crash.&lt;br /&gt;
&lt;br /&gt;
== Reveal ==&lt;br /&gt;
&lt;br /&gt;
(Debated about putting this here or on your sample code discussion.)  To test out making a new module (very easy btw, awesome) I modified reveal to just reveal interesting stuff like ore and gems.  Instead of releasing a whole new (very similar and 99% your code) module maybe you could add a quick if statement/popup that people could check when they run it?  Basically what I did was inside the nested for loops I added in getting the &amp;quot;type&amp;quot; data and if the type was for an event, &amp;lt;code&amp;gt;B8 01&amp;lt;/code&amp;gt;, then I'd let it do your unhide bit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
memory.Read(block + designation, ref data);&lt;br /&gt;
memory.Read(block + typeoffset, ref types); // added types, half the size of data, (256 * 2)&lt;br /&gt;
for (int i = 0; i &amp;lt; 16 * 16; i++)&lt;br /&gt;
{&lt;br /&gt;
   byte[] temp = BitConverter.GetBytes(BitConverter.ToInt16(types, i * 2)); // actual type&lt;br /&gt;
   if (temp[0] == 184) // I found that 0xB8 is all that is needed to check&lt;br /&gt;
   {&lt;br /&gt;
      byte[] newdata = BitConverter.GetBytes(BitConverter.ToUInt32(data, i * 4) &amp;amp; ~0x200);&lt;br /&gt;
      data[(i * 4) + 0] = newdata[0];&lt;br /&gt;
      data[(i * 4) + 1] = newdata[1];&lt;br /&gt;
      data[(i * 4) + 2] = newdata[2];&lt;br /&gt;
      data[(i * 4) + 3] = newdata[3];   &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This unhides only Gems, Ore, &amp;quot;Special&amp;quot; Stone like Orthoclase, adamantine and any other out of the ordinary biome stone.&lt;br /&gt;
&lt;br /&gt;
I thought about making a crazy convoluted module that would scan the map for types of events and let the user enable the ones they wanted unhidden and then unhide them.  But, after going into the event list and finding event IDs (I've got a complete list now) I found it to be too crazy... actually as I typed that I figured out how I could do it with about a forth of what I had coded earlier.&lt;br /&gt;
--[[User:Corc|Corc]] 04:04, 11 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== .NET install freeze? ==&lt;br /&gt;
&lt;br /&gt;
Does .NET ever finish installing? As I write this it's been sitting with a full progress bar for 35 minutes, and took an inordinate amount of time to even get there. (And the bootstrap downloader was completely unusable, kept losing progress.)&amp;lt;br&amp;gt;&lt;br /&gt;
As far as I can tell, it's not even spinning the HDD... though it went through long periods of that before, too.&amp;lt;br&amp;gt;&lt;br /&gt;
Addendum: Rebooting on its own didn't help, but rebooting and aggressively killing running processes down to the bare-bones did... finally.&amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Shurhaian|Shurhaian]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:That's some highly unusual behavior, and I would recommend a through virus and adware scan using atleast two versions of each.&amp;lt;br&amp;gt;&lt;br /&gt;
:For Viruses, [http://housecall.trendmicro.com/ Trend Micro] has a good online scanner, and [http://free.grisoft.com/ AVG] is a good offline scanner.&amp;lt;br&amp;gt;&lt;br /&gt;
:For Adware, [http://www.safer-networking.org/en/spybotsd/index.html Spybot S&amp;amp;D] is just about as good as it gets, and [http://www.microsoft.com/athome/security/spyware/software/default.mspx Microsoft] has a semi-decent one as well.&amp;lt;br&amp;gt;&lt;br /&gt;
:All of these are free. Hope this helps! If not, *could be* some core OS files have been damaged somehow, and *may* require a re-install. --[[User:N9103|Edward]] 21:40, 14 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Another on the 3.5 bug list ==&lt;br /&gt;
&lt;br /&gt;
Allright; I have .net Framework 3.5 installed and its giving me the same error a guy midway up had;&lt;br /&gt;
the.......... IO.notfound thing&lt;br /&gt;
&lt;br /&gt;
Okay scratch that i unzipped tweak again and its running fine.&lt;br /&gt;
it seems tweak doesnt like XP.&lt;br /&gt;
&lt;br /&gt;
Your program has good tastes sir.&lt;br /&gt;
&lt;br /&gt;
== Problem not otherwise found on here. ==&lt;br /&gt;
When trying to select a process, I get this error. Net framework 3.5 is installed. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
************** Exception Text **************&lt;br /&gt;
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.&lt;br /&gt;
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()&lt;br /&gt;
   --- End of inner exception stack trace ---&lt;br /&gt;
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp;amp; signature, IntPtr declaringType)&lt;br /&gt;
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)&lt;br /&gt;
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br /&gt;
   at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)&lt;br /&gt;
   at System.Security.Cryptography.MD5.Create(String algName)&lt;br /&gt;
   at System.Security.Cryptography.MD5.Create()&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.GameVersionLoader.GetProcessHash(Process process)&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.onSelectProcess(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;br /&gt;
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;br /&gt;
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;br /&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:What version of windows are you running? &amp;amp;mdash;[[User:Rick|Rick]] 20:47, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== .NET 3.5 errors: Tweak not Vista compatiale? ==&lt;br /&gt;
&lt;br /&gt;
I have installed .NET 3.5 and tried to run Tweak on my computer. However, It instantly crashes. Is there anything else I should have installed? I am running windows Vista.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;br /&gt;
:Can you please paste the exact error, I cannot help with problems without knowing specifics. &amp;amp;mdash;[[User:Rick|Rick]] 20:46, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I Have the exact same problem, the error is the default vista error. i think this only happens with the newest version of tweak, as i used to beable to run it (though the tile editor never ran for me) &amp;amp;mdash;[[User:Corhen|Corhen]] 8:55, 15 July 2008&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
See the end of this message for details on invoking &lt;br /&gt;
just-in-time (JIT) debugging instead of this dialog box.&lt;br /&gt;
&lt;br /&gt;
************** Exception Text **************&lt;br /&gt;
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Dwarf Fortress\tweak\configuration.xml' is denied.&lt;br /&gt;
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;br /&gt;
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)&lt;br /&gt;
   at System.IO.FileStream..ctor(String path, FileMode mode)&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.LoadConfiguration()&lt;br /&gt;
   at Gibbed.DwarfFortress.Tweak.ModulePicker.onLoad(Object sender, EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;br /&gt;
   at System.Windows.Forms.Form.OnCreateControl()&lt;br /&gt;
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;br /&gt;
   at System.Windows.Forms.Control.CreateControl()&lt;br /&gt;
   at System.Windows.Forms.Control.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Form.WmShowWindow(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Form.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
************** Loaded Assemblies **************&lt;br /&gt;
mscorlib&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tweak&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/Gibbed.DwarfFortress.Tweak.exe&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Windows.Forms&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Drawing&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Utilities&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/Gibbed.DwarfFortress.Utilities.DLL&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.AdjustStart&lt;br /&gt;
    Assembly Version: 1.3.1.0&lt;br /&gt;
    Win32 Version: 1.3.1.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.AdjustStart.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.EnableMagmaBuildings&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.EnableMagmaBuildings.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Heal&lt;br /&gt;
    Assembly Version: 1.3.4.0&lt;br /&gt;
    Win32 Version: 1.3.4.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Heal.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Resume&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 1.3.0.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Resume.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Reveal&lt;br /&gt;
    Assembly Version: 1.3.2.0&lt;br /&gt;
    Win32 Version: 1.3.2.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Reveal.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.TileEdit&lt;br /&gt;
    Assembly Version: 1.3.0.1&lt;br /&gt;
    Win32 Version: 1.3.1.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.TileEdit.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Gibbed.DwarfFortress.Tools.Warp&lt;br /&gt;
    Assembly Version: 1.3.3.0&lt;br /&gt;
    Win32 Version: 1.3.3.0&lt;br /&gt;
    CodeBase: file:///C:/Program%20Files/Dwarf%20Fortress/tweak/plugins/Gibbed.DwarfFortress.Tools.Warp.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Xml&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
System.Configuration&lt;br /&gt;
    Assembly Version: 2.0.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
ymqtd5tk&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
qqzwqkvp&lt;br /&gt;
    Assembly Version: 1.3.0.0&lt;br /&gt;
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)&lt;br /&gt;
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
************** JIT Debugging **************&lt;br /&gt;
To enable just-in-time (JIT) debugging, the .config file for this&lt;br /&gt;
application or computer (machine.config) must have the&lt;br /&gt;
jitDebugging value set in the system.windows.forms section.&lt;br /&gt;
The application must also be compiled with debugging&lt;br /&gt;
enabled.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.windows.forms jitDebugging=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When JIT debugging is enabled, any unhandled exception&lt;br /&gt;
will be sent to the JIT debugger registered on the computer&lt;br /&gt;
rather than be handled by this dialog box.&amp;lt;/pre&amp;gt;Okay. I got an error message for you to look at. What's wrong?--[[User:Toad|Toad]] 13:37, 24 February 2009 (EST)&lt;br /&gt;
&lt;br /&gt;
==Start Error==&lt;br /&gt;
Opening Tweak, the program crashes. There's no error message per se, it just doesn't open and give the default windows error message, and asks me if I want to send a report. Help?&lt;br /&gt;
&lt;br /&gt;
:you need to install separately .NET 1.1 as well as .NET 2.0, .NET 3.5 does not install these previous versions....&lt;br /&gt;
&lt;br /&gt;
Even with all versions of .NET that exist already installed, Tweak crashed on startup. I am using an up-to-date version of WinXP SP3. I hope that it causes no problems that I unfortunately have a German language version of XP. Proof of installed .NET versions: http://members.arstechnica.com/x/dio82/software.png&lt;br /&gt;
&lt;br /&gt;
Error message:&lt;br /&gt;
&lt;br /&gt;
EventType : clr20r3     P1 : gibbed.dwarffortress.tweak.exe     P2 : 1.2.0.0&lt;br /&gt;
P3 : 47f19dc1     P4 : mscorlib     P5 : 2.0.0.0     P6 : 471ebc5b     P7 : 3404&lt;br /&gt;
P8 : 119     P9 : system.io.directorynotfound   &lt;br /&gt;
&lt;br /&gt;
Many thanks to potential fixes -[[User:Dio82|Dio82]] 08:36, 4 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I'd just like to note that I also have all three .NET versions downloaded and installed, and I still get the general Windows Vista error message (Tweak has stopped working, windows is searching for a solution... A program caused the program to stop working, windows will close the program). I've tried starting up Tweak before loading DF, during the DF title screen, and while playing a current fortress. I didn't, however, get the detailed error message described above. --[[User:Untelligent|Untelligent]] 21:57, 4 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:The above error message is part of the report that XP/Vista wants to send to Microsoft. Just click on details of the report when Vista prompts you about sending that report. --[[User:Dio82|Dio82]] 06:05, 5 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:It didn't prompt me for sending a report. --[[User:Untelligent|Untelligent]] 16:17, 6 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:This error is basically saying you did not extract Tweak correctly, the Tweak zip file contains several directories that Tweak needs to function correctly. &amp;amp;mdash;[[User:Rick|Rick]] 20:46, 13 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Reveal and Profile Edit Issue==&lt;br /&gt;
&lt;br /&gt;
I've downloaded your program and managed to get a few features working, such as the one that allows you to change your starting dwarf number and points. The two modules I wanted to use most, however, Reveal and Profile Edit, don't seem to want to work at all, and as far as I can tell, I'm not getting a program error so much as... I don't know, a failure to recognize something. I'm not a programmer, you'll notice.&lt;br /&gt;
&lt;br /&gt;
When attempting to use Reveal at the regional map, I get [http://i21.photobucket.com/albums/b296/Bitscape2000/RevealProblem.jpg this].&lt;br /&gt;
&lt;br /&gt;
When attempting to use the Profile Editor at the &amp;quot;preparing carefully&amp;quot; screen, as it says, I get [http://i21.photobucket.com/albums/b296/Bitscape2000/ProfileProblem.jpg this], and if I click the OK button it says [http://i21.photobucket.com/albums/b296/Bitscape2000/ProfileProblem2.jpg this].&lt;br /&gt;
&lt;br /&gt;
Apologies for the largish screenshots. Any idea what might help? --[[User:Anfini|Anfini]] 15:57, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: The Reveal tool is only used while already embarked.  Find a place to start your fortress, embark, and then run Reveal. And, keep in mind if you want to reveal all of the map you have to designate the bottom layer for digging completely then undesignated it BEFORE you run reveal--this will make DF load up the map for Reveal to find. As for the other errors, I'm not sure what is going on. Sorry.  --[[User:Corc|Corc]] 18:36, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Thanks for the help with Reveal, that worked perfectly. I suppose I misunderstood the module. The Profile dealie is the one I ''really'' want to use, though! If anyone has insight on how to work it, I would be grateful. Thanks! --[[User:Anfini|Anfini]] 19:24, 11 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Tile Edit Tile ID List ==&lt;br /&gt;
&lt;br /&gt;
Further explorations with Tweak leave me convinced we're missing another memory location that holds each block's type. Sandy clay Wall in one area doesn't match up with the data I gathered for my table of IDs, and there isn't enough data to be customized in Tile Edit to account for all the possibilities of ores and gems. Unfortunately I'm not knowledgable enough, nor am I patient enough, to find this memory location. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 19:37, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Tile composition and gem type are special cases that are not held in tile data, and they have not been completely understood. &amp;amp;mdash;[[User:Rick|Rick]] 19:58, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Actually Gems and ore are understood.  They are considered Events (from the memory hack page terms) and are flagged by a bitmap.  The code sample I posted above, to add in finding only deposits of ore to Reveal, uses another 16x16 array to specify quickly that an event is taking place in that tile--then checks the bitmaps for what kind of ore (gem/ore/whatever) goes there.  The events use the global tile ids which it gets from the raw files (and is in the order read in from those raw files).  Using events you can add any type of deposit to the tile area (add sand to obsidian).  When I was looking into the TileIDs I came to the conclusion that the IDs are in a pattern and the type of rock/soil is dependent on the biome set for that tile.  IDs X -&amp;gt; Y for example will always be smooth walls, just of main biome material.  What designates the Biome is probably another one of the 16x16 blocks of data--I just got on a side track and never figured out which one for sure.  To test/confirm this, try finding a value that changes a stone type to a soil type then give that same soil TileID to a different kind of stone on another layer--it should turn into a soil type as well, but most likely not the same kind as before.  Doing that on the first 2 layers of the map will make it easier since it usually has both rock and soil from the same biome.   I started documenting this on my user page.  --[[User:Corc|Corc]] 20:34, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: I'm not sure why you wrote that blurb instead of linking to my page on it. I know the gem stuff is known, I should have been more clear, I meant the composition/type regional layer muckery. &amp;amp;mdash;[[User:Rick|Rick]] 20:51, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::Sorry 'bout that. Which page are you talking about? There are so many, that when I was looking for info I really didn't know where to look for valid info.  I wrote the blurb because he was talking about gems and ore specifically, and I guess I misunderstood your response. --[[User:Corc|Corc]] 21:34, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::: [[User:Rick/Memory_research#Mineral_Event]] &amp;amp;mdash;[[User:Rick|Rick]] 22:01, 16 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::: OK, great, I wasn't sure if there was a newer one made. Now Valarnin has a link and a short explanation to go with it.  So now he may be inspired to continue having fun digging in the memory :) --[[User:Corc|Corc]] 00:38, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: I'm not sure I understand exactly what's going on there. Is the vector a pointer to the mineral event's location? It would be so much easier if this was mapped out in Tile Edit. Speaking of Tile Edit, is the source available? I may be able to modify it to show the extra info. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 13:37, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: Okay, I built Corc's modification to Reveal and learned a bit from that, but I have no example of a GUI and I'm a C++ programmer, not a C# programmer. I need an example of a GUI. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 14:11, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::::: I was trying to do something similar myself. Just in case you didn't see it, here is a link to Rick's Dev discussion ([[User_Talk:Rick/Tweak/Development]]) which might be a better place to talk about all this.  What I did was just go through the c# gui sample and copy and paste stuff in while reading about what does what. --[[User:Corc|Corc]] 14:26, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== New Versions ==&lt;br /&gt;
Any Idea when we will have an update for the most recent versions? What is needed? What do us Noobs do to get it to work?--[[User:ERoberts|ERoberts]] 13:58, 17 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I'm currently busy &amp;quot;in real life&amp;quot; with work so I can't tend to Tweak for the latest version of DF just yet. Aside from minor bugs with Tweak modules (such as the freezing bug with Tile Edit) there is no need for an update other than providing Tweak with data for the version you want to use it with. You can probably find the information needed for Tweak's XML files for the new version on Jifodus's user page. &amp;amp;mdash;[[User:Rick|Rick]] 05:20, 18 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: Sorry its been a while since I've done this, do I still just put that info in a memory.ini file?&lt;br /&gt;
&lt;br /&gt;
::: I've got something to do today, but if no one has done it yet, I'll try to get something available later tonight for people. --[[User:Corc|Corc]] 11:42, 18 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::: You get the hash for the newest version, open up versions.xml, and add a new line such as this:&lt;br /&gt;
 	&amp;lt;version name=&amp;quot;0.27.176.39c&amp;quot; hash=&amp;quot;8f8cf06b1cd5ea102881a7cced767d4f&amp;quot; /&amp;gt;&lt;br /&gt;
:::: Then, you copy the newest version's folder you have in the versions folder and rename it to the newest version. Finally, you change the data in each xml file to match Jifodus's user page. I've uploaded the newest versions and the versions.xml file for 39b and 39c here:&lt;br /&gt;
 	http://dffd.wimbli.com/file.php?id=309&lt;br /&gt;
:::: However, I couldn't get anything to do with creatures to work. I couldn't seem to find a value to put in for race_vector from Jifodus's page. Corc, if you happen to know, tell me and I'll update the file.&lt;br /&gt;
&lt;br /&gt;
::::: Sorry to drop the ball. I don't think I could do much more than what was done already without spending a lot of time I don't have. Very grateful to whoever set that up (post your sig next time :P) --[[User:Corc|Corc]] 00:32, 20 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::: T'was me. I was a bit tired when I posted that. You could have checked the uploader on DFFD too. &amp;amp;rarr;[[User:Valarnin|Valarnin]] 02:47, 20 July 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::: Any chance of getting compatibility with 39e? --[[User:Deekin|Deekin]] 15:44, 1 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Looks like Deekin beat me to the punch.  Ditto on the 39e request. :)  --Mozleron 12:46, 1 August 2008 (PDT)&lt;br /&gt;
:: Fix for 39e is here (hash included)EDIT: Only address lookup works: http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.39e.core.xml --[[User:Aluminus|Aluminus]] 11:12, 4 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
If someone who knows how has the time, could you please add a section explaining how to get the hash for the new version? That way we can update this to work with new versions faster. [[User:Dangerous Beans|Dangerous Beans]] 01:54, 3 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:If you're running one instance of the new version of DF, and in Tweak you choose File-&amp;gt;Select Process, it will ask you if you're sure you want to connect to the process (and it will give you the PID).  If you say yes, it will calculate the hash, look it up in versions.xml, find no match, and then show you a message box that includes the hash.  Copy that down, and then you can edit versions.xml.  --[[User:Exponent|Exponent]] 12:19, 9 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Looks like you'll need to manually create a directory in &amp;quot;versions&amp;quot; to keep it from crashing and even then, you'd need to have the correct memory offsets to make it work. --[[User:Aristoi|Aristoi]] 19:31, 10 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
===How I got tweak to work with 39f (and 40c)===&lt;br /&gt;
This should work with newer versions, too, as long as jifodus finds new memory locations as quickly as he did this time. It only got Adjust Start, Reveal, and Tile Edit to work, though.&lt;br /&gt;
* Create a new folder tweak/versions/0.28.181.39f&lt;br /&gt;
* Download http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.39f.core.xml and save it in the new folder as core.xml&lt;br /&gt;
* Open core.xml and tweak/versions.xml in notepad&lt;br /&gt;
* Add the line ''&amp;lt;version name=&amp;quot;0.28.181.39f&amp;quot; hash=&amp;quot;33db0401081058fb54252210bf371344&amp;quot; /&amp;gt;'' after the other versions in versions.xml; for other versions than 39f, find the hash at the end of the new core.xml&lt;br /&gt;
* In core.xml, delete everything between the last ''&amp;lt;offset name=...'' line and the ''&amp;lt;/memory&amp;gt;'' line.&lt;br /&gt;
* Save and close versions.xml and core.xml.&lt;br /&gt;
* Now start Tweak and use it like normal. Adjust Start, Reveal, and Tile Edit should work fine.&lt;br /&gt;
Of course, it would be nice if someone found all of the Tweak-related memory locations right away, but I'm not willing to be that someone, so I can't be too demanding.&lt;br /&gt;
&lt;br /&gt;
--[[User:Nagromo|Nagromo]] 22:07, 10 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Great work!  I had a bit of a problem with it until I deleted all of these lines fromt he XML:&lt;br /&gt;
:::	&amp;lt; !-- the following is used by 3D Dwarf/Dwarf Visualizer --&amp;gt;&lt;br /&gt;
:::	&amp;lt;pe timestamp_offset=&amp;quot;0x004000F8&amp;quot; timestamp=&amp;quot;0x489D8C7F&amp;quot; /&amp;gt;&lt;br /&gt;
:::	&amp;lt;version name=&amp;quot;v0.28.181.39f&amp;quot; /&amp;gt;&lt;br /&gt;
:::	&amp;lt; !-- add the following line to DwarfFortress.Versions.xml&lt;br /&gt;
:::	&amp;lt;version name=&amp;quot;0.28.181.39f&amp;quot; number=&amp;quot;28181396&amp;quot; hash=&amp;quot;33db0401081058fb54252210bf371344&amp;quot; /&amp;gt;&lt;br /&gt;
:::	-- &amp;gt;&lt;br /&gt;
::--[[User:Aristoi|Aristoi]] 22:33, 11 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::I re-worded the directions to try to make it more clear. Also, I just did this for 40c, and it worked fine.&lt;br /&gt;
::--[[User:Nagromo|Nagromo]] 17:12, 30 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==How do I get it to work with the new version?==&lt;br /&gt;
How do I get tweak to work with v0.28.181.40a? I am not good with computers.--[[User:Demosthenes|Demosthenes]] 22:59, 20 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Getting it to work with version 40c==&lt;br /&gt;
Nevermind, found the appropriate core.xml&lt;br /&gt;
&lt;br /&gt;
http://www.geocities.com/jifodus/tables/dwarvis/v0.28.181.40c.core.xml&lt;br /&gt;
&lt;br /&gt;
for the current ones, check here:&lt;br /&gt;
&lt;br /&gt;
http://www.geocities.com/jifodus/tables/dwarvis/&lt;br /&gt;
&lt;br /&gt;
: [http://www.bay12games.com/forum/index.php?topic=23689.0 Test version of Tweak 1.3.0.0 with .40c support] &amp;amp;mdash;[[User:Rick|Rick]] 20:16, 31 August 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Doesn't seem to work with 40d. ==&lt;br /&gt;
&lt;br /&gt;
After updating tweak to the new version, the modules are still red. I'm assuming this means that they're incompatible. When I enter the log, I get this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     Error: Failed to load C:\etc.\tweak\versions\0.28.181.40d\core.xml: There is an error in XML document (34, 3).  Validation error: The element 'memory' has invalid child element 'pe'. List of possible elements expected: 'address, offset'.&lt;br /&gt;
      Info: Welcome to Dwarf Fortress Tweak!&lt;br /&gt;
   Verbose: Found possible game at process ID 4644.&lt;br /&gt;
   Verbose: Selected game with process ID 4644, hash is 2c686c26307dcccd7c36cc79737ebe4f.&lt;br /&gt;
   Verbose: Game is version 0.28.181.40d.&lt;br /&gt;
&lt;br /&gt;
Just a heads up. The core.xml seems to not function correctly.&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Never mind. Found a thread to fix my problem.&lt;br /&gt;
&lt;br /&gt;
http://www.bay12games.com/forum/index.php?topic=24745.0&lt;br /&gt;
&lt;br /&gt;
Everything except the Adjust Profile module works, which is a bit awkward, since that's the only one I really wanted. I'll do some more digging.&lt;br /&gt;
&lt;br /&gt;
: That link fixed it for me, the &amp;quot;updated for .40d&amp;quot; link was crashing out for me in all but Tile Edit, so it may not have been correctly updated - or it might just be Vista64 vagaries --[[User:Soor|Soor]] 15:59, 16 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I'm getting the same error message. &amp;lt;b&amp;gt;Error: Failed to load Q:\Software\DFG 18-40d11\tweak\versions\0.28.181.40d\core.xml: There is an error in XML document (34, 3).  Validation error: The element 'memory' has invalid child element 'pe'. List of possible elements expected: 'address, offset'.&amp;lt;/b&amp;gt; I got that both before and after I followed the steps given at that topic. In addition, tweak will always say &amp;quot;no dwarf fortress processes found&amp;quot; when I press select process. [[User:Shukaro|Shukaro]]&lt;br /&gt;
&lt;br /&gt;
== Problem When Selecting Processes ==&lt;br /&gt;
&lt;br /&gt;
Whenever I attempt to select a process, I get this message&lt;br /&gt;
&lt;br /&gt;
Could not a find a version for the following hash: 2c686c26307dcccd7c36cc79737ebe4f&lt;br /&gt;
Look this hash up on the tweak website?&lt;br /&gt;
&lt;br /&gt;
Any help?&lt;br /&gt;
&lt;br /&gt;
== Error 299 ==&lt;br /&gt;
&lt;br /&gt;
When I try to start a module, I've got the following message box :&lt;br /&gt;
&lt;br /&gt;
error 299.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Gibbed.DwarfFortress.Tweak.Win32Exception: error 299&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ProcessMemory.Read(UInt32 address, Byte[]&amp;amp; data, UInt32 size)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ProcessMemory.ReadVector(UInt32 address, Boolean andData)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tools.Heal.Module.Run(ModuleMode mode, IVersion version, IMemory memory, ILogger log, String[] args)&lt;br /&gt;
   à Gibbed.DwarfFortress.Tweak.ModulePicker.onActivateModule(Object sender, EventArgs e)&lt;br /&gt;
   à System.Windows.Forms.ListView.OnItemActivate(EventArgs e)&lt;br /&gt;
   à System.Windows.Forms.ListView.WmReflectNotify(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.ListView.WndProc(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;br /&gt;
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm running Vista SP1, DF 0.28.181.40d, Tweak 1.3.0.0, and .NET 3.5 is installed. Any help ?&lt;br /&gt;
&lt;br /&gt;
I'm getting this as well when I try to heal, rather annoying cuz I thought this version was finally fully updated.-Userpay&lt;br /&gt;
&lt;br /&gt;
== Can't use most modules ==&lt;br /&gt;
&lt;br /&gt;
So, I updated tweak to .39e, and I'm having major problems with this software.&lt;br /&gt;
&lt;br /&gt;
It recognizes DF just fine, but when I'm preparing carefully I try to use Adjust Profile and it gives me an error saying &amp;quot;You can only use this when preparing carefully&amp;quot;, even though I am.&lt;br /&gt;
&lt;br /&gt;
So then I designate for mining the entire bottom level of the map, undesignate it, and run reveal, and it says &amp;quot;Map data not available&amp;quot; or something like that.&lt;br /&gt;
&lt;br /&gt;
Then I try to run Tile Edit and it says the same thing.&lt;br /&gt;
&lt;br /&gt;
So then I thought, maybe I need to lookup the addresses each of these modules need, right?&lt;br /&gt;
&lt;br /&gt;
So I run lookup address, and it takes two seconds to find only the addresses needed for &amp;quot;Enable Magma Buildings&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Basically, I'm only using this to enable magma buildings after using tile edit on Dtil, because I get errors on every single module on this software.&lt;br /&gt;
&lt;br /&gt;
I'm running the latest version of tweak, it's properly updated, I'm pretty sure I have net runtime 3.5 installed because otherwise I wouldn't get it to run in the first place.&lt;br /&gt;
&lt;br /&gt;
Help!&lt;br /&gt;
&lt;br /&gt;
== Version 40d11? ==&lt;br /&gt;
&lt;br /&gt;
Tweak currently does not work under 40d11, and any attempts by me to get it to work by editing the XML files has failed. With which methods is the for example the version hash generated? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:Dio82|Dio82]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Considering the relatively rapid releases of the d# series, I wouldn't expect any utility support. I actually don't expect any support for any release not posted on the Official Download page. Among other reasons why, is the high probability that there are a great deal of memory use/address changes related to the OpenGL changes that the d# series uses... possibly even completely breaking the current methods used to find and edit DF's relevant memory locations. (I'm not saying for sure, but it seems pretty likely) --[[User:N9103|Edward]] 22:13, 30 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:There is a version of reveal.exe for 40d11 on dffd at least. For the rest of the modules there seems to be no alternative --[[User:CptFastbreak|CptFastbreak]] 18:45, 20 May 2009 (UTC)&lt;br /&gt;
::That's the old standalone reveal, not the tweak module.  I had to hexedit it to get it working, and it still has problems under Vista.&amp;lt;br/&amp;gt;To answer the original question, the version hash is an MD5 digest of the entire DF executable.&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 04:57, 21 May 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=61912</id>
		<title>Utility Talk:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=61912"/>
		<updated>2010-01-29T00:44:27Z</updated>

		<summary type="html">&lt;p&gt;Loudwhitenoise: /* tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I did some cleaning (actually I just removed most of it).&lt;br /&gt;
&lt;br /&gt;
== Compatibility with Mods ==&lt;br /&gt;
&lt;br /&gt;
Was working with the Dig Deeper mod, and found that it doesn't work with modded in creatures at all. That's a let-down. [[User:Jwguy|Jwguy]] 07:55, 5 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Not working ==&lt;br /&gt;
&lt;br /&gt;
I'm on 40d, and have followed the instructions on the page, (GTK Win32 runtime, Python 2.5, All three modules, and the Program), started the program up before and after Dwarf Fortress, just to see if I did it wrong the first time, and it doesn't work. The Program just has some category tabs and a few buttons, but never shows any data. [[User:Jwguy|Jwguy]] 18:31, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Additionally, in case it might help, all I am getting is a single box with Refresh, All Creatures, Only Dwarves, etc. There doesn't seem to be a load function or anything. I'd really appreciate some help with this. [[User:Jwguy|Jwguy]] 18:41, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
*Here's a screenshot of what I am dealing with, also: http://i64.photobucket.com/albums/h178/Jwguy/Notworking2.jpg . It was also suggested to me that I may need something called Pango, which doesn't seem to be mentioned on the wiki, anywhere. [[User:Jwguy|Jwguy]] 21:06, 29 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
** I believe I was able to correct the problem. Apparently, the program is centered around the C:/ drive only. I normally play Dwarf Fortress from my portable hard-drive, and tried initializing the program on both devices. After a bit of trial and error, I moved both to my desktop, and it seems to work, now. Hopefully, if anyone else has this problem, they can fix it like this; I still can't get my dwarves to stop dying from heat after running through a flow of lava, though. I threw them in water, doused the clothes and healed, but I digress. [[User:Jwguy|Jwguy]] 00:31, 30 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
There are a few known bugs :&lt;br /&gt;
* exhaustion is sometimes maxed out when you edit a creature&lt;br /&gt;
* bleeding seems not to be stoppable in most case : just turn the creature undead&lt;br /&gt;
* if there is a problem related to python and/or gtk, just make sure you followed the installation instructions. If it doesn't work anyway, it is unlikely I can help you (would be a python or gtk problem, not a DC problem)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature requests! ==&lt;br /&gt;
&lt;br /&gt;
What would be the chances of dwarf item manipulation?  I'd love to be able to get rid of the rotting clothes that these stinking dwarves insist on wearing. [[User:Aristoi|Aristoi]] 15:01, 20 May 2009 (UTC)&lt;br /&gt;
:Or maybe destroy that burning fire imp fat... [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Most Dwarves acquire dabbling level in all the social skills very quickly, which leaves these skills at the top of their skill list for all time.  Even if they later become a Legendary Mason, you still have to scroll down to see it.  Can you add something that reorders their skills by highest level, so the things they're best at show up first?  --[[User:Oddrune|Oddrune]] 05:19, 1 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Dwarf Companion - Cheating Fun in Adventure Mode! ==&lt;br /&gt;
&lt;br /&gt;
I was tinkering about with the Dwarf Companion program earlier today, when a thought came to my mind. &amp;quot;What if you could do stuff with this program in Adventure mode?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Well, it turns out that you can. By turning on the program and hitting the &amp;quot;All Creatures&amp;quot; box, you can access any loaded creature as well as your own adventurer. By doing this, you can make him as strong and legendary as you want, and effectively kill anything within the sector. You can also change your character into any creature in the game, including demons, goblins, etc. (NOTE: 'Shapeshifting' like this renders the tile where you changed un-passable, and you tend to teleport when you do so. Also, when I changed into a dragon, the game crashed.) Moods are also able to toggle, though I've only tested them upon my own adventurer. Going beserk in a human town triggered the mayor to start attacking me, but when I turned it off, he became friendly once again.&lt;br /&gt;
&lt;br /&gt;
Here's a movie of some of my exploits with a fresh adventurer dwarf: http://mkv25.net/dfma/movie-348-dwarfcompanioninadventuremode17338a&lt;br /&gt;
&lt;br /&gt;
I hope this strikes as interesting / useful for the future!&lt;br /&gt;
&lt;br /&gt;
:Please sign your additions to the discussion page. [[User:Forsaken1111|Forsaken1111]] 06:09, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Easy Python/PyGTK installer ==&lt;br /&gt;
&lt;br /&gt;
I was having some trouble getting all the Python dependencies to work properly together, but after some research I found a nice all-in-one PyGTK installer that works perfectly with companion 0.10. http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html Hope this helps!&lt;br /&gt;
&lt;br /&gt;
== DwarfCompanion Linux HOWTO ==&lt;br /&gt;
&lt;br /&gt;
There are two major problems when trying to run DwarfCompanion-0.13 in Linux:&lt;br /&gt;
&lt;br /&gt;
* at least when started with &amp;quot;wine dwarfort.exe&amp;quot;, dwarf-companion&lt;br /&gt;
** cannot find the path to the executable when searching for the offsets&lt;br /&gt;
** and has problems finding the process with &amp;quot;endswith()&amp;quot;&lt;br /&gt;
&lt;br /&gt;
the following patch tries to work around these problems somewhat (you either have to run DwarfCompanion one directory-level down from your dwarfort.exe or change the path in the patch):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dwarfdbg.py	2008-09-07 22:04:12.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dwarfdbg.py	2008-09-07 22:07:11.000000000 +0000&lt;br /&gt;
 @@ -100,9 +100,9 @@&lt;br /&gt;
  		self.dbg = pydbg()&lt;br /&gt;
  		self.metals = None&lt;br /&gt;
  		for (pid, proc) in self.dbg.enumerate_processes():&lt;br /&gt;
 -			if proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +			if &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  				break&lt;br /&gt;
 -		if not proc.lower().endswith(&amp;quot;dwarfort.exe&amp;quot;):&lt;br /&gt;
 +		if not &amp;quot;dwarfort.exe&amp;quot; in proc.lower():&lt;br /&gt;
  			print &amp;quot;Dwarf Fortress is not running, or could not be found&amp;quot;&lt;br /&gt;
  			sys.exit(-1)&lt;br /&gt;
  		self.image = proc&lt;br /&gt;
 @@ -864,7 +865,7 @@&lt;br /&gt;
  &lt;br /&gt;
  	def getOs(self):&lt;br /&gt;
  		if self.ofs == None:&lt;br /&gt;
 -			self.ofs = offsetsearch.offsetsearch(self.image)&lt;br /&gt;
 +			self.ofs = offsetsearch.offsetsearch(&amp;quot;../dwarfort.exe&amp;quot;)&lt;br /&gt;
  		return self.ofs&lt;br /&gt;
  &lt;br /&gt;
  	def instaMood(self):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* reading/writing from the dwarf-fortress process when attaching/detaching with ptrace() without waiting for the process to react to the ptrace() also leads to problems, basically it is timing-dependent if you can read or change anything&lt;br /&gt;
&lt;br /&gt;
this is easily fixed with waitpid (though I'm not quite sure if this really fixes the problem or if some signals could screw everything up again, therefore the &amp;quot;print status&amp;quot; statement):&lt;br /&gt;
&lt;br /&gt;
 --- companion/dflinux.py	2008-01-09 10:50:00.000000000 +0000&lt;br /&gt;
 +++ ~/dwarf_fortress/companion/dflinux.py	2008-09-07 21:29:50.000000000 +0000&lt;br /&gt;
 @@ -33,6 +33,9 @@&lt;br /&gt;
  		pid = int(spid)&lt;br /&gt;
  		self.pid = pid&lt;br /&gt;
  		self.libc.ptrace(16, self.pid, 0, 0) #ptrace attach&lt;br /&gt;
 +		status = 0&lt;br /&gt;
 +		self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +		print status&lt;br /&gt;
  	&lt;br /&gt;
  	def read(self, addr, size):&lt;br /&gt;
  		out = ''&lt;br /&gt;
 @@ -60,4 +63,7 @@&lt;br /&gt;
  	def detach(self):&lt;br /&gt;
  		if self.pid&amp;gt;0:&lt;br /&gt;
  			self.libc.ptrace(17, self.pid, 0, 0) #ptrace detach&lt;br /&gt;
 +			status = 0&lt;br /&gt;
 +			self.libc.waitpid(self.pid, status, 0)&lt;br /&gt;
 +			print status&lt;br /&gt;
  			self.pid = 0&lt;br /&gt;
&lt;br /&gt;
* There are still some minor problems, e.g. when trying to set anything in the creature-editor, but at least healing and resting from the creature-list works now as expected. I will try to take a look at the creature-editor ...&lt;br /&gt;
&lt;br /&gt;
--[[User:Penguin dwarf08|Penguin dwarf08]] 14:14, 11 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Thanks for this ! [[User:Bartavelle|Bartavelle]] 09:20, 17 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Happydorf.py ==&lt;br /&gt;
&lt;br /&gt;
I ran into a bug with a fortress that my dorfs were suiciding so I hacked this up to force their happiness to max, and it got me over the hump.  It might help someone someday.  Save as happydorf.py and dump it in your DC/scripts folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
from dwarfdbg import *&lt;br /&gt;
from eventname import jobName&lt;br /&gt;
import sys&lt;br /&gt;
dbg = dwarfdbg() #init dbg&lt;br /&gt;
cl = dbg.getCreatures(0) #get the whole creature list (slow)&lt;br /&gt;
for id in cl:&lt;br /&gt;
     if cl[id][1] != 'dwarf': #keep Dwarf (both alive and dead)&lt;br /&gt;
          continue&lt;br /&gt;
     c = cl[id][13] # creature structure&lt;br /&gt;
     if c.fe4&amp;amp;2:&lt;br /&gt;
          continue&lt;br /&gt;
     c.happiness = 65534 #Set happy to max -1, (max is 65535 as of 40D)&lt;br /&gt;
     dbg.saveCreature(c) #save&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
--[[User:Kittyz|Kittyz]] 14:56, 27 January 2009 (EST) Kittyz&lt;br /&gt;
&lt;br /&gt;
== Compatibility ==&lt;br /&gt;
&lt;br /&gt;
Does this work in 0.28.181.40d11? It says DF isn't running or can't be found when I try. --[[User:Simmura McCrea|Simmura McCrea]] 18:16, 12 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Nope. --[[User:Bartavelle|Bartavelle]] 08:48, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::Damn. Cheers anyway. --[[User:Simmura McCrea|Simmura McCrea]] 15:25, 13 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:::Workaround: Transport save file to a 40d folder, mess around, transport it back. 40d/40d11 are mutually compatible. -[[User:Heartofgoldfish|Heartofgoldfish]] 00:18, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::::Are there any plans to update the memory locations? I tried simply renaming the file to dwarfort.exe as it is in 40d but it would not work as the memory locations are out of date. [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: The problem lies in the name of the file, change Dwarf Fortress.exe to dwarfort.exe and the utility will find it, gave me a memory error, but it may work for you once you have the right name.  [[User:Janizary|Janizary]] 19:39, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
::[[Dwarf Fortress Wiki:Community Portal#B|&amp;quot;B&amp;quot;]] is for Bold.  You should put this out on the wiki proper, where it will be found by those who need it - start a Linux article, perhaps. Jo no habla linuxol, but once you do it will only grow.--[[User:Albedo|Albedo]] 15:08, 20 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Unknown flags ==&lt;br /&gt;
0x1      =???         &lt;br /&gt;
dead?    =Kills creature when used with 'dead'&lt;br /&gt;
0x4      =???&lt;br /&gt;
artifact =designates whether creature has created an artifact&lt;br /&gt;
0x10     =hostile        &lt;br /&gt;
0x20     =???   &lt;br /&gt;
merch1?  &lt;br /&gt;
caravan guard?&lt;br /&gt;
0x100         &lt;br /&gt;
0x200         &lt;br /&gt;
!unitlist     &lt;br /&gt;
liaison?      &lt;br /&gt;
zombie        &lt;br /&gt;
skel          &lt;br /&gt;
working       &lt;br /&gt;
prone         &lt;br /&gt;
0x1.4         &lt;br /&gt;
inv1          &lt;br /&gt;
hidden        &lt;br /&gt;
inv2          &lt;br /&gt;
0x1.5         &lt;br /&gt;
0x2.5         &lt;br /&gt;
0x4.5         &lt;br /&gt;
0x8.5         &lt;br /&gt;
0x1.6         &lt;br /&gt;
0x2.6         &lt;br /&gt;
tame          &lt;br /&gt;
0x8.6         &lt;br /&gt;
r.guard       &lt;br /&gt;
f.guard       &lt;br /&gt;
0x4.7&lt;br /&gt;
0x8.7&lt;br /&gt;
0x1b&lt;br /&gt;
0x2b&lt;br /&gt;
0x4b&lt;br /&gt;
0x8b&lt;br /&gt;
0x10b&lt;br /&gt;
0x20b&lt;br /&gt;
0x40b&lt;br /&gt;
dead&lt;br /&gt;
vanish?&lt;br /&gt;
0x200b&lt;br /&gt;
0x400b&lt;br /&gt;
0x800b&lt;br /&gt;
0x1000b&lt;br /&gt;
winded?&lt;br /&gt;
0x4000b&lt;br /&gt;
ground&lt;br /&gt;
flying&lt;br /&gt;
slaughter&lt;br /&gt;
underwrld&lt;br /&gt;
can't eat&lt;br /&gt;
0x1.5b&lt;br /&gt;
0x2.5b&lt;br /&gt;
0x4.5b&lt;br /&gt;
visitor?&lt;br /&gt;
0x1.6b&lt;br /&gt;
0x2.6b&lt;br /&gt;
0x4.6b&lt;br /&gt;
0x8.6b&lt;br /&gt;
0x1.7b&lt;br /&gt;
winded?&lt;br /&gt;
0x4.7b&lt;br /&gt;
tame2&lt;br /&gt;
&lt;br /&gt;
== FTP SERVER DOWN! ==&lt;br /&gt;
THE FTP SERVER FOR THE PyObject AND WHATEVER THE OTHER TWO ARE IS DOWN! THE DAMN FTP SERVER IS DOWN! GOD DAMN IT THE FTP SERVER IS DOWN! I NEED FTP SERVER! FTP SERVER DOWN! FTP SERVER NOT WORKING! FTP SERVER DEAD! FTP SERVER SUFFERING MANGLED HEART!&lt;br /&gt;
&lt;br /&gt;
I found a site that mirrors these files (possibly not the most up-to-date ones though)&lt;br /&gt;
http://www.filewatcher.com/b/ftp/ftp.dit.upm.es/linux/mirrors/ftp.gnome.org/binaries/win32.0.0.html&lt;br /&gt;
&lt;br /&gt;
== Additional in-game languages (v0.17) ==&lt;br /&gt;
&lt;br /&gt;
If you have additional languages modded into the game, out-of-the-box DwarfCompanion 0.17 will bomb with an error:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 477, in getCreature&lt;br /&gt;
    name = self.getName(c, details)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 323, in getName&lt;br /&gt;
    lastname = self.printName(table, lang)&lt;br /&gt;
  File &amp;quot;[PATH]\dwarfdbg.py&amp;quot;, line 219, in printName&lt;br /&gt;
    lastname += self.rwords[lang][v]&lt;br /&gt;
IndexError: list index out of range&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make it work, count the number of languages you have (but not language_SYM.txt).&lt;br /&gt;
&lt;br /&gt;
Find the line in dwarfdbg.py which reads:&lt;br /&gt;
&lt;br /&gt;
:for race in range(4):&lt;br /&gt;
&lt;br /&gt;
Replace the 4 with the number of languages you have, run again, and it should work fine.&lt;br /&gt;
&lt;br /&gt;
As of 0.17c this is no longer necessary.&lt;br /&gt;
&lt;br /&gt;
== Loading error ==&lt;br /&gt;
&lt;br /&gt;
I'm not sure if you actually check this, but here goes anyway. &lt;br /&gt;
&lt;br /&gt;
I have all the other things installed (GTK, PYCairo, etc.), and when I click it, it simply opens a black window for a moment and closes. So I tried to run it through the command prompt, and it comes up with the following error:&lt;br /&gt;
&lt;br /&gt;
:C:\Games\Dwarf Fortress&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:DFcmp = DFcompanion()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
&lt;br /&gt;
:self.dd = dwarfdbg(verbose=True)&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 131, in __init__&lt;br /&gt;
:self.configoffsets()&lt;br /&gt;
:File &amp;quot;C:\Games\Dwarf Fortress\dwarfdbg.py&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:raise &amp;quot;can't guess offsets if not PE&amp;quot;&lt;br /&gt;
:TypeError: exceptions must be classes or instances, not str&lt;br /&gt;
&lt;br /&gt;
A similar thing happens when I try to use the executable version:&lt;br /&gt;
&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist&amp;gt;dfcompanion_prototype.exe&lt;br /&gt;
:Timestamp = 0x48c330df&lt;br /&gt;
:C:\Documents and Settings\****\My Documents\Downloads\dist\library.zip\dwarfdbg.py:98: DeprecationWarning: raising a string exception is deprecated&lt;br /&gt;
:Traceback (most recent call last):&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 409, in &amp;lt;module&amp;gt;&lt;br /&gt;
:File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 353, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 131, in __init__&lt;br /&gt;
:File &amp;quot;dwarfdbg.pyc&amp;quot;, line 89, in configoffsets&lt;br /&gt;
:can't guess offsets if not PE&lt;br /&gt;
&lt;br /&gt;
What does this mean? How do I fix it? Did I do something stupid and obvious to mess it up? [[Special:Contributions/69.109.124.77|69.109.124.77]] 09:37, 12 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== tried running through the cmd.exe but I keep getting &amp;quot;the directory name is invalid&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
It was flashing the black window so I tried to run it through run/cmd.exe, however it says that the directory name is invalid. I have tried several solutions, such as surrounding it with quotes (helps a little bit but not much), but I still can't get it to run. Which is a pity because I was looking forward to this.  Suggestions?&lt;/div&gt;</summary>
		<author><name>Loudwhitenoise</name></author>
	</entry>
</feed>