Dwarf Fortress

From ArchWiki
Revision as of 19:12, 3 October 2013 by Wookietreiber (Talk | contribs) (Created page with "Find [https://www.archlinux.org/packages/?q=dwarffortress dwarffortress] as an official package: pacman -S dwarffortress == Dwarf Therapist == [https://aur.archlinux.org/...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Find dwarffortress as an official package:

pacman -S dwarffortress


Dwarf Therapist

Dwarf Therapist is an almost essential mod to tune dwarvish behaviour (makes life a lot easier). For it to work on current kernels you will need to disable a kernel security feature, since dwarf therapist directly accesses and modifies the memory of a running dwarf fortress instance. This setting is called kernel.yama.ptrace_scope and defaults to 1. You need to set it to 0 for dwarf therapist to work:

# sysctl -w kernel.yama.ptrace_scope=0

For more information see sysctl.

Note: You should not set this to 0 in /etc/sysctl.d/ by default since it is a valid security feature! It is best to set it manually whenever you play dwarf fortress and reset it back to 1 when you are done playing.