v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Utility Talk:Dwarf Companion

Jump to navigation Jump to search

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


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

Latest revision Your text
Line 1: Line 1:
 
I did some cleaning (actually I just removed most of it).
 
I did some cleaning (actually I just removed most of it).
 
== Compatibility with Mods ==
 
 
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)
 
 
Not actual anymore. Works with all creatures, whether modded or not.  --[[User:Blur|Blur]] 18:30, 8 February 2010 (UTC)
 
 
== Not working ==
 
 
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)
 
 
*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)
 
 
*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)
 
 
** 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)
 
  
 
== Bugs ==
 
== Bugs ==
Line 26: Line 10:
 
== Feature requests! ==
 
== Feature requests! ==
  
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)
+
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)
:Or maybe destroy that burning fire imp fat... [[User:Forsaken1111|Forsaken1111]] 06:08, 27 May 2009 (UTC)
 
 
 
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)
 
 
 
 
 
Ignite units would be a nice feature too.  --[[User:Blur|Blur]] 17:23, 8 February 2010 (UTC)
 
  
 
== Dwarf Companion - Cheating Fun in Adventure Mode! ==
 
== Dwarf Companion - Cheating Fun in Adventure Mode! ==
Line 43: Line 21:
  
 
I hope this strikes as interesting / useful for the future!
 
I hope this strikes as interesting / useful for the future!
 
:Please sign your additions to the discussion page. [[User:Forsaken1111|Forsaken1111]] 06:09, 27 May 2009 (UTC)
 
  
 
== Easy Python/PyGTK installer ==
 
== Easy Python/PyGTK installer ==
  
 
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!
 
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!
 +
  
 
== DwarfCompanion Linux HOWTO ==
 
== DwarfCompanion Linux HOWTO ==
Line 138: Line 115:
 
--[[User:Kittyz|Kittyz]] 14:56, 27 January 2009 (EST) Kittyz
 
--[[User:Kittyz|Kittyz]] 14:56, 27 January 2009 (EST) Kittyz
  
== Compatibility ==
+
== A quick question ==
  
 
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)
 
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)
Line 147: Line 124:
  
 
:::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)
 
:::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)
 
::::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)
 
  
 
: 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)
 
: 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)
  
 
::[[Dwarf Fortress Wiki:Community Portal#B|"B"]] 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)
 
::[[Dwarf Fortress Wiki:Community Portal#B|"B"]] 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)
 
== Unknown flags ==
 
0x1      =???        <br />
 
dead?    =Kills creature when used with 'dead' <br />
 
0x4      =??? <br />
 
artifact =designates whether creature has created an artifact <br />
 
0x10    =hostile        <br />
 
0x20    =???    <br />
 
merch1?  <br />
 
caravan guard? <br />
 
0x100          <br />
 
0x200          <br />
 
!unitlist      <br />
 
liaison?      <br />
 
zombie        <br />
 
skel          <br />
 
working        <br />
 
prone          <br />
 
0x1.4          <br />
 
inv1          <br />
 
hidden        <br />
 
inv2          <br />
 
0x1.5          <br />
 
0x2.5          <br />
 
0x4.5          <br />
 
0x8.5          <br />
 
0x1.6          <br />
 
0x2.6          <br />
 
tame          <br />
 
0x8.6          <br />
 
r.guard        <br />
 
f.guard        <br />
 
0x4.7 <br />
 
0x8.7 <br />
 
0x1b <br />
 
0x2b <br />
 
0x4b <br />
 
0x8b <br />
 
0x10b <br />
 
0x20b <br />
 
0x40b <br />
 
dead <br />
 
vanish? <br />
 
0x200b <br />
 
0x400b <br />
 
0x800b <br />
 
0x1000b <br />
 
winded? <br />
 
0x4000b <br />
 
ground <br />
 
flying <br />
 
slaughter <br />
 
underwrld <br />
 
can't eat <br />
 
0x1.5b <br />
 
0x2.5b <br />
 
0x4.5b <br />
 
visitor? <br />
 
0x1.6b <br />
 
0x2.6b <br />
 
0x4.6b <br />
 
0x8.6b <br />
 
0x1.7b <br />
 
winded? <br />
 
0x4.7b <br />
 
tame2 <br />
 
 
* Technically, '''all''' of these flags are known - see [[Creature flags in DF memory]]. --[[User:Quietust|Quietust]] 17:14, 18 May 2010 (UTC)
 
 
== FTP SERVER DOWN! ==
 
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!
 
 
I found a site that mirrors these files (possibly not the most up-to-date ones though)
 
http://www.filewatcher.com/b/ftp/ftp.dit.upm.es/linux/mirrors/ftp.gnome.org/binaries/win32.0.0.html
 
 
== Additional in-game languages (v0.17) ==
 
 
If you have additional languages modded into the game, out-of-the-box DwarfCompanion 0.17 will bomb with an error:
 
<blockquote>
 
  File "[PATH]\dwarfdbg.py", line 477, in getCreature
 
    name = self.getName(c, details)
 
  File "[PATH]\dwarfdbg.py", line 323, in getName
 
    lastname = self.printName(table, lang)
 
  File "[PATH]\dwarfdbg.py", line 219, in printName
 
    lastname += self.rwords[lang][v]
 
IndexError: list index out of range
 
</blockquote>
 
 
To make it work, count the number of languages you have (but not language_SYM.txt).
 
 
Find the line in dwarfdbg.py which reads:
 
 
:for race in range(4):
 
 
Replace the 4 with the number of languages you have, run again, and it should work fine.
 
 
As of 0.17c this is no longer necessary.
 
 
== Loading error ==
 
 
I'm not sure if you actually check this, but here goes anyway.
 
 
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:
 
 
:C:\Games\Dwarf Fortress>dfcompanion_prototype.py
 
:Timestamp = 0x48c330df
 
:Traceback (most recent call last):
 
:File "C:\Games\Dwarf Fortress\dfcompanion_prototype.py", line 409, in <module>
 
 
:DFcmp = DFcompanion()
 
:File "C:\Games\Dwarf Fortress\dfcompanion_prototype.py", line 353, in __init__
 
 
:self.dd = dwarfdbg(verbose=True)
 
:File "C:\Games\Dwarf Fortress\dwarfdbg.py", line 131, in __init__
 
:self.configoffsets()
 
:File "C:\Games\Dwarf Fortress\dwarfdbg.py", line 89, in configoffsets
 
:raise "can't guess offsets if not PE"
 
:TypeError: exceptions must be classes or instances, not str
 
 
A similar thing happens when I try to use the executable version:
 
 
:C:\Documents and Settings\****\My Documents\Downloads\dist>dfcompanion_prototype.exe
 
:Timestamp = 0x48c330df
 
:C:\Documents and Settings\****\My Documents\Downloads\dist\library.zip\dwarfdbg.py:98: DeprecationWarning: raising a string exception is deprecated
 
:Traceback (most recent call last):
 
:File "dfcompanion_prototype.py", line 409, in <module>
 
:File "dfcompanion_prototype.py", line 353, in __init__
 
:File "dwarfdbg.pyc", line 131, in __init__
 
:File "dwarfdbg.pyc", line 89, in configoffsets
 
:can't guess offsets if not PE
 
 
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)
 
 
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)
 
 
== tried running through the cmd.exe but I keep getting "the directory name is invalid" ==
 
 
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?
 
 
 
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?  :(
 
 
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)
 
 
This information really needs to written somwhere close to the download links, I made the same error
 
 
 
♥Many♥ thanks, lets try it now!  ☺
 
 
 
I'm having the same problems as the above, though with both executable versions of companion. I'm on DF 31.25. (does it even support this?)
 
 
Running the exe flashes with cannot find DF, Command prompt is no exception, any suggestions?
 
 
== Buggy window ==
 
 
C:\blahblahblah\dfcompanion_prototype.exe:360:PangoWarning: failed to find shape engine. expect ugly output. engine-type='PangoRenderWin32', script=latin
 
 
This error message repeats twice, and I get an extremely tall, spaced window that cannot be resized. Anyone know what the deal with this is?
 
 
== Is there a "this is about an older version of DF" template that can be added? ==
 
 
This doesn't seem to have been updated since 40d.  It might be helpful to have a header to reflect that. [[Special:Contributions/130.160.154.207|130.160.154.207]] 00:51, 7 April 2014 (UTC)
 

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

Please sign comments with ~~~~

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

Cancel Editing help (opens in new window)