<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wya</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wya"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Wya"/>
	<updated>2026-04-11T09:37:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Green_tourmaline&amp;diff=181254</id>
		<title>v0.34:Green tourmaline</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Green_tourmaline&amp;diff=181254"/>
		<updated>2013-02-16T22:15:30Z</updated>

		<summary type="html">&lt;p&gt;Wya: Added description to page with no description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{gemlookup/0}}{{av}}{{Quality|Fine}}&lt;br /&gt;
Green Tourmaline is a semi-precious gem found in metamorphic, sedimentary, and granite layers.&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{gems}}&lt;/div&gt;</summary>
		<author><name>Wya</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Giant_kestrel&amp;diff=181214</id>
		<title>v0.34:Giant kestrel</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Giant_kestrel&amp;diff=181214"/>
		<updated>2013-02-15T23:22:39Z</updated>

		<summary type="html">&lt;p&gt;Wya: Corrected incomplete sentence&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Tattered}}&lt;br /&gt;
{{Creaturelookup/0}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{creaturedesc}}&lt;br /&gt;
Giant kestrels are simply giant versions of their smaller, more common cousins: [[kestrel]]s. In a similar manner to normal kestrels, they can be captured in a cage trap and used for egg production. This makes them better assets for your dwarves alive than dead.&lt;br /&gt;
&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{Creatures}}&lt;/div&gt;</summary>
		<author><name>Wya</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Lizard&amp;diff=181213</id>
		<title>v0.34:Lizard</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Lizard&amp;diff=181213"/>
		<updated>2013-02-15T23:19:09Z</updated>

		<summary type="html">&lt;p&gt;Wya: Added newlines so raw data box was centered&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|14:33, 22 August 2010 (UTC)}}&lt;br /&gt;
{{verminlookup/0}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{creaturedesc}}&lt;br /&gt;
&lt;br /&gt;
[[File:Vermin-Lizard.jpg|thumb|left|Admired for its beauty.]]&lt;br /&gt;
&lt;br /&gt;
'''Lizards''' are an [[above ground]] [[vermin]]. They are found in any area that is not [[biome|freezing]], but will not be found in winter. They are known to eat [[stockpile|stockpiled]] [[food]], and some dwarves will get an unhappy [[thought]] from encountering one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{Vermin}}&lt;/div&gt;</summary>
		<author><name>Wya</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Installation&amp;diff=181185</id>
		<title>v0.34:Installation</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Installation&amp;diff=181185"/>
		<updated>2013-02-15T02:23:12Z</updated>

		<summary type="html">&lt;p&gt;Wya: Added install instructions for optional dependencies (Arch Linux, 64-bit)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Download =&lt;br /&gt;
__NOTOC__&lt;br /&gt;
You can always get Dwarf Fortress as [[Main:Toady One|Toady One]], the developer, released it from the [http://www.bay12games.com/dwarves/ Bay12 site] (check the top of the page).&lt;br /&gt;
&lt;br /&gt;
You can also download the latest version here:&lt;br /&gt;
{{News/Mirrors/{{current/version}}}}&lt;br /&gt;
Windows users: Use the &amp;quot;Main&amp;quot; version unless there's some reason not to.&lt;br /&gt;
== Third-Party Packages ==&lt;br /&gt;
&lt;br /&gt;
*[[Main:Lazy Newb Pack|Lazy Newb Pack]] (Windows Only) - the full game plus utilities and graphics sets in one big package&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=106790.0 MacNewbie] - same thing as LNP, just for Mac users&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=106974.0 Dwarf Builder] - a Mac tool that packages Dwarf Fortress (and Dwarf Therapist)&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=53180.0 Ironhand's Graphics Set] - improves the look of tiles&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=57557.0 Phoebus' Graphic Set] - another graphics set&lt;br /&gt;
*[[Utilities#Dwarf_Therapist|Dwarf Therapist]] - Utility for managing dwarves&lt;br /&gt;
&lt;br /&gt;
The Dwarf Fortress community often creates custom [[Graphics set repository|graphics sets]] and [[Tilesets|tilesets]]. They're like graphical mods that make DF look prettier or just different. A lot of people pack the game folder with the tileset installed and everything already set up, so all you have to do is extract and play. Among the most popular of these are [http://www.bay12forums.com/smf/index.php?topic=53180.0 Ironhand's Graphics Set] and [http://www.bay12forums.com/smf/index.php?topic=57557.0 Phoebus' Graphic Set].&lt;br /&gt;
&lt;br /&gt;
There's also the (Windows only) [[Main:Lazy Newb Pack|Lazy Newb Pack]] which has several tilesets and utilities gathered together to make it easier for new players to get started and to experiment with the different tilesets. The only disadvantage to downloading LNP is that there is usually some lag time between when a new version of the game is released and when the LNP is updated to include it. So, if a new version of the game has just been released it may not be in the LNP yet.&lt;br /&gt;
&lt;br /&gt;
As for Mac, there is [http://www.bay12forums.com/smf/index.php?topic=106790.0 MacNewbie], which also contains some tilesets and utilities (even DFHack). There is also user-friendly init editor, which features colors and some most popular options to edit. Also, this pack is autoupdate-enabled so you don't need to check for updates manually.&lt;br /&gt;
&lt;br /&gt;
Also see [[Utilities]] for a long list of utilities that people have created, including the incredibly useful [[Utilities#Dwarf_Therapist|Dwarf Therapist]], something that many people won't play the game without.&lt;br /&gt;
&lt;br /&gt;
A guide to installing dwarf fortress using third party software can be found [http://www.youtube.com/watch?v=QmkPbGrH7VA&amp;amp;feature=plcp here].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
:''Also see: [[System requirements]]''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
There is no installer for the game. Simply extract the archive file to a folder somewhere and run the game from within the folder.&lt;br /&gt;
&lt;br /&gt;
Make sure to actually ''extract'' the archive; do not just open the archive and run the game from the window that appears. If you do this then it may appear to work, but your save game data will get discarded. This is the cause of many &amp;quot;my saved games keep getting deleted&amp;quot; complaints. The game also needs to be able to write to its own folder, so do '''not''' install it in C:\Program Files if you are running Windows Vista or later.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
The Mac version is not a single application bundle, but like the Windows version it consists of a folder containing the application along with data files and there is no installer. The entire folder can be dragged into the Applications folder or placed elsewhere. As with the Windows version, the game must be able to write to its own folder. The game may not run correctly without the Apple developer tools and X11 utility included in the OSX installation disk options.&lt;br /&gt;
&lt;br /&gt;
To start the game execute the launch script &amp;quot;df&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== OS X 10.7 Lion ===&lt;br /&gt;
&lt;br /&gt;
{{old}}&lt;br /&gt;
&lt;br /&gt;
When first running Dwarf Fortress on 10.7 Lion, you may be startled to discover that Terminal crashes without so much as a by-your-leave. Don't worry; Dwarf Fortress will still run on Lion. The issue lies in the libraries; they haven't changed from the ones in Snow Leopard, but their naming scheme has. The fix is a quick one. Open up the &amp;quot;df&amp;quot; launch script in a text editor of your choice (TextEdit is the default), and locate the following lines:&lt;br /&gt;
&lt;br /&gt;
:export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs&amp;lt;br/&amp;gt;&lt;br /&gt;
:export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs&lt;br /&gt;
&lt;br /&gt;
Change them to read as follows:&lt;br /&gt;
&lt;br /&gt;
:export DYLD_LIBRARY_PATH=${PWD}/libs&amp;lt;br/&amp;gt;&lt;br /&gt;
:export DYLD_FRAMEWORK_PATH=${PWD}/libs&lt;br /&gt;
&lt;br /&gt;
With the change, Dwarf Fortress should run normally.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
The Linux version of the game is shipped as a compiled 32-bit x86 (Intel/AMD) application. It will also run on a system with a 64-bit AMD or Intel processor and a 64-bit kernel, provided that you have the (32-bit) shared libraries available that the program needs.&lt;br /&gt;
&lt;br /&gt;
Dwarf Fortress for Linux is meant to be run from a terminal (command-line) interface, and so the instructions here will assume you know how to login and get to a command prompt.  At least in the default mode, however, Dwarf Fortress is an X client (graphical desktop) program, so you should be in a terminal inside an X session before starting the game.  Dwarf Fortress will create a new X window outside of the terminal window, so don't worry about the size of the terminal.&lt;br /&gt;
&lt;br /&gt;
* '''Unpacking''': Dwarf Fortress is shipped as a (bzip2) compressed tar archive.  It will extract into a new directory called '''df_linux'''.  So, cd to wherever you want the game to be unpacked, and then run '''tar xjf /path/to/df_XX_YY_linux.tar.bz2''' (where df_XX_YY_linux.tar.bz2 is the filename).  Then run '''cd df_linux''' to change into the new directory.&lt;br /&gt;
* '''Running''': Run '''./df''' to execute the Dwarf Fortress wrapper script.&lt;br /&gt;
* '''Troubleshooting''': If you get an error like this:&lt;br /&gt;
 ./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0:&lt;br /&gt;
 cannot open shared object file: No such file or directory&lt;br /&gt;
: it means that your system is missing one or more shared libraries.  See below.&lt;br /&gt;
* '''Upgrading''': Since every new version of Dwarf Fortress unpacks in a directory named '''df_linux''' you have to manage upgrades yourself. As on all systems, you should '''not''' unpack a new version of DF on top of an old version's directory -- this will cause things to break, usually in subtle and mysterious ways.  Instead, you should either delete or rename the old '''df_linux''' directory first, before extracting the new version.&lt;br /&gt;
&lt;br /&gt;
Alternatively, downloading the windows version and running it with the wine emulator works fine. This also avoids any issues with 32-bit versus 64-bit mode.&lt;br /&gt;
&lt;br /&gt;
If you get errors, it is likely that others will have had the same problem; Try searching the bay12games forum with the error message.&lt;br /&gt;
&lt;br /&gt;
=== 32-bit vs. 64-bit systems ===&lt;br /&gt;
&lt;br /&gt;
Modern desktop PCs (of the Intel/AMD persuasion) contain CPUs that can run in either 32-bit or 64-bit modes.  When you install Linux, you choose one of these architectures.  The programs on your system will then be compiled either for the 32-bit (i386, x86) arch, or the 64-bit (amd64, x86_64) arch.  If you've forgotten which one you have, you can check:&lt;br /&gt;
&lt;br /&gt;
 $ file /bin/ls&lt;br /&gt;
 /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs),&lt;br /&gt;
 for GNU/Linux 2.6.18, stripped&lt;br /&gt;
&lt;br /&gt;
The above would indicate a 64-bit system.  Here's one from a 32-bit system:&lt;br /&gt;
&lt;br /&gt;
 $ file /bin/ls&lt;br /&gt;
 /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs),&lt;br /&gt;
 for GNU/Linux 2.6.18, stripped&lt;br /&gt;
&lt;br /&gt;
Dwarf Fortress is compiled for 32-bit systems, so if you're on a 32-bit system, things will be slightly easier.  If you are getting errors about missing SDL_image libraries (etc.) then you simply need to install them.  Use your distribution's package manager for this -- details will be extremely distribution-specific.  You don't need the development versions of the packages with the headers (although that won't hurt) -- you just need the runtime versions, with the actual shared libraries.&lt;br /&gt;
&lt;br /&gt;
If you're on a 64-bit system, then things get a bit trickier.  Since DF is a 32-bit application, it needs 32-bit versions of the shared libraries.  Some Linux distributions provide these in one or more packages that you can download.  For example, in Debian, the ia32-libs package contains most of the common 32-bit libraries, including libSDL. If your distribution does not include these, then you may have to supply them manually.&lt;br /&gt;
&lt;br /&gt;
==== How-to for Debian and similar ====&lt;br /&gt;
&lt;br /&gt;
On Ubuntu/Debian and its derivatives, installing 32-bit libraries is as easy as appending &amp;quot;:i386&amp;quot; to the name of the library.  For libsdl-image and libsdl-ttf, this amounts to:&lt;br /&gt;
&lt;br /&gt;
  $ sudo dpkg --add-architecture i386&lt;br /&gt;
  $ sudo apt-get update&lt;br /&gt;
  $ sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
etc.. Alternatively, you can use &lt;br /&gt;
&lt;br /&gt;
  $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
to install a bunch of 32-bit packages which includes those needed for Dwarf Fortress.&lt;br /&gt;
&lt;br /&gt;
'''Sound'''&lt;br /&gt;
&lt;br /&gt;
After doing this, DF will run, but will complain that it cannot find the OpenAL library and cannot play sounds, even when OpenAL (i386) has been installed. This is due to a bug/feature in which there is no link from the name of the library that DF is looking for (&amp;quot;libopenal.so&amp;quot;) to its implementation (&amp;quot;libopenal.so.1&amp;quot; - technically another link). To fix this, simply provide the necessary links in DF's own ''libs'' directory:&lt;br /&gt;
&lt;br /&gt;
  $ cd df_linux/libs&lt;br /&gt;
  $ ln -s /usr/lib/i386-linux-gnu/libopenal.so.1 ./libopenal.so&lt;br /&gt;
  $ ln -s /usr/lib/i386-linux-gnu/libsndfile.so.1 ./libsndfile.so&lt;br /&gt;
&lt;br /&gt;
==== Manually installing 32-bit libraries ====&lt;br /&gt;
&lt;br /&gt;
If you do need to manually install the libraries, then the first step is to figure out where you will be putting them.  Check to see where your other 32-bit libraries are already installed; for example, on Debian, some are in /lib32 and others are in /usr/lib32.  Since libSDL is in /usr/lib32 on a Debian system, that's where we'll want to put libSDL_image and libSDL_ttf.  On other distributions, the path could be different.&lt;br /&gt;
&lt;br /&gt;
The second step is to get the 32-bit libraries.  You can typically do this by downloading them directly from your distribution's 32-bit package repository.  Again using Debian as our example, we can perform a search at http://packages.debian.org/ for files containing the word libSDL_image for the Intel x86 architecture.  This takes us to [http://packages.debian.org/search?searchon=contents&amp;amp;keywords=libSDL_image&amp;amp;mode=filename&amp;amp;suite=stable&amp;amp;arch=i386 a results page] from which we can proceed to [http://packages.debian.org/squeeze/libsdl-image1.2 the libsdl-image1.2 package page] with a list of download links arranged by architecture.  Grab the i386 package from here, and repeat this for the libSDL_ttf package, and whatever other library you are missing.  Store these package files somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
The third step is to extract the libraries from the packages and get them in the proper location.  You probably ''won't'' be able simply to install the packages using your package manager, because they are for the wrong architecture.  Instead, you'll probably have to extract them by hand.  The steps for doing this are distribution-specific, so when in doubt consult your distribution's help resources.  I'll show the steps for a .deb package.&lt;br /&gt;
&lt;br /&gt;
* cd into some temporary working directory such as /tmp&lt;br /&gt;
* Extract the files from the .deb archive, which is in ar(1) format:&lt;br /&gt;
  tar x /path/to/libsdl-image1.2*_i386.deb&lt;br /&gt;
: This creates three files: debian-binary, control.tar.gz and data.tar.gz.  We only care about data.tar.gz.&lt;br /&gt;
* Extract data.tar.gz:&lt;br /&gt;
  tar xzf data.tar.gz&lt;br /&gt;
: This creates a subdirectory named usr with various files inside it.  We only care about usr/lib/libSDL_image-1.2.so.0.8.2 (or whatever precise version yours has).&lt;br /&gt;
* Move the shared library into place:&lt;br /&gt;
  sudo mv usr/lib/libSDL_image-1.2.so.* /usr/lib32/&lt;br /&gt;
* Create a symlink to it:&lt;br /&gt;
  cd /usr/lib32&lt;br /&gt;
  sudo ln -s libSDL_image-1.2.so.0.* libSDL_image-1.2.so.0&lt;br /&gt;
  cd -&lt;br /&gt;
&lt;br /&gt;
Repeat this for libSDL_ttf and whatever other libraries are required.&lt;br /&gt;
&lt;br /&gt;
'''NOTE''': If you get the error that libsndfile.so is not found, you must use the following:&lt;br /&gt;
  find */libsndfile.so*&lt;br /&gt;
cd to the correct directory, then use ln as shown above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;Not found: /data/art/mouse.png&amp;quot; and similar errors ====&lt;br /&gt;
&lt;br /&gt;
Another common difficulty with 64bit systems is related to the art packs. When DF is run on most (?all) 64bit Unix systems, it generates error messages related to the PNG variants of the art files, errors which prevent the game from starting.&lt;br /&gt;
&lt;br /&gt;
To solve this problem, you must first edit the ''/data/init/init.txt'' file and set the game to use the BMP variants of the art files, instead of the default PNG. This should solve all the error messages except for one: &amp;quot;''Not found: data/art/mouse.png''&amp;quot; since there is no setting in the ''init'' files to change it. The workaround for this is to edit the ''Dwarf_Fortress'' file found in the ''/your/path/df_linux/libs'' folder which contains the setting for the mouse cursor.&lt;br /&gt;
If you don't know how to do that, you can try this:&lt;br /&gt;
* cd to the ''/df_linux/libs'' folder&lt;br /&gt;
* open ''Dwarf_Fortress'' in ''vi'' or any other editor of your choise:&lt;br /&gt;
  vi ./Dwarf_Fortress&lt;br /&gt;
: This opens the file for editing (text mode). If you are not familiar with ''vi'', it would be a good idea to follow these steps exactly and not press any other keys since they all activate specific commands. If you do press a key though, you can press the ''ESC key'' a few times to cancel the command.&lt;br /&gt;
* With vi open, write the following string and press ''Enter'':&lt;br /&gt;
  /mouse&lt;br /&gt;
: This will search for all the strings that contain the word &amp;quot;mouse&amp;quot; and place the cursor on the first match. Pressing the ''n key'' will cycle through all the matches.&lt;br /&gt;
* Press the ''n'' key until the cursor moves to the desired string, which is &amp;quot;''data/art/mouse.png''&amp;quot;. If you accidentally move past the string, you can cycle back through the matched strings using the ''N key'' (shift + n).&lt;br /&gt;
* Once you find the right string, you will have to move the cursor over the &amp;quot;p&amp;quot; in &amp;quot;[..]/mouse.&amp;lt;b&amp;gt;p&amp;lt;/b&amp;gt;ng&amp;quot;. You do that by pressing the ''l key'' which will move the cursor to the right. There is also the ''h key'' to move the cursor to the left, in case you move past it.&lt;br /&gt;
* With the cursor in the right position press the following key sequence:&lt;br /&gt;
  xxxibmp&lt;br /&gt;
: This will replace the ''.png'' extension with the ''.bmp'' one which solves the problem of the missing ''/data/art/mouse.png'' error.&lt;br /&gt;
* All there is left to do is to save the modifications to the file and quit ''vi''. For that, press the ''ESC key'' once or twice and then press the following key sequence after which you press ''Enter'':&lt;br /&gt;
  :wq&lt;br /&gt;
: This saves the changes and quits 'vi'&lt;br /&gt;
&lt;br /&gt;
Now the game should work properly. Have fun!&lt;br /&gt;
&lt;br /&gt;
=== Install on Arch Linux ===&lt;br /&gt;
Although Dwarf Fortress may be installed using the method above (with some modifications), it is available through pacman (Arch Linux's package management system), in the [community], for 32-bit, and the [multilib], for 64-bit, repositories. These packages are updated as Dwarf fortress is updated, and handle required dependencies.  &lt;br /&gt;
&lt;br /&gt;
==== 32-bit ====&lt;br /&gt;
All of the following commands must be run as root&lt;br /&gt;
&lt;br /&gt;
First, download and install Dwarf Fortress with pacman&lt;br /&gt;
  pacman -S dwarffortress&lt;br /&gt;
Any required dependencies will be installed, too.&lt;br /&gt;
&lt;br /&gt;
Next you need to add the user(s) that will be playing to the game to the games group&lt;br /&gt;
  gpasswd -a [users] games&lt;br /&gt;
&lt;br /&gt;
Any users you added to the games group must now be logged out, if they were logged in&lt;br /&gt;
&lt;br /&gt;
Now Dwarf Fortress should be playable by typing:&lt;br /&gt;
  dwarffortress&lt;br /&gt;
As any user in the games group&lt;br /&gt;
&lt;br /&gt;
==== 64-Bit ====&lt;br /&gt;
Installing Dwarf Fortress on 64-bit installs of Arch Linux is the same as installing it on 32-bit systems, with the exception of the [multilib] repository needing to be enabled prior to install.  &lt;br /&gt;
&lt;br /&gt;
These commands also must be run as root.&lt;br /&gt;
&lt;br /&gt;
To enable the [multilib] repository run:&lt;br /&gt;
  nano /etc/pacman.conf&lt;br /&gt;
And delete the pound symbol(#) in front of these three lines (Make sure the top one says #[multilib] NOT #[multilib-testing]&lt;br /&gt;
 #[multilib]&lt;br /&gt;
 #SigLevel = PackageRequired&lt;br /&gt;
 #Include = /etc/pacman.d/mirrorlist&lt;br /&gt;
So that they look like this&lt;br /&gt;
 [multilib]&lt;br /&gt;
 SigLevel = PackageRequired&lt;br /&gt;
 Include = /etc/pacman.d/mirrorlist&lt;br /&gt;
Save the file by typing&lt;br /&gt;
  ctrl x&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
  pacman -Sy&lt;br /&gt;
&lt;br /&gt;
After that you can continue the install as detailed in the 32-bit section. Required 32-bit dependencies will automatically be installed, however you may have to install more dependencies, depending on what sound support you use, and you graphics card&lt;br /&gt;
&lt;br /&gt;
If you use alsa sound, install lib32-alsa-lib with:&lt;br /&gt;
  pacman -S lib32-alsa-lib&lt;br /&gt;
&lt;br /&gt;
If use use pulse sound install lib32-libpulse with:&lt;br /&gt;
  pacman -S lib32-libpulse&lt;br /&gt;
&lt;br /&gt;
If you have ATI graphics install lib32-catalyst-utils with:&lt;br /&gt;
  pacman -S lib32-catalyst-utils &lt;br /&gt;
&lt;br /&gt;
If you have Nvidia graphics, install lib32-nvidia-utils with:&lt;br /&gt;
  pacman -S lib32-nvidia-utils&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
= Documentation =&lt;br /&gt;
&lt;br /&gt;
Fortunately the documentation on this wiki is very detailed and extensive. You may want to start out with:&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Quickstart_guide|Fortress Mode Quickstart Guide]]&lt;br /&gt;
* [[Adventure mode quick start|Adventure Mode Quickstart Guide]]&lt;br /&gt;
&lt;br /&gt;
Then move on to:&lt;br /&gt;
* [[Dwarf fortress mode|Fortress Mode reference]]&lt;br /&gt;
* [[Adventure mode|Adventure Mode reference]]&lt;br /&gt;
* [[Special:Search|Searching]] the wiki&lt;br /&gt;
&lt;br /&gt;
{{Getting Started}}&lt;/div&gt;</summary>
		<author><name>Wya</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Installation&amp;diff=181184</id>
		<title>v0.34:Installation</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Installation&amp;diff=181184"/>
		<updated>2013-02-15T02:12:54Z</updated>

		<summary type="html">&lt;p&gt;Wya: Added install instructions for Arch Linux(64-bit, and 32-bit)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Download =&lt;br /&gt;
__NOTOC__&lt;br /&gt;
You can always get Dwarf Fortress as [[Main:Toady One|Toady One]], the developer, released it from the [http://www.bay12games.com/dwarves/ Bay12 site] (check the top of the page).&lt;br /&gt;
&lt;br /&gt;
You can also download the latest version here:&lt;br /&gt;
{{News/Mirrors/{{current/version}}}}&lt;br /&gt;
Windows users: Use the &amp;quot;Main&amp;quot; version unless there's some reason not to.&lt;br /&gt;
== Third-Party Packages ==&lt;br /&gt;
&lt;br /&gt;
*[[Main:Lazy Newb Pack|Lazy Newb Pack]] (Windows Only) - the full game plus utilities and graphics sets in one big package&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=106790.0 MacNewbie] - same thing as LNP, just for Mac users&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=106974.0 Dwarf Builder] - a Mac tool that packages Dwarf Fortress (and Dwarf Therapist)&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=53180.0 Ironhand's Graphics Set] - improves the look of tiles&lt;br /&gt;
*[http://www.bay12forums.com/smf/index.php?topic=57557.0 Phoebus' Graphic Set] - another graphics set&lt;br /&gt;
*[[Utilities#Dwarf_Therapist|Dwarf Therapist]] - Utility for managing dwarves&lt;br /&gt;
&lt;br /&gt;
The Dwarf Fortress community often creates custom [[Graphics set repository|graphics sets]] and [[Tilesets|tilesets]]. They're like graphical mods that make DF look prettier or just different. A lot of people pack the game folder with the tileset installed and everything already set up, so all you have to do is extract and play. Among the most popular of these are [http://www.bay12forums.com/smf/index.php?topic=53180.0 Ironhand's Graphics Set] and [http://www.bay12forums.com/smf/index.php?topic=57557.0 Phoebus' Graphic Set].&lt;br /&gt;
&lt;br /&gt;
There's also the (Windows only) [[Main:Lazy Newb Pack|Lazy Newb Pack]] which has several tilesets and utilities gathered together to make it easier for new players to get started and to experiment with the different tilesets. The only disadvantage to downloading LNP is that there is usually some lag time between when a new version of the game is released and when the LNP is updated to include it. So, if a new version of the game has just been released it may not be in the LNP yet.&lt;br /&gt;
&lt;br /&gt;
As for Mac, there is [http://www.bay12forums.com/smf/index.php?topic=106790.0 MacNewbie], which also contains some tilesets and utilities (even DFHack). There is also user-friendly init editor, which features colors and some most popular options to edit. Also, this pack is autoupdate-enabled so you don't need to check for updates manually.&lt;br /&gt;
&lt;br /&gt;
Also see [[Utilities]] for a long list of utilities that people have created, including the incredibly useful [[Utilities#Dwarf_Therapist|Dwarf Therapist]], something that many people won't play the game without.&lt;br /&gt;
&lt;br /&gt;
A guide to installing dwarf fortress using third party software can be found [http://www.youtube.com/watch?v=QmkPbGrH7VA&amp;amp;feature=plcp here].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
:''Also see: [[System requirements]]''&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
There is no installer for the game. Simply extract the archive file to a folder somewhere and run the game from within the folder.&lt;br /&gt;
&lt;br /&gt;
Make sure to actually ''extract'' the archive; do not just open the archive and run the game from the window that appears. If you do this then it may appear to work, but your save game data will get discarded. This is the cause of many &amp;quot;my saved games keep getting deleted&amp;quot; complaints. The game also needs to be able to write to its own folder, so do '''not''' install it in C:\Program Files if you are running Windows Vista or later.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
The Mac version is not a single application bundle, but like the Windows version it consists of a folder containing the application along with data files and there is no installer. The entire folder can be dragged into the Applications folder or placed elsewhere. As with the Windows version, the game must be able to write to its own folder. The game may not run correctly without the Apple developer tools and X11 utility included in the OSX installation disk options.&lt;br /&gt;
&lt;br /&gt;
To start the game execute the launch script &amp;quot;df&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== OS X 10.7 Lion ===&lt;br /&gt;
&lt;br /&gt;
{{old}}&lt;br /&gt;
&lt;br /&gt;
When first running Dwarf Fortress on 10.7 Lion, you may be startled to discover that Terminal crashes without so much as a by-your-leave. Don't worry; Dwarf Fortress will still run on Lion. The issue lies in the libraries; they haven't changed from the ones in Snow Leopard, but their naming scheme has. The fix is a quick one. Open up the &amp;quot;df&amp;quot; launch script in a text editor of your choice (TextEdit is the default), and locate the following lines:&lt;br /&gt;
&lt;br /&gt;
:export DYLD_FALLBACK_LIBRARY_PATH=${PWD}/libs&amp;lt;br/&amp;gt;&lt;br /&gt;
:export DYLD_FALLBACK_FRAMEWORK_PATH=${PWD}/libs&lt;br /&gt;
&lt;br /&gt;
Change them to read as follows:&lt;br /&gt;
&lt;br /&gt;
:export DYLD_LIBRARY_PATH=${PWD}/libs&amp;lt;br/&amp;gt;&lt;br /&gt;
:export DYLD_FRAMEWORK_PATH=${PWD}/libs&lt;br /&gt;
&lt;br /&gt;
With the change, Dwarf Fortress should run normally.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
The Linux version of the game is shipped as a compiled 32-bit x86 (Intel/AMD) application. It will also run on a system with a 64-bit AMD or Intel processor and a 64-bit kernel, provided that you have the (32-bit) shared libraries available that the program needs.&lt;br /&gt;
&lt;br /&gt;
Dwarf Fortress for Linux is meant to be run from a terminal (command-line) interface, and so the instructions here will assume you know how to login and get to a command prompt.  At least in the default mode, however, Dwarf Fortress is an X client (graphical desktop) program, so you should be in a terminal inside an X session before starting the game.  Dwarf Fortress will create a new X window outside of the terminal window, so don't worry about the size of the terminal.&lt;br /&gt;
&lt;br /&gt;
* '''Unpacking''': Dwarf Fortress is shipped as a (bzip2) compressed tar archive.  It will extract into a new directory called '''df_linux'''.  So, cd to wherever you want the game to be unpacked, and then run '''tar xjf /path/to/df_XX_YY_linux.tar.bz2''' (where df_XX_YY_linux.tar.bz2 is the filename).  Then run '''cd df_linux''' to change into the new directory.&lt;br /&gt;
* '''Running''': Run '''./df''' to execute the Dwarf Fortress wrapper script.&lt;br /&gt;
* '''Troubleshooting''': If you get an error like this:&lt;br /&gt;
 ./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0:&lt;br /&gt;
 cannot open shared object file: No such file or directory&lt;br /&gt;
: it means that your system is missing one or more shared libraries.  See below.&lt;br /&gt;
* '''Upgrading''': Since every new version of Dwarf Fortress unpacks in a directory named '''df_linux''' you have to manage upgrades yourself. As on all systems, you should '''not''' unpack a new version of DF on top of an old version's directory -- this will cause things to break, usually in subtle and mysterious ways.  Instead, you should either delete or rename the old '''df_linux''' directory first, before extracting the new version.&lt;br /&gt;
&lt;br /&gt;
Alternatively, downloading the windows version and running it with the wine emulator works fine. This also avoids any issues with 32-bit versus 64-bit mode.&lt;br /&gt;
&lt;br /&gt;
If you get errors, it is likely that others will have had the same problem; Try searching the bay12games forum with the error message.&lt;br /&gt;
&lt;br /&gt;
=== 32-bit vs. 64-bit systems ===&lt;br /&gt;
&lt;br /&gt;
Modern desktop PCs (of the Intel/AMD persuasion) contain CPUs that can run in either 32-bit or 64-bit modes.  When you install Linux, you choose one of these architectures.  The programs on your system will then be compiled either for the 32-bit (i386, x86) arch, or the 64-bit (amd64, x86_64) arch.  If you've forgotten which one you have, you can check:&lt;br /&gt;
&lt;br /&gt;
 $ file /bin/ls&lt;br /&gt;
 /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs),&lt;br /&gt;
 for GNU/Linux 2.6.18, stripped&lt;br /&gt;
&lt;br /&gt;
The above would indicate a 64-bit system.  Here's one from a 32-bit system:&lt;br /&gt;
&lt;br /&gt;
 $ file /bin/ls&lt;br /&gt;
 /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs),&lt;br /&gt;
 for GNU/Linux 2.6.18, stripped&lt;br /&gt;
&lt;br /&gt;
Dwarf Fortress is compiled for 32-bit systems, so if you're on a 32-bit system, things will be slightly easier.  If you are getting errors about missing SDL_image libraries (etc.) then you simply need to install them.  Use your distribution's package manager for this -- details will be extremely distribution-specific.  You don't need the development versions of the packages with the headers (although that won't hurt) -- you just need the runtime versions, with the actual shared libraries.&lt;br /&gt;
&lt;br /&gt;
If you're on a 64-bit system, then things get a bit trickier.  Since DF is a 32-bit application, it needs 32-bit versions of the shared libraries.  Some Linux distributions provide these in one or more packages that you can download.  For example, in Debian, the ia32-libs package contains most of the common 32-bit libraries, including libSDL. If your distribution does not include these, then you may have to supply them manually.&lt;br /&gt;
&lt;br /&gt;
==== How-to for Debian and similar ====&lt;br /&gt;
&lt;br /&gt;
On Ubuntu/Debian and its derivatives, installing 32-bit libraries is as easy as appending &amp;quot;:i386&amp;quot; to the name of the library.  For libsdl-image and libsdl-ttf, this amounts to:&lt;br /&gt;
&lt;br /&gt;
  $ sudo dpkg --add-architecture i386&lt;br /&gt;
  $ sudo apt-get update&lt;br /&gt;
  $ sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
etc.. Alternatively, you can use &lt;br /&gt;
&lt;br /&gt;
  $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
to install a bunch of 32-bit packages which includes those needed for Dwarf Fortress.&lt;br /&gt;
&lt;br /&gt;
'''Sound'''&lt;br /&gt;
&lt;br /&gt;
After doing this, DF will run, but will complain that it cannot find the OpenAL library and cannot play sounds, even when OpenAL (i386) has been installed. This is due to a bug/feature in which there is no link from the name of the library that DF is looking for (&amp;quot;libopenal.so&amp;quot;) to its implementation (&amp;quot;libopenal.so.1&amp;quot; - technically another link). To fix this, simply provide the necessary links in DF's own ''libs'' directory:&lt;br /&gt;
&lt;br /&gt;
  $ cd df_linux/libs&lt;br /&gt;
  $ ln -s /usr/lib/i386-linux-gnu/libopenal.so.1 ./libopenal.so&lt;br /&gt;
  $ ln -s /usr/lib/i386-linux-gnu/libsndfile.so.1 ./libsndfile.so&lt;br /&gt;
&lt;br /&gt;
==== Manually installing 32-bit libraries ====&lt;br /&gt;
&lt;br /&gt;
If you do need to manually install the libraries, then the first step is to figure out where you will be putting them.  Check to see where your other 32-bit libraries are already installed; for example, on Debian, some are in /lib32 and others are in /usr/lib32.  Since libSDL is in /usr/lib32 on a Debian system, that's where we'll want to put libSDL_image and libSDL_ttf.  On other distributions, the path could be different.&lt;br /&gt;
&lt;br /&gt;
The second step is to get the 32-bit libraries.  You can typically do this by downloading them directly from your distribution's 32-bit package repository.  Again using Debian as our example, we can perform a search at http://packages.debian.org/ for files containing the word libSDL_image for the Intel x86 architecture.  This takes us to [http://packages.debian.org/search?searchon=contents&amp;amp;keywords=libSDL_image&amp;amp;mode=filename&amp;amp;suite=stable&amp;amp;arch=i386 a results page] from which we can proceed to [http://packages.debian.org/squeeze/libsdl-image1.2 the libsdl-image1.2 package page] with a list of download links arranged by architecture.  Grab the i386 package from here, and repeat this for the libSDL_ttf package, and whatever other library you are missing.  Store these package files somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
The third step is to extract the libraries from the packages and get them in the proper location.  You probably ''won't'' be able simply to install the packages using your package manager, because they are for the wrong architecture.  Instead, you'll probably have to extract them by hand.  The steps for doing this are distribution-specific, so when in doubt consult your distribution's help resources.  I'll show the steps for a .deb package.&lt;br /&gt;
&lt;br /&gt;
* cd into some temporary working directory such as /tmp&lt;br /&gt;
* Extract the files from the .deb archive, which is in ar(1) format:&lt;br /&gt;
  tar x /path/to/libsdl-image1.2*_i386.deb&lt;br /&gt;
: This creates three files: debian-binary, control.tar.gz and data.tar.gz.  We only care about data.tar.gz.&lt;br /&gt;
* Extract data.tar.gz:&lt;br /&gt;
  tar xzf data.tar.gz&lt;br /&gt;
: This creates a subdirectory named usr with various files inside it.  We only care about usr/lib/libSDL_image-1.2.so.0.8.2 (or whatever precise version yours has).&lt;br /&gt;
* Move the shared library into place:&lt;br /&gt;
  sudo mv usr/lib/libSDL_image-1.2.so.* /usr/lib32/&lt;br /&gt;
* Create a symlink to it:&lt;br /&gt;
  cd /usr/lib32&lt;br /&gt;
  sudo ln -s libSDL_image-1.2.so.0.* libSDL_image-1.2.so.0&lt;br /&gt;
  cd -&lt;br /&gt;
&lt;br /&gt;
Repeat this for libSDL_ttf and whatever other libraries are required.&lt;br /&gt;
&lt;br /&gt;
'''NOTE''': If you get the error that libsndfile.so is not found, you must use the following:&lt;br /&gt;
  find */libsndfile.so*&lt;br /&gt;
cd to the correct directory, then use ln as shown above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== &amp;quot;Not found: /data/art/mouse.png&amp;quot; and similar errors ====&lt;br /&gt;
&lt;br /&gt;
Another common difficulty with 64bit systems is related to the art packs. When DF is run on most (?all) 64bit Unix systems, it generates error messages related to the PNG variants of the art files, errors which prevent the game from starting.&lt;br /&gt;
&lt;br /&gt;
To solve this problem, you must first edit the ''/data/init/init.txt'' file and set the game to use the BMP variants of the art files, instead of the default PNG. This should solve all the error messages except for one: &amp;quot;''Not found: data/art/mouse.png''&amp;quot; since there is no setting in the ''init'' files to change it. The workaround for this is to edit the ''Dwarf_Fortress'' file found in the ''/your/path/df_linux/libs'' folder which contains the setting for the mouse cursor.&lt;br /&gt;
If you don't know how to do that, you can try this:&lt;br /&gt;
* cd to the ''/df_linux/libs'' folder&lt;br /&gt;
* open ''Dwarf_Fortress'' in ''vi'' or any other editor of your choise:&lt;br /&gt;
  vi ./Dwarf_Fortress&lt;br /&gt;
: This opens the file for editing (text mode). If you are not familiar with ''vi'', it would be a good idea to follow these steps exactly and not press any other keys since they all activate specific commands. If you do press a key though, you can press the ''ESC key'' a few times to cancel the command.&lt;br /&gt;
* With vi open, write the following string and press ''Enter'':&lt;br /&gt;
  /mouse&lt;br /&gt;
: This will search for all the strings that contain the word &amp;quot;mouse&amp;quot; and place the cursor on the first match. Pressing the ''n key'' will cycle through all the matches.&lt;br /&gt;
* Press the ''n'' key until the cursor moves to the desired string, which is &amp;quot;''data/art/mouse.png''&amp;quot;. If you accidentally move past the string, you can cycle back through the matched strings using the ''N key'' (shift + n).&lt;br /&gt;
* Once you find the right string, you will have to move the cursor over the &amp;quot;p&amp;quot; in &amp;quot;[..]/mouse.&amp;lt;b&amp;gt;p&amp;lt;/b&amp;gt;ng&amp;quot;. You do that by pressing the ''l key'' which will move the cursor to the right. There is also the ''h key'' to move the cursor to the left, in case you move past it.&lt;br /&gt;
* With the cursor in the right position press the following key sequence:&lt;br /&gt;
  xxxibmp&lt;br /&gt;
: This will replace the ''.png'' extension with the ''.bmp'' one which solves the problem of the missing ''/data/art/mouse.png'' error.&lt;br /&gt;
* All there is left to do is to save the modifications to the file and quit ''vi''. For that, press the ''ESC key'' once or twice and then press the following key sequence after which you press ''Enter'':&lt;br /&gt;
  :wq&lt;br /&gt;
: This saves the changes and quits 'vi'&lt;br /&gt;
&lt;br /&gt;
Now the game should work properly. Have fun!&lt;br /&gt;
&lt;br /&gt;
=== Install on Arch Linux ===&lt;br /&gt;
Although Dwarf Fortress may be installed using the method above (with some modifications), it is available through pacman (Arch Linux's package management system), in the [community], for 32-bit, and the [multilib], for 64-bit, repositories. These packages are updated as Dwarf fortress is updated, and handle required dependencies.  &lt;br /&gt;
&lt;br /&gt;
==== 32-bit ====&lt;br /&gt;
All of the following commands must be run as root&lt;br /&gt;
&lt;br /&gt;
First, download and install Dwarf Fortress with pacman&lt;br /&gt;
  pacman -S dwarffortress&lt;br /&gt;
Any required dependencies will be installed, too.&lt;br /&gt;
&lt;br /&gt;
Next you need to add the user(s) that will be playing to the game to the games group&lt;br /&gt;
  gpasswd -a [users] games&lt;br /&gt;
&lt;br /&gt;
Any users you added to the games group must now be logged out, if they were logged in&lt;br /&gt;
&lt;br /&gt;
Now Dwarf Fortress should be playable by typing:&lt;br /&gt;
  dwarffortress&lt;br /&gt;
As any user in the games group&lt;br /&gt;
&lt;br /&gt;
==== 64-Bit ====&lt;br /&gt;
Installing Dwarf Fortress on 64-bit installs of Arch Linux is the same as installing it on 32-bit systems, with the exception of the [multilib] repository needing to be enabled prior to install.  &lt;br /&gt;
&lt;br /&gt;
These commands also must be run as root.&lt;br /&gt;
&lt;br /&gt;
To enable the [multilib] repository run:&lt;br /&gt;
  nano /etc/pacman.conf&lt;br /&gt;
And delete the pound symbol(#) in front of these three lines (Make sure the top one says #[multilib] NOT #[multilib-testing]&lt;br /&gt;
 #[multilib]&lt;br /&gt;
 #SigLevel = PackageRequired&lt;br /&gt;
 #Include = /etc/pacman.d/mirrorlist&lt;br /&gt;
So that they look like this&lt;br /&gt;
 [multilib]&lt;br /&gt;
 SigLevel = PackageRequired&lt;br /&gt;
 Include = /etc/pacman.d/mirrorlist&lt;br /&gt;
Save the file by typing&lt;br /&gt;
  ctrl x&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
  pacman -Sy&lt;br /&gt;
&lt;br /&gt;
After that you can continue the install as detailed in the 32-bit section.  32-bit dependencies will automatically be installed&lt;br /&gt;
&lt;br /&gt;
= Documentation =&lt;br /&gt;
&lt;br /&gt;
Fortunately the documentation on this wiki is very detailed and extensive. You may want to start out with:&lt;br /&gt;
* [[Tutorials]]&lt;br /&gt;
* [[Quickstart_guide|Fortress Mode Quickstart Guide]]&lt;br /&gt;
* [[Adventure mode quick start|Adventure Mode Quickstart Guide]]&lt;br /&gt;
&lt;br /&gt;
Then move on to:&lt;br /&gt;
* [[Dwarf fortress mode|Fortress Mode reference]]&lt;br /&gt;
* [[Adventure mode|Adventure Mode reference]]&lt;br /&gt;
* [[Special:Search|Searching]] the wiki&lt;br /&gt;
&lt;br /&gt;
{{Getting Started}}&lt;/div&gt;</summary>
		<author><name>Wya</name></author>
	</entry>
</feed>