Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 01 Nov 2013 21:00:15 +0000
From: John Spencer <maillist-musl@...fooze.de>
To:  sabotage@...ts.openwall.com
Subject: [ANN] Dwarf Fortress 34.11 available for sabotage/musl

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 libgraphics.so, 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/ld-musl-i386.so.1 $binary,
we do the latter in order to not touch the original binaries).

the libgraphics.so 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
libgraphics.so to

http://ftp.barfooze.de/pub/sabotage/bin/

dwarf_fortress_34_11_linux_musl.tar.xz :
equivalent to the original df_34_11_linux.tar.bz2 from upstream.
only libgraphics.so and libstdc++.so/libgcc_s.so has been swapped
out for sabotage ones to reduce the incompatibility surface.
note that libstdc++.so 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] http://www.bay12games.com/dwarves/
[1] https://github.com/Baughn/Dwarf-Fortress--libgraphics-
[2] https://github.com/rofl0r/df-libgraphics/tree/nogl
[3] https://github.com/rofl0r/df-mayday

Powered by blists - more mailing lists

Your e-mail address:

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