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.

Difference between revisions of "Masterwork:Linux"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
From the Dwarf Fortress directory, edit data/save/regionX/raw/objects/plant_standard.txt (where "regionX" is the region you wish to edit) and search for "GROWDUR".  Change the number after each one to something less than 1000.
 
From the Dwarf Fortress directory, edit data/save/regionX/raw/objects/plant_standard.txt (where "regionX" is the region you wish to edit) and search for "GROWDUR".  Change the number after each one to something less than 1000.
 
s/GROWDUR:\d+/GROWDUR:900/g
 
s/GROWDUR:\d+/GROWDUR:900/g
 +
 +
=== Useful dfhack keybinds ===
 +
Cut-n-paste or put into dfhack.init:
 +
<pre>
 +
keybinding add Ctrl-K autodump-destroy-item
 +
keybinding add Ctrl-Shift-K autodump-destroy-here
 +
keybinding add Ctrl-V digv
 +
# workflow plugin keys
 +
keybinding add Ctrl-W@dwarfmode/QueryBuilding/Some "gui/workflow"
 +
keybinding add Ctrl-I "gui/workflow status"
 +
 +
</pre>

Revision as of 02:03, 19 April 2013

This is a starter page for Linux users of the Masterwork mod.

Prework

The bundled stonesense has old libjpg and libpng. Create a softlink from Dwarf Fortress/stonesense/deplibs/libjpeg.so.62 to your system libjpg in /usr/lib. You'll have to find a binary libpng12.so.0 on the 'net and put it in the same deplibs directory. You may also have to adjust the library load path in the "dfhack" script:

#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./stonesense/deplibs":"./hack"
export LD_LIBRARY_PATH="./stonesense/deplibs":"./hack:"$LD_LIBRARY_PATH

YMMV.

Make It Go

Example: from the Dwarf Fortress directory, start soundSense and Dwarf Therapist first:

#!/bin/bash

( cd ../MasterworkDwarfFortress/Utilities/soundSense ; ./soundSense.sh ../../../Dwarf\ Fortress/gamelog.txt ) &
( cd ../MasterworkDwarfFortress/Utilities/DwarfTherapist ; ./DwarfTherapist ) &
./dfhack

Easier Farming

You must edit the raws to adjust farming. This means a region must already exist to edit. [what? that doesn't make sense. why not edit the master raws? is this a Linux thing??] It's easiest to create a world to your liking, and edit before starting to play. You can edit these in another window when DF returns to the main menu, before you Start Playing.

From the Dwarf Fortress directory, edit data/save/regionX/raw/objects/plant_standard.txt (where "regionX" is the region you wish to edit) and search for "GROWDUR". Change the number after each one to something less than 1000. s/GROWDUR:\d+/GROWDUR:900/g

Useful dfhack keybinds

Cut-n-paste or put into dfhack.init:

keybinding add Ctrl-K autodump-destroy-item
keybinding add Ctrl-Shift-K autodump-destroy-here
keybinding add Ctrl-V digv
# workflow plugin keys
keybinding add Ctrl-W@dwarfmode/QueryBuilding/Some "gui/workflow"
keybinding add Ctrl-I "gui/workflow status"