Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 26 Jul 2014 14:12:02 +0200
From: John Spencer <>
Subject: Re: [ANN] Dwarf Fortress 40.04 available for sabotage/musl (was:
 DF 34.11 available)

DF 40.04 for musl is now available on

it was created from branch 4004_nogl of [2]
(and mayday package from updated master of [3]).

it again comes in three flavors:

$ sha512sum df_linux_4004-musl_nogl.tar.xz

base package (vanilla); containing only original DF files plus 
musl-linked and
for usage on i386 musl systems with all required libs installed (openal, 

NOTE: sdl must be patched to create thread stacks of at least 128KB, see
(already the case on sabotage linux)

$ sha512sum df_linux_4004-musl_nogl-alllibs.tar.xz

same as above but with all dependent 32bit libraries included in libs/; 
can be used on x86_64 without further ado (given that kernel has 

  $ sha512sum df_linux_4004-musl_nogl_mayday-allibs.tar.xz

same as above but with mayday tileset from [3].

have Fun,

P.S.: it should be possible to update to DF 40.05 and newer versions, 
once they come out by dropping and from the 
vanilla tarball into the df_linux dir (plus the modified start shell 
and maybe even (if there are no changes in the RAW dir, which is likely 
- diff -r can tell you) to just copy an updated "Dwarf Fortress.exe" 
into df_linux_4004-musl_nogl's libs/ dir.

John Spencer wrote:
> dwarf fortress[0] is a very well known freeware game available for 
> linux, however only for glibc based systems, and i386 (32bit) only.
> the graphics part of it is opensource, available here: [1]
> i forked it and applied a couple of patches to remove GTK+ and
> OpenGL dependencies, so it works with plain SDL and stdio[2].
> using this trimmed down, it's possible to run
> the GLibc linked binary thanks to musl's ABI compatibility
> (either by patching the DT_INTERP with patchelf to point to
> musl's dynlinker, or by launching /lib/ $binary,
> we do the latter in order to not touch the original binaries).
> the was additionally linked against ncurses, so
> it can be used even in a raw terminal if no X server is available.
> to use the ncurses driver, change the driver from "2D" to "TEXT"
> in data/init/init.txt.
> i've uploaded 3 full DF tarballs containing this custom
> to
> dwarf_fortress_34_11_linux_musl.tar.xz :
> equivalent to the original df_34_11_linux.tar.bz2 from upstream.
> only and has been swapped
> out for sabotage ones to reduce the incompatibility surface.
> note that from GCC >= 4.6 is not compatible with the
> game binary.
> sha512 checksum: 
> 44f7c50732959064709b15a737a61ba12232fa820e9416498b314a0ef79d97a67bb8953ae3b49e76ff72454be3e9765ac33234e3bd394b011a09e1a5deb7ea92 
> dwarf_fortress_34_11_linux_musl_including_all_deps.tar.xz :
> same as above, however all needed 32bit libraries have been added.
> that way this tarball can be extracted on a x86_64 or i386 system
> and started without further ado.
> sha512:
> 25698f960f11d6a367617a024b9358e58cbd2a4adc317c341fcd2bd86271d906b0b8ad62a5f03a0f6bfe7f246dd4a539cfeae36d8d13ce1ef0422c0cf6d10ffd 
> dwarf_fortress_34_11_linux_musl_including_all_deps_and_mayday_tileset.tar.xz 
> :
> same as above, plus the graphical tileset "mayday".
> mayday support has been added using the patch/script available on [3].
> sha512:
> 711c85ab09cfdb5a330bd17d13e44cb62d00fde7db6b42746b8b1da0d41baff8081e0d9b1a4aaaea14006f2be0afb7aeea75306853139fd281ec6f1c4a2bddd5 
> so, now that even DF works on musl, there's no reason waiting any longer 
> to switch completely :-)
> have lots of Fun,
> --JS
> [0]
> [1]
> [2]
> [3]

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.