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: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: | ||
− | + | [[Category:Utilities]] | |
[[Image:dfcompanion1.png|thumb|This is a preliminary screenshot of the prototype.]] | [[Image:dfcompanion1.png|thumb|This is a preliminary screenshot of the prototype.]] | ||
= What? = | = What? = | ||
Line 7: | Line 7: | ||
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. | 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. | ||
− | It supports | + | It supports versions 33d and later. The latest screenshot is at [http://bartabox.banquise.net/df/screen1.png this place]. |
= Important warning = | = Important warning = | ||
Line 19: | Line 19: | ||
* reveal.exe - run with no arguments to reveal the whole map (very slow, a C utility like Tweak is recommended for this task) | * reveal.exe - run with no arguments to reveal the whole map (very slow, a C utility like Tweak is recommended for this task) | ||
* designator.exe - see [[User:Bartavelle/DesignatorTiles]] | * designator.exe - see [[User:Bartavelle/DesignatorTiles]] | ||
− | * changeProfession.exe - run through command prompt like "changeProfession [id] [profession]" 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 | + | * changeProfession.exe - run through command prompt like "changeProfession [id] [profession]" 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) |
− | [http://www.pindi.us/files/df/dfcompanion-0. | + | [http://www.pindi.us/files/df/dfcompanion-0.15-exe.zip Download (Version 0.15)]. |
− | |||
− | = How | + | = How = |
− | You need to install several things first | + | You need to install several things first. |
− | * [http://www.python.org/download/ Python] ( | + | * [http://www.python.org/download/ Python] (works with any version, 2.5 is prefered) |
− | * from [http://sourceforge.net/ | + | * from [http://sourceforge.net/project/showfiles.php?group_id=98754 this page], the latest "Gtk+/Win32 Runtime Environment Installer" |
* For users of the -any versions, or python 2.4 users, you must: | * For users of the -any versions, or python 2.4 users, you must: | ||
** Install the three modules from [http://www.pygtk.org/downloads.html this page] (PyCairo, PyGObject, PyGTK) | ** Install the three modules from [http://www.pygtk.org/downloads.html this page] (PyCairo, PyGObject, PyGTK) | ||
− | ** Grab the software | + | ** Grab the software at [http://bartabox.banquise.net/df/companion-0.15-any.zip this place]. |
− | |||
* Double click on "dfcompanion_prototype.py"! | * Double click on "dfcompanion_prototype.py"! | ||
+ | |||
+ | An installer that contains all needed modules can be found here: | ||
+ | http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html | ||
= Problems? = | = Problems? = | ||
Line 42: | Line 43: | ||
---- | ---- | ||
cd c:\where\companion\is\located\ | cd c:\where\companion\is\located\ | ||
− | |||
dfcompanion_prototype.py | dfcompanion_prototype.py | ||
---- | ---- | ||
Line 56: | Line 56: | ||
* The error messages says something like "g_assert_warning not found in libglib-2.0.0.dll" | * The error messages says something like "g_assert_warning not found in libglib-2.0.0.dll" | ||
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\ | 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\ | ||
− | |||
− | |||
− | |||
= Usage - what can you do? = | = Usage - what can you do? = | ||
First run Dwarf Fortress, and load your game. It won't work otherwise. | First run Dwarf Fortress, and load your game. It won't work otherwise. | ||
− | 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 "alerts" so that most important stuff is on top : hungry, unhappy, moody, hurt dwarves. You can play with creatures and view | + | 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 "alerts" 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: |
* clicking "heal", heals creature | * clicking "heal", heals creature | ||
* clicking "hurt", hurts creature | * clicking "hurt", hurts creature | ||
Line 78: | Line 75: | ||
= Random questions = | = Random questions = | ||
* 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. | * 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. | ||
− | |||
= dwarfdbg scripts = | = dwarfdbg scripts = | ||
Line 133: | Line 129: | ||
** custom alerts are easier to add | ** custom alerts are easier to add | ||
** corrected the map offsets, added a "revealVein.py" script | ** corrected the map offsets, added a "revealVein.py" script | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= thanks = | = thanks = | ||
Line 148: | Line 136: | ||
* sinoth, for early testings, bug discovery | * sinoth, for early testings, bug discovery | ||
− | [[Category:Hacking | + | [[Category:Hacking]] |
− |