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 Masterwork:Linux

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:
{{Quality|Fine|13:16, 20 April 2013 (UTC)}}
 
{{av}}
 
 
 
This is a starter page for Linux users of the Masterwork mod.
 
This is a starter page for Linux users of the Masterwork mod.
  
 
=== Prework ===
 
=== Prework ===
==== Stonesense ====
 
 
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:
 
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:
 
<pre>
 
<pre>
Line 12: Line 8:
 
</pre>
 
</pre>
 
YMMV.
 
YMMV.
 
==== Wine ====
 
To be able to run Settings.exe, install wine, then install the '''Windows''' version of Mono (not the linux version).  Download Mono installer here: [http://www.go-mono.com/mono-downloads/ Mono downloads]
 
 
Run the mono installer with wine.  When it's done, you should be able to run "wine Settings.exe" from the top-level Masterwork directory.
 
  
 
=== Make It Go ===
 
=== Make It Go ===
Example script: from the Dwarf Fortress directory, start soundSense and Dwarf Therapist first:
+
Example: from the Dwarf Fortress directory, start soundSense and Dwarf Therapist first:
 
<pre>
 
<pre>
 
#!/bin/bash
 
#!/bin/bash
Line 27: Line 18:
 
./dfhack
 
./dfhack
 
</pre>
 
</pre>
 
You can also just run those from a command line, obviously.  If this is the first time you've run DF, soundSense may pop up a file window because gamelog.txt doesn't exist yet.  Either quit and run it after the game starts, or run the game once to create the file, quit, and restart.
 
  
 
=== Easier Farming ===
 
=== Easier Farming ===
Farming is much harder by default in Masterwork - refer to the manual for details.  If you do not or cannot get Settings.exe to run, you must edit the raws to if you want easier farming, similar to vanilla DFThere are two ways to do this:
+
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.
 
 
==== Temporarily Easier Farming ====
 
You may edit a single region's raws to make farming easier just for that region, and not affecting any other generated region.
 
This means a region must already exist to edit.  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.
 
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
==== Permanently Easier Farming ====
 
You can also change the master raws, so that you don't need to modify every region generated thereafter.  From the Dwarf Fortress directory, follow the same procedure on  raw/objects/plant_standard.txt
 
 
 
=== Easier Mining ===
 
 
 
Mining is also more challenging by default.  If you do not or cannot get Settings.exe to run, remove raw/objects/inorganic_zwarpstone.txt to make mining easier.
 
 
 
You must remove the master, that is, directly under the DF main, not from the region save directory.  (You should make a backup copy if you remove it permanently, just in case.)
 
  
 
=== Useful dfhack keybinds ===
 
=== Useful dfhack keybinds ===
Cut and paste (or simply place) this into dfhack.init:
+
Cut-n-paste or put into dfhack.init:
 
<pre>
 
<pre>
 
keybinding add Ctrl-K autodump-destroy-item
 
keybinding add Ctrl-K autodump-destroy-item

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!

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

Cancel Editing help (opens in new window)