Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - fuzzylunkinz

Pages: [1]
1
I had to use the following, using the full path to /sbin/getcap since /sbin isn't on my $PATH:

Code: [Select]
#!/bin/sh
LNP_DIR=$(dirname "$0")
cd "${LNP_DIR}"

#Check whether Dwarf Therapist can read from DF memory:
dt_capabilities=$(/sbin/getcap LNP/utilities/dwarf_therapist/DwarfTherapist |cut -f2 -d"=")
dt_capabilities=${dt_capabilities:=0}
if [ ${dt_capabilities} != "cap_sys_ptrace+eip" ]; then
        msg="Enable Dwarf Therapist to read from Dwarf Fortress memory"
        xterm -e "echo $msg;sudo setcap cap_sys_ptrace=eip LNP/utilities/dwarf_therapist/DwarfTherapist"
fi

#run Lazy Newb Pack
java -jar lazy-newbpack-gui-0.5.3-SNAPSHOT.jar

2
DF Announcements / Re: Dwarf Fortress 0.34.11 Released
« on: June 06, 2012, 09:42:27 pm »
#!/bin/sh is definitely better practice.  This game appeals to all sorts of linux hobbyists and some distributions, like Gentoo, make it easy to use an alternative shell, like zsh.

And don't pull that "most popular distro" thing on me, we're not mainstream here :P.

3
Any linux progress?  I keep thinking about playing this game again but I always remember most of my favorite tools don't run easily on linux.

If my urge becomes great enough, I might mess around with a Python/PyGTK equivalent, and make a Gentoo ebuild (maybe .debs, who knows) for it.

4
Hey, I really like this graphic set :).

Nice work!  Thanks!

Pages: [1]