"./configure --prefix=$PWD && make install"
I end up with a folder in lib named 0.47.03. bin/lnp-forge menuconfig
.config
You can also download a pre-built pack here: http://dffd.bay12games.com/file.php?id=14911 (http://dffd.bay12games.com/file.php?id=14911)
urxvt: "Sans": malformed option.
urxvt: "Mono:pixelsize=28'": malformed option.
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
LinuxDwarfPack-0.47.04-r1/core/terminal.py
$ vi term.sh
#!/bin/sh
xterm -bg gray30 -fg Grey89 -fn "xft:DejaVu Sans Mono:pixelsize=28" -e "$@"
$ chmod +x term.sh
and set in the terminal configuration:"YOUR_LNP_PATH/term.sh $"
#!/bin/bash
xterm -bg gray30 -fg Grey89 -fn "xft:DejaVu Sans Mono:pixelsize=28" -e "$@"
LinuxDwarfPack-0.47.04-r2]$ ./startlnp.sh
bin/DwarfTherapist (No such file or directory)
WARNING: Unknown option: PRIESTHOOD_UNIT_COUNTS
WARNING: Unknown option: TEMPLE_VALUE_LEVELS
WARNING: Unknown option: GUILD_UNIT_COUNTS
WARNING: Unknown option: GUILDHALL_VALUE_LEVELS
INFO: Read installed graphics (Spacefox) from log
Traceback (most recent call last):
File "/home/brad/Downloads/LinuxDwarfPack-0.47.04-r2/core/launcher.py", line 112, in run_program
lnp.running[path] = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: './custom_terminal.sh'
ERROR: Could not launch ./df_47_04_linux/dfhack
Exception in Tkinter callback
Traceback (most recent call last):
File "./tkgui/tkgui.py", line 542, in run_df
launcher.run_df()
File "/home/brad/Downloads/LinuxDwarfPack-0.47.04-r2/core/launcher.py", line 55, in run_df
raise Exception('Failed to run Dwarf Fortress.')
Exception: Failed to run Dwarf Fortress.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/tkinter/__init__.py", line 1883, in __call__
return self.func(*args)
File "./tkgui/tkgui.py", line 547, in run_df
message=exc_info[1].message)
AttributeError: 'Exception' object has no attribute 'message'
xterm -bg gray30 -fg Grey89 -fs 10 -e $
/home/user/my_path/LinuxDwarfPack/custom_terminal.sh
If it does, I wouldn't fill an issue for this problem, it is easy to workaround.#
# Misc options
#
# CT_TOOLCHAIN_ENABLE_NLS is not set
CT_DF=y
CT_DF_VERSION="47_04_linux"
CT_LNP=y
CT_LNP_VERSION="0.14a"
CT_EMBARK=y
CT_EMBARK_VERSION="2014-v3"
CT_KEYBINDS=y
CT_KEYBINDS_REV="master"
CT_DFHACK=y
CT_DFHACK_VERSION="0.47.04-r1"
CT_TWBT=y
CT_TWBT_VERSION="04704"
CT_GRAPHICS=y
CT_GRAPHICS_VERSION="47.04"
CT_THERAPIST=y
CT_THERAPIST_VERSION="v41.1.7"
CT_THERAPIST_EXPERIMENTAL_LAYOUT=""
# CT_SOUNDSENSE is not set
CT_LEGENDS=y
CT_LEGENDS_VERSION="1.19.0"
CT_ANNOUNCEMENT=y
CT_ANNOUNCEMENT_VERSION="v1.3.0"
sudo apt install xterm
) and set xterm
as custom terminal command.# On host system
toolbox create -c df
toolbox enter -c df # everything after this is inside the toolbox container
# this is where my df lives
cd ~/src/df
dnf -y groupinstall "Development Tools"
git clone https://github.com/McArcady/lnp-forge
cd lnp-forge
# deps from fedora spec file BuildRequires
sudo dnf install gperf qt5-qtbase-devel ninja-build qt5-qtdeclarative-devel perl-IO-Compress perl perl-XML-LibXML perl-XML-LibXSLT mercurial git cmake gcc-c++ zlib-devel mesa-libGL-devel ncurses-devel dos2unix texinfo help2man
# deps from fedora spec file Requires
sudo dnf install SDL SDL_image SDL_ttf gtk2-devel openal-soft alsa-lib alsa-plugins-pulseaudio mesa-dri-drivers python gnome-terminal java-1.8.0-openjdk python3-tkinter qt5-qttools
# deps from https://github.com/McArcady/lnp-forge/wiki/Installing-build-dependencies
sudo dnf install perl perl-XML-LibXML perl-XML-LibXSLT mercurial help2man git java-1.8.0-openjdk python3-tkinter ninja-build ncurses-devel zlib-devel mesa-libGL-devel gcc-c++ qt5-qttools cmake dos2unix texinfo
# builds deps not referenced in documentation
sudo dnf install bison libtool SDL-devel libpng-devel
# install your terminal
sudo dnf install xterm
./configure --prefix=$PWD && make install
./bin/lnp-forge menuconfig
./bin/lnp-forge build
$ fedpkg --release f32 local(
... snip...
[INFO ] Finishing installation (may take a few seconds)...
[00:07] / ++ source .config
++ echo
/var/tmp/rpm-tmp.RpVpFj: line 33: source: .config: file not found
+ LNP_VERSION=
+ cat
/var/tmp/rpm-tmp.RpVpFj: line 34: ./.build/src/lnp-/PyLNP.user: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.RpVpFj (%build)
Report from building on Fedora Silverblue 32 inside a toolbox container.
My only feedback would be the addition of the addition of the build deps listed above that weren't in the docs.
I haven't found out how to download the AppImage. Did I miss some information?
chmod +x ~/Downloads/LinuxDwarfPack-0.47.04-r3-x86_64.AppImage
CT_DF_CUSTOM=y
CT_DF_CUSTOM_LOCATION=/home/ramblurr/src/df/da
CT_DF_VERSION="47_04_linux"
#!/bin/bash
DF=/home/ramblurr/src/df/vanilla/df_47_04_linux
DA=./.build/src/lnp-0.14a/df_47_04_linux
cd $DA
find . -iname "*.exe" -delete
find . -iname "*.dll" -delete
mkdir -p ./libs
cp $DF/df .
cp $DF/libs/* ./libs/
scripts/build/dark.sh
steps.mk
[EDIT] (preferably at the end, right before 'appimage')config/config.in
and a new file:config/dark.in
(take example on config/df.in)Hi, I'm having a slight problem with running the pack. When I try, it shows these messages:
bin/DwarfTherapist (No such file or directory)
/usr/bin/env: ‘python’: No such file or directory
LinuxDwarfPack-0.47.04-r1/startlnp.sh: 20: warn: not found
I'm using the latest version of Linux Mint.Did you edit/save the script under Windows or something before copying to linux? It may be that the end of lines are messed up.
Python3-tk already seems to be installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tk is already the newest version (3.8.2-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Nope, I haven't edited any of the files, just downloaded it straight from the pre-built pack.It seems to be related to this problem (https://forums.linuxmint.com/viewtopic.php?t=326212) (specific to Mint?). Try installing package python-is-python3.
Running PyLNP 0.14a (OS: linux, Compiled: False)
WARNING: JSONConfiguration: File PyLNP.user does not exist
['Traceback (most recent call last):\n', ' File "/home/muleet/Downloads/df/launch.py", line 12, in <module>\n lnp.PyLNP()\n', ' File "/home/muleet/Downloads/df/core/lnp.py", line 119, in __init__\n self.initialize_ui()\n', ' File "/home/muleet/Downloads/df/core/lnp.py", line 211, in initialize_ui\n from tkgui.tkgui import TkGui\n', ' File "/home/muleet/Downloads/df/tkgui/tkgui.py", line 16, in <module>\n from . import controls, binding\n', ' File "/home/muleet/Downloads/df/tkgui/controls.py", line 11, in <module>\n from . import binding\n', ' File "/home/muleet/Downloads/df/tkgui/binding.py", line 12, in <module>\n from tkinter import END\n', "ModuleNotFoundError: No module named 'tkinter'\n"]
Hello, I tried to download the LinuxDwarfPack, but I got that error. I'm using Linux Mint 19. Any idea what I should do ?$ sudo apt install libsdl-image1.2 libsdl-ttf2.0-0 gnome-terminal openjdk-8-jre python3-tk qt5-default unionfs-fuse
or by selecting the packages above in the package manager.$ ./startlnp.sh
['Traceback (most recent call last):\n', ' File "./launch.py", line 12, in <module>\n lnp.PyLNP()\n', ' File "/home/cj2025/Games/LinuxDwarfPack-0.47.04-r5/core/lnp.py", line 113, in __init__\n self.initialize_program()\n', ' File "/home/cj2025/Games/LinuxDwarfPack-0.47.04-r5/core/lnp.py", line 132, in initialize_program\n self.detect_basedir()\n', ' File "/home/cj2025/Games/LinuxDwarfPack-0.47.04-r5/core/lnp.py", line 288, in detect_basedir\n from . import df\n', ' File "/home/cj2025/Games/LinuxDwarfPack-0.47.04-r5/core/df.py", line 10, in <module>\n from distutils import dir_util\n', "ImportError: cannot import name 'dir_util' from 'distutils' (/usr/lib/python3.8/distutils/__init__.py)\n"]
It seems that a dependency is missing (python3-tk)
On Debian-like systems (such as Mint), the dependencies may be installed with:Code: [Select]$ sudo apt install libsdl-image1.2 libsdl-ttf2.0-0 gnome-terminal openjdk-8-jre python3-tk qt5-default unionfs-fuse
or by selecting the packages above in the package manager.
BTW: have you tried instead the Debian package available here (https://dffd.bay12games.com/file.php?id=15220)? it handles dependencies and user-data more gracefully than the tar.bz2 version.
$ sudo apt install python3-distutils
$ /opt/linux-dwarf-pack/linux-dwarf-pack.sh
or the shortcut in: Applications > Games > Dwarf Fortress.
Hello cj2025,
Good catch, there is a dependency missing from the list.
The next release of the pack will pull it automatically, but meanwhile you have to install it manually with:Code: [Select]$ sudo apt install python3-distutils
To start the pack, instead of 'startlnp.sh',
use:Code: [Select]$ /opt/linux-dwarf-pack/linux-dwarf-pack.sh
or the shortcut in: Applications > Games > Dwarf Fortress.
Dynamically loading the OpenAL library failed, disabling sound
Initializing OpenAL failed, no sound will be played
$ sudo apt-get install libsdl-ttf2.0-0
$ sudo apt-get install libopenal-dev
$ sudo apt-get install libsndfile-dev
$ ln -s /usr/lib/libsndfile.so.1 df_47_04_linux/libs/libsndfile.so
$ ln -s /usr/lib/libopenal.so.1 df_47_04_linux/libs/libopenal.so
$ echo "drivers = alsa," > .alsoftrc
Failed to load module “canberra-gtk-module”
sudo apt-get install libcanberra-gtk-module
With DFHack-alpha right here (https://github.com/McArcady/lnp-forge/actions/runs/529111532).Nice. Thanks!
LinuxDwarfPack 0.47.04-r5:
Supports Dwarf Fortress release 0.47.04 with DFHack r4 - download the pack here:
- https://dffd.bay12games.com/who.php?id=7393 (https://dffd.bay12games.com/who.php?id=7393)
Pack includes:
- DwarfFortress with DFHack & TWBT
- full DFGraphics tilesets
- keybinds, tilesets and embark profiles from the original LNP
- Dwarf Therapist
- Legends Browser
- Announcement Window
why it doesn't have soundsense ?? It adds so much to the game !Well, the LinuxDwarfPack is meant to stay slim and simple, centered around DF, DFHack and TwbT. We won't embark all the mods and tools available.
What would be nice however, is that one of the versions of Soundsense (there are at least 3) would be made available as a stand-alone app so that you can install and start it independently from the LinuxDwarfPack. Maybe you could ask their maintainers what is possible on this side?
Dwarf Therapist also has a known issue on distros with ptrace protection (e.g. ubuntu) -- resolving that seems to conflict with the approach you're taking to run the app from within a temp sandbox.
I assume that it's working for other people, but I have not been able to get it to work. I have been able to get it to work without the --portable option by running it directly from /opt/bin and redirecting the log to my user folder, after I disabled ptrace on the executable. sudo setcap cap_sys_ptrace=ep dwarftherapist
Failed to get capabilities of file `bin/dwarftherapist' (Operation not supported)
As an alternative, 'mergerfs' seems to support extended attributes, but not copy-on-write :-(Quotewhy it doesn't have soundsense ?? It adds so much to the game !Well, the LinuxDwarfPack is meant to stay slim and simple, centered around DF, DFHack and TwbT. We won't embark all the mods and tools available.
What would be nice however, is that one of the versions of Soundsense (there are at least 3) would be made available as a stand-alone app so that you can install and start it independently from the LinuxDwarfPack. Maybe you could ask their maintainers what is possible?
New build with DFHack-r1.
Arch package is available once again!
https://github.com/McArcady/lnp-forge/actions/runs/630383253 (https://github.com/McArcady/lnp-forge/actions/runs/630383253)
The new thread title isn't quite right: I think you want "LinuxDwarfPack for DF 0.47.05 with DFHack r1"Thanks for noticing! I will push a copy on dffd and update the thread ASAP
Dwarf Therapist also has a known issue on distros with ptrace protection (e.g. ubuntu) -- resolving that seems to conflict with the approach you're taking to run the app from within a temp sandbox.
$ chmod +x ~/Downloads/Dwarf_Fortress-0.47.04-r5-x86_64.AppImage
$ ~/Downloads/Dwarf_Fortress-0.47.04-r5-x86_64.AppImage
- then start DF, load a game and start the DT provided in the packDwarf Therapist also has a known issue on distros with ptrace protection (e.g. ubuntu) -- resolving that seems to conflict with the approach you're taking to run the app from within a temp sandbox.
Tentative fix for the LinuxDwarfPack, that makes the DF binary ptraceable from within the sandbox (thanks to Clément for the PRELOAD'ed library script).
It should fix the problem with DwarfTherapist on distros with memory protection, without disabling the protection globally.
I'm looking for Ubuntu users to test it!
No need to reinstall the current version of the LinuxDwarfPack, it may be tested by:
- downloading the Appimage version built on the patch branch (https://github.com/McArcady/lnp-forge/actions/runs/690889162) (requires a github account)
- setting executable permissions and run:Code: [Select]$ chmod +x ~/Downloads/Dwarf_Fortress-0.47.04-r5-x86_64.AppImage
- then start DF, load a game and start the DT provided in the pack
$ ~/Downloads/Dwarf_Fortress-0.47.04-r5-x86_64.AppImage
Yep. Works a treat for me in Ubuntu 20.04 LTS. Any chance of adding SoundSense to the pack? Just wondering. :)Thanks for the test!
Oh, and using the Legends Viewer didn't do anything.
Can also confirm that subsequently uninstalling the DEB will screw things up. My bad. ::)
$ /opt/linux-dwarf-pack/linux-dwarf-pack.sh
Yep. Works a treat for me in Ubuntu 20.04 LTS. Any chance of adding SoundSense to the pack? Just wondering. :)Thanks for the test!
Oh, and using the Legends Viewer didn't do anything.
Can also confirm that subsequently uninstalling the DEB will screw things up. My bad. ::)
And yes SoundSense-RS will be included in the next pack. :)
What exactly went wrong with Legends Browser? does it also happen with the .deb version?
If that is the case, could you try launching the pack from a terminal with:Code: [Select]$ /opt/linux-dwarf-pack/linux-dwarf-pack.sh
then try launching Legends Browser from the LNP interface and send me the log of the terminal.
When I go to DFHack I do:
[DFHack]# exportlegends all
Writing all files in: legends-region2-00122-07-22
exportlegends must be run from the main legends view
When I go to DFHack I do:
[DFHack]# exportlegends all
Writing all files in: legends-region2-00122-07-22
exportlegends must be run from the main legends view
"exportlegends all" may only be run safely from the 'Legends' game mode (not Fortress or Adventure), or alternatively like this (https://www.reddit.com/r/dwarffortress/comments/7mu1vo/pro_tip_you_can_view_and_export_legends_mode/) (may screw your current game).
The "Bind failed" errors show that Legends Browser has already been started several times in the background, probably due to your past attempts. Try killing their java processes or restart your Linux user session.
[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied
[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied
At startup, LegendsBrowser automatically tries to open the default browser.
That step seems to fail in your case... not sure why.
One other possible bug somewhere: if I use the Vettlingr graphics, ESC to the menu, then return to the game sometimes the map is blank. Just the map. If I ESC and return to the game several times then eventually the map comes back. If it doesn't then I have to just save and reload. Even some announcement screens cause this. No big deal, I'll use the Afro graphics. :)
[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied
At startup, LegendsBrowser automatically tries to open the default browser.
That step seems to fail in your case... not sure why.
Not sure if this is exclusive to this pack, or DF as a whole, but when I got my first goblin siege they started attacking my fortress and DF quit. I reloaded and I was back to the save before the siege. Siege happened again. Same again... as soon as they start attacking the fort the game quit.
Any ideas? Anything I can check??
UPDATE: changed graphics from Vettlingr to Ironhand and it didn't crash.
Not sure if this is exclusive to this pack, or DF as a whole, but when I got my first goblin siege they started attacking my fortress and DF quit. I reloaded and I was back to the save before the siege. Siege happened again. Same again... as soon as they start attacking the fort the game quit.
Any ideas? Anything I can check??
UPDATE: changed graphics from Vettlingr to Ironhand and it didn't crash.
Interesting, with or without TwbT?
Crashes may also be investigated by reloading without DFHack.
I tried the Deb distribution of your LNP first on Pop_OS (an Ubuntu-based distribution). When I double-clicked it, it said it was missing Qt. So I read the instructions and tried the command line command, but it said it was missing dependencies. So I downloaded your normal Linux distribution and Dwarf Fortress ran fine out-of-the-box.Thanks for reporting!
$ sudo dpkg -i linux-dwarf-pack_0.47.05-r1_amd64.deb
(or in a root shell, without sudo)User:~$ sudo dpkg -i '/home/user/Downloads/linux-dwarf-pack_0.47.05-r1_amd64.deb'
[sudo] password for User:
(Reading database ... 294385 files and directories currently installed.)
Preparing to unpack .../linux-dwarf-pack_0.47.05-r1_amd64.deb ...
Unpacking linux-dwarf-pack (0.47.05-r1) over (0.47.05-r1) ...
dpkg: dependency problems prevent configuration of linux-dwarf-pack:
linux-dwarf-pack depends on libopenal-dev; however:
Package libopenal-dev is not installed.
linux-dwarf-pack depends on libsndfile-dev; however:
Package libsndfile-dev is not installed.
linux-dwarf-pack depends on openjdk-8-jre; however:
Package openjdk-8-jre is not installed.
linux-dwarf-pack depends on python-tk; however:
Package python-tk is not installed.
linux-dwarf-pack depends on python3-distutils; however:
Package python3-distutils is not installed.
linux-dwarf-pack depends on python3-pil.imagetk; however:
Package python3-pil.imagetk is not installed.
linux-dwarf-pack depends on qt5-default; however:
Package qt5-default is not installed.
linux-dwarf-pack depends on libqt5qml5; however:
Package libqt5qml5 is not installed.
linux-dwarf-pack depends on unionfs-fuse; however:
Package unionfs-fuse is not installed.
dpkg: error processing package linux-dwarf-pack (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-dwarf-pack
User:~$ ▉
Code: [Select]User:~$ sudo dpkg -i '/home/user/Downloads/linux-dwarf-pack_0.47.05-r1_amd64.deb'
[sudo] password for User:
(Reading database ... 294385 files and directories currently installed.)
Preparing to unpack .../linux-dwarf-pack_0.47.05-r1_amd64.deb ...
Unpacking linux-dwarf-pack (0.47.05-r1) over (0.47.05-r1) ...
dpkg: dependency problems prevent configuration of linux-dwarf-pack:
linux-dwarf-pack depends on libopenal-dev; however:
Package libopenal-dev is not installed.
linux-dwarf-pack depends on libsndfile-dev; however:
Package libsndfile-dev is not installed.
linux-dwarf-pack depends on openjdk-8-jre; however:
Package openjdk-8-jre is not installed.
linux-dwarf-pack depends on python-tk; however:
Package python-tk is not installed.
linux-dwarf-pack depends on python3-distutils; however:
Package python3-distutils is not installed.
linux-dwarf-pack depends on python3-pil.imagetk; however:
Package python3-pil.imagetk is not installed.
linux-dwarf-pack depends on qt5-default; however:
Package qt5-default is not installed.
linux-dwarf-pack depends on libqt5qml5; however:
Package libqt5qml5 is not installed.
linux-dwarf-pack depends on unionfs-fuse; however:
Package unionfs-fuse is not installed.
dpkg: error processing package linux-dwarf-pack (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-dwarf-pack
User:~$ ▉
$ sudo apt install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
User@pop-os:~/Downloads$ sudo apt install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-dwarf-pack : Depends: libopenal-dev but it is not installed
Depends: libsnfile-dev
Depends: openjdk-8-jre but it is not installed
Depends: python3-tk but it is not installed
Depends: python3-distutils but it is not installed
Depends: python3-pil.imagetk but it is not installed
Depends: qt5-default but it is not installed
Depends: libqt5qml5 but it is not installed
Depends: unionfs-fuse
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
User@pop-os:~/Downloads$ ▉
I searched the Internet a little and discovered that "--fix-broken" is just the long form of "-f".
I'm guessing I would need to install all those libraries to get the deb package to work.
I thought it was interesting that this time it didn't tell me that libsnfile-dev and unionfs-fuse weren't installed.
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
User@pop-os:~$ cd Downloads
User@pop-os:~/Downloads$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'linux-dwarf-pack' instead of 'linux-dwarf-pack_0.47.05-r1_amd64.deb'
linux-dwarf-pack is already the newest version (0.47.05-r1).
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User@pop-os:~/Downloads$ ▉
Code: [Select]linux-dwarf-pack is already the newest version (0.47.05-r1).
$ sudo apt remove linux-dwarf-pack
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
Traceback (most recent call last):
File "run.py", line 1, in <module>
import Window
File "/mnt/Personal/Games/LinuxDwarfPack-0.47.05-r1/announcement/Window.py", line 26, in <module>
from PIL import Image, ImageTk
ImportError: No module named PIL
I'm using linux mint (ubuntu based), first i had a error about python libraries missing, but i added them. and now it's this module. Any idea how to fix it?
I'm guessing it wants the "python3-pil.imagetk" library.that's what i thought at the start, but according to synaptic package manager i have it installed...
I'm guessing it wants the "python3-pil.imagetk" library.that's what i thought at the start, but according to synaptic package manager i have it installed...
$ sudo apt install python3-tk python3-distutils python3-pil.imagetk
$ sudo update-alternatives --config python
Code: [Select]linux-dwarf-pack is already the newest version (0.47.05-r1).
Mmmh, I've seen this one before:
apt doesn't want to overwrite a package with the same version number.
Try removing and reinstalling?Code: [Select]$ sudo apt remove linux-dwarf-pack
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
Thanks for your patience!
User@pop-os:~$ cd Downloads/
User@pop-os:~/Downloads$ sudo apt remove linux-dwarf-pack
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.3.0-7625 linux-headers-5.3.0-7625-generic
linux-image-5.3.0-7625-generic linux-modules-5.3.0-7625-generic
linux-modules-extra-5.3.0-7625-generic python-certifi python-chardet
python-idna python-openssl python-requests python-urllib3
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-dwarf-pack
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 191 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 294385 files and directories currently installed.)
Removing linux-dwarf-pack (0.47.05-r1) ...
User@pop-os:~/Downloads$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-dwarf-pack' instead of './linux-dwarf-pack_0.47.05-r1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User@pop-os:~/Downloads$ ▉
Can't figure out Dwarf Therapist on Ubuntu. I need to run a script or something. Where is Dwarf Therapist installed?
Have you installed all these deps?Code: [Select]$ sudo apt install python3-tk python3-distutils python3-pil.imagetk
Maybe try reinstalling them... also make sure that 'python' is Python3 by default:Code: [Select]$ sudo update-alternatives --config python
Code: [Select]The following packages have unmet dependencies:
linux-dwarf-pack : Depends: qt5-default but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The applications menu has an entry for dwarf fortress, which opens the launcher. There is not a separate entry for dwarf therapist, and I can't find a file for the launcher in /.local/share/applications/ I also checked /.local/share/linux-dwarf-pack/bin/ The folder contains some dwarftherapist.log files, but nothing else.Dwarf-Therapist and all other tools are installed in /opt/linux-dwarf-pack.
jecowa, did you try "apt -f install" without installing any package ?
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.3.0-7625 linux-headers-5.3.0-7625-generic
linux-image-5.3.0-7625-generic linux-modules-5.3.0-7625-generic
linux-modules-extra-5.3.0-7625-generic python-certifi python-chardet
python-idna python-openssl python-requests python-urllib3
Use 'sudo apt autoremove' to remove them.
Your dependencies are broken, you need to find which installed package is causing all this.Are you saying I have these libraries installed already, so linux-dwarf-pack isn't able to install them. But the libraries that I have installed are broken, so they can't be used? I don't normally install software on Linux. I kind of thought the dpkg was supposed to make it easy and handle dependencies for me.
linux-dwarf-pack : Depends: qt5-default but it is not going to be installedThis line is the important one - the "you have held broken packages" line, on the other hand, can indicate a lot of things. Sometimes it indicates that you have an incompatible package installed that something else depends on. In this case, it might just indicate that you need to install qt5-default. It doesn't often indicate that the installed packages are corrupted - that is hard to detect.
sudo apt install /path/to/pack.deb
Code: [Select]E: Unable to correct problems, you have held broken packages.
https://github.com/Dwarf-Therapist/Dwarf-Therapist/blob/master/dist/ptrace_scope/README.md
This claims that the issue can be bypassed by running dwarf fortress as a child of dwarf therapist, if ptrace value is 1. Could this option somehow be integrated into the launcher?
McArcady, is there a reason your package depends on development packages instead of the library ones?Good catch, it's a mistake.
Qt5 is a Dwarf Therapist thing. It looked to me, as a Linux noob, that maybe the tar.bz2 district was trying to run Dwarf Therapist from source. Maybe the developer kit version is needed for that?
I assume I have to grab a sound pack from somewhere? Does soundsense-rs grab it using the menu links, or should I download the sounds and put them in a folder?Does the menus work?
I can hover over the Options menu to see the items, but clicking an item does nothing.I assume I have to grab a sound pack from somewhere? Does soundsense-rs grab it using the menu links, or should I download the sounds and put them in a folder?Does the menus work?
Menu 'Options' should send to you to the right place to download a sound pack. I'm using the one by jecowa, which rocks.
After download and unzipping, use 'Load > Load soundpack'.
I can hover over the Options menu to see the items, but clicking an item does nothing.Does it happen only for menu "Options"?
I can hover over the Options menu to see the items, but clicking an item does nothing.Does it happen only for menu "Options"?
For instance, does "Options > About" open a window?
In that case, it may be that your the app fails to start the default browser when clicking on, for instance: "Options > jecowa"
21.04 makes me think of a possible Wayland issue - if you're running Wayland, are you able to try using Xorg too?
I've tried logging in using Xorg and still can't click anything in soundsense-rsCould you try launching SoundsenseRS outside of the LNP, from a terminal:
$ /opt/linux-dwarf-pack/soundsense-rs/soundsense-rs-v1.5.1-linux
Did the menu work? and are there any errors reported in the terminal?I've tried logging in using Xorg and still can't click anything in soundsense-rsCould you try launching SoundsenseRS outside of the LNP, from a terminal:Code: [Select]$ /opt/linux-dwarf-pack/soundsense-rs/soundsense-rs-v1.5.1-linux
Did the menu work? and are there any errors reported in the terminal?
linux-dwarf-pack : Depends: openjdk-8-jre but it is not installable
As far as I know, openjdk 8 is gone (and, indeed, not installable). Is there a version of the dwarfpack that uses the current openjdk, or do I need to somehow convince this one that a newer openjdk is fine?
dpkg --force-all -i linux-dwarf-pack_0.47.05-r2_amd64.deb
Same issue here on Gentoo/Xmonad. Being Gentoo pretty much have latest versions of most packages - happy to provide more info in helpful. I saw on SoundSense-RS's github issues a similar problem that the dev says is related to webview/webviewx, but no idea if its the same. https://github.com/prixt/soundsense-rs/issues/8I've tried logging in using Xorg and still can't click anything in soundsense-rsCould you try launching SoundsenseRS outside of the LNP, from a terminal:Code: [Select]$ /opt/linux-dwarf-pack/soundsense-rs/soundsense-rs-v1.5.1-linux
Did the menu work? and are there any errors reported in the terminal?
Menu's still drop down when the pointer is over them, but clicking on, say, 'About' does nothing.
Nothing reported in the terminal. No errors. Nothing.
Just wanted to add to my previous post - the issue with soundsense-rs was solved by ensuring the channelSettings.xml file was present in the soundpack directory. Found this by chance by downloading and installing https://github.com/jecowa/soundsensepack which includes this file. The original soundpack did not have it. Works as expected now!
This is a dumb question, but how do I download the nightly build? The .deb is listed in the artifacts, but I can't click on it.You need to be signed in to GitHub.
Confirming that soundsense is currently also broken for me (Kubuntu 20.04). But it seems to be unrelated to the LNP, and a problem with soundsense itself. I downloaded their releases from github and tested versions 1.5.1, 1.4.4 and 1.3.4, all broken for me. It can load both the gamefile and soundpack directory, both with command line options and with the default folder, but it simply ignores all buttons on the gui. Hovering over "Load", "Settings" and "Options" it expands the menu, but the buttons do nothing. Also, changing the volume, clicking the pause/play, skip, etc, also do nothing. Going into the "Inspect Element" you can see all the ReferenceErrors.
Issue have already been reported on github (a couple months ago), with possible fix suggested and PR open (a couple days ago) but I believe the author hasn't been around for a bit.
- https://github.com/prixt/soundsense-rs/issues/19
- https://github.com/prixt/soundsense-rs/pull/21
If you want to use the tool, you can simply download the sounpack (https://github.com/jecowa/soundsensepack - download as zip), and unpack all the files into the soundsense folder inside a folder named soundpack, which is the default settings (If installed with the .deb, the folder would be "/home/USERNAME/.local/share/linux-dwarf-pack/soundsense-rs/soundpack". If the path does not exist, you can simply create the directories. I guess you could use the root installation folder too, but no sense in doing so). Hopefully the fix is merged soon.
I got soundsense to work by manually downloading the pack, but the volume settings don't work, actually nothing in the GUI works at all, skipping, pausing, none of the menus (the menus show the options, but clicking them does nothing)
I got soundsense to work by manually downloading the pack, but the volume settings don't work, actually nothing in the GUI works at all, skipping, pausing, none of the menus (the menus show the options, but clicking them does nothing)
Thanks to DHMike57, the pack now includes a patched version of SoundSense-RS. Not sure that it solves all your problems, but you may give it a try with one of the builds here (https://github.com/McArcady/lnp-forge/actions/runs/1160182348) (requires a github account).
I got soundsense to work by manually downloading the pack, but the volume settings don't work, actually nothing in the GUI works at all, skipping, pausing, none of the menus (the menus show the options, but clicking them does nothing)
Thanks to DHMike57, the pack now includes a patched version of SoundSense-RS. Not sure that it solves all your problems, but you may give it a try with one of the builds here (https://github.com/McArcady/lnp-forge/actions/runs/1160182348) (requires a github account).
Does anybody have a working setting for the "Configure terminal" window? I am on Pop OS, which is basically Ubuntu.Have you tried in: file > configure terminal
xterm -e $
» uname -a
Linux devent-X705UD 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Loading bindings from data/init/interface.txt
Resetting textures
TWBT: version 5.xx
TWBT: no display patch (not an error)
Cannot enable autonestbox without a world!
Map is not available!
Fixed feeding timers for 0 citizens.
unstuck 0 doors
World is not loaded: please load a game first.
DFHack is ready. Have a nice day!
DFHack version 0.47.05-r3 (release) on x86_64
Type in '?' or 'help' for general help, 'ls' to see all commands.
Unit transparency enabled
Workshop transparency enabled
Forced redraw mode enabled
Autonestbox stopped.
Emptied 0 buckets.
Fat dwarves cured: 0
Lag sources: 0
unstuck 0 doors
Found and unstuck 0 construct building jobs.
Deterioration of old clothes commencing...
Deterioration of body parts commencing...
Deterioration of food commencing...
Attempting to load color palette file: "/data/save/region2/raw/colors_spring.txt"
mousequery: edge scrolling disabled
[DFHack]# twbt unit_transparency 1
Unit transparency enabled
[DFHack]#
Hi. Tried your pack and it works, but I don't have any transparency in the game. How to fix it?
Hi. Tried your pack and it works, but I don't have any transparency in the game. How to fix it?
Make sure the graphics pack installed has the "TWBT" in parentheses, all packs have 2 entries in the launcher, like for instance you have Phoebus and Phoebus(TWBT).
Even if the one installed is the TWBT one, reinstall it, then make sure to click "Update savegames"
Also check if "TWBT" is selected as the printmode, given your log it seems it is, but just to be sure.
Hi. Tried your pack and it works, but I don't have any transparency in the game. How to fix it?
Make sure the graphics pack installed has the "TWBT" in parentheses, all packs have 2 entries in the launcher, like for instance you have Phoebus and Phoebus(TWBT).
Even if the one installed is the TWBT one, reinstall it, then make sure to click "Update savegames"
Also check if "TWBT" is selected as the printmode, given your log it seems it is, but just to be sure.
Now it works. I see that multilevel 5 was set to 0. The black background around units also disappeared, don't know why.
Now it works. I see that multilevel 5 was set to 0. The black background around units also disappeared, don't know why.
One thing to remember:
Always use the menu "Folders > Main Folder" to browse and access DFHack init files.
This points to a seemingly temporary directory in /tmp, but your modifications are transparently saved in your home folder at a safe location $XDG_DIR/linux-dwarf-pack (which usually resolves to: ~/.local/share/linux-dwarf-pack).
In any case do not edit the .init files in /opt/linux-dwarf-pack, or they will be overwritten at the next update.
Does it really help with load/save time to have it in the /tmp directory? I have a hybrid hard drive (SSD+HDD).It was not meant for performance, but to keep the game saves and configuration separate from the binaries.
Hello, and thanks for maintaining this package!
I keep getting this unfortunate error.
(https://i.imgur.com/ZYsPkrD.png)
E: I already did try rm -rf * and reinstall
I just noticed /opt/linux-dwarf-pack/df_47_05_linux/data was missing dir save. Tried to create it, didn't fix the problem.
Anyway. AppImage I didn't know how to fix with that problem, so I went with .deb next. As an aside: I had problems with Java packages trying to come from a groovy repository (with missing release files or something or other), which took me a while to get sorted. I think it might have been my apt repositories that were the problem but if it's something that's fixable on your end, it'd be great. So anyways, .deb didn't fix it, I went to the Python code, couldn't think of anything out of it, came here to cry and set up my own install.
Now the thing is. It's clearly something I messed up but also something that reinstalls won't fix. I don't think I messed much with anything other than removing the saves but then again, missing files would probably be something a reinstall would have fixed.
Here's tail /proc/version: Linux version 5.8.0-63-generic (buildd@lcy01-amd64-028) (gcc (Ubuntu 10.3.0-1ubuntu1~20.10) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1) #71-Ubuntu SMP Tue Jul 13 15:59:12 UTC 2021Does that mean you're using Ubuntu 20.10? The output of "lsb_release -a" might be a bit easier to understand.
[ERROR] /sources/lnp-forge-0.47.05-r3/.build/src/dfhack-0.47.05-r3/plugins/twbt/config.hpp:580:77: error: taking address of rvalue [-fpermissive]Hi,
[ALL ] 580 | static_cast<std::ostringstream*>(&(std::ostringstream() << idx))->str();
[ERROR] /sources/lnp-forge-0.47.05-r3/.build/src/dfhack-0.47.05-r3/plugins/twbt/config.hpp:580:77: error: taking address of rvalue [-fpermissive]Hi,
[ALL ] 580 | static_cast<std::ostringstream*>(&(std::ostringstream() << idx))->str();
See my reply on github (https://github.com/McArcady/lnp-forge/issues/66) for testing the build with option '-fpermissive'.
If it works we'll add a (temporary) patch for DFHack.
I've also fixed the README. Mercurial is no longer necessary and will be removed from 'configure.ac'
Would you have a copy of the log from the terminal?
(the message "nohup: ignoring input..." is a harmless warning)
Starting LinuxDwarfPack
- configuration and game saves are stored in /home/connorm/.local/share/linux-dwarf-pack
- feedback or issues? see http://www.bay12forums.com/smf/index.php?topic=157712
- created with lnp-forge: https://github.com/McArcady/lnp-forge
Creating overlay of /home/connorm/.local/share/linux-dwarf-pack and /opt/linux-dwarf-pack in /tmp/lnp-cIqLnw...
WARNING: Field PRIESTHOOD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
WARNING: Field GUILD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
INFO: Read installed graphics (CLA) from log
nohup: ignoring input and appending output to 'nohup.out'
Creating overlay of /home/connorm/.local/share/linux-dwarf-pack and /opt/linux-dwarf-pack in /tmp/lnp-cIqLnw...
WARNING: Field PRIESTHOOD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
WARNING: Field GUILD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
INFO: Read installed graphics (CLA) from log
nohup: ignoring input and appending output to 'nohup.out'
$ mv /home/connorm/.local/share/linux-dwarf-pack/df_47_05_linux/data/init/d_init.txt /home/connorm/.local/share/linux-dwarf-pack/df_47_05_linux/data/init/d_init.txt.bak
then start the LNP again.Closing the launcher after starting DFHack and DF shouldn't make a difference. They're completely separate programs.It probably does because the temp directory where are merged the binaries (from /opt/linux-dwarf-pack/) and config files (from ~/.local/share/linux-dwarf-pack) is unmounted when the launcher is closed.
It probably does because the temp directory where are merged the binaries (from /opt/linux-dwarf-pack/) and config files (from ~/.local/share/linux-dwarf-pack) is unmounted when the launcher is closed.Which launcher does this? I don't remember this being a PyLNP feature. Do you have an extra wrapper around PyLNP?
Yes, the LinuxDwarf Pack provides a wrapper-script around PyLNP, that mounts and run everything from a temporary filesystem (unionfs) in /tmp/lnp-XXXXXX. It is intended to keep binaries and data/config files in separate directories.It probably does because the temp directory where are merged the binaries (from /opt/linux-dwarf-pack/) and config files (from ~/.local/share/linux-dwarf-pack) is unmounted when the launcher is closed.Which launcher does this? I don't remember this being a PyLNP feature. Do you have an extra wrapper around PyLNP?
I don't think any program can reasonably be expected to function if its data files are unmounted from under it. Could the launcher keep track of the subprocesses that it launches and delay unmounting until they exit?
The LinuxDwarfPack has been updated to include DFHack 0.47.05-r5 and LegendsBrowser 2.release r6
x-terminal-emulator
Code: [Select]x-terminal-emulator
Did you set just this up as a terminal command? In your case, you might want to add "-e" or "--command" at the end.
Did you try:Did you set just this up as a terminal command? In your case, you might want to add "-e" or "--command" at the end.You're correct, that's all I had entered. I tried adding "-e", and then later "--command" instead of "-e", but neither seem to have made progress unfortunately.
Did you try:
"Custom command" and "x-terminal-emulator -e $"
could it be a PATH issue? maybe try putting the full path to x-terminal-emulator in the custom command.
The x-terminal-emulator command is actually a wrapper of garcon written in shell script
...
In my experience garcon will drop any command arguments when invoking the terminal chrome app.
Op will need to install a Linux terminal app and call that directly.
❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
❯ yay -Ss libsdl
aur/pipepanic 0.1.3-6 (+0 0.00)
Pipe connecting game using libSDL
aur/sdlblocks 1-7 (+1 0.00)
A Tetris remake written in C using libSDL
multilib/lib32-sdl_image 1.2.12-7 (28.5 KiB 62.4 KiB)
A simple library to load images of various formats as SDL surfaces (32-bit)
community/sdl_image 1.2.12-7 (28.5 KiB 64.3 KiB)
A simple library to load images of various formats as SDL surfaces
❯ yay -S sdl_image
❯ yay -S lib32-sdl_image
❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
❯ yay -Ss sdl_ttf
multilib/lib32-sdl_ttf 2.0.11-6 (17.7 KiB 42.4 KiB)
A library that allows you to use TrueType fonts in your SDL applications (32-bit)
community/sdl_ttf 2.0.11-6 (16.2 KiB 41.3 KiB)
A library that allows you to use TrueType fonts in your SDL applications
❯ yay -S sdl_ttf
❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
Initializing OpenAL failed, no sound will be played
Loading bindings from data/init/interface.txt
Resetting textures
It's good to note that those dependencies are for Dwarf Fortress itself, not the LNP directly. It might be useful for you to add the specific commands you ran to install dependencies on the wiki https://dwarffortresswiki.org/index.php/40d:System_requirements#Other_Operating_Systems so it will be discoverable by other Manjaro users. Maybe add it as a subsection under the Arch heading.
It's good to note that those dependencies are for Dwarf Fortress itself, not the LNP directly. It might be useful for you to add the specific commands you ran to install dependencies on the wiki https://dwarffortresswiki.org/index.php/40d:System_requirements#Other_Operating_Systems so it will be discoverable by other Manjaro users. Maybe add it as a subsection under the Arch heading.I'll try to fullfill this information in the page lethosor mentioned. Thanks!
If you use pacman (https://wiki.manjaro.org/index.php/Pacman_Overview) to install the *.pkg.tar.bz2 package file available here (https://github.com/McArcady/lnp-forge/releases/tag/0.47.05-r6) or here (https://github.com/McArcady/lnp-forge/actions?query=workflow%3A%22Build+LinuxDwarfPack+package%22), sdl_image and sdl_ttf are listed as dependencies thus will be installed automatically as needed.
(And running programs from /tmp is not advised.)
Hello,
foremost, thanks for this amazing pack!
Secondly, I want to share my experience with the pack on my Manjaro distro (Arch).
I was trying to launch the game through the big button "Play DwarfFortress" after the configuration of the terminal (kitty, in my case). Everything worked fine, test was successful, but pressing that button the terminal appeared and disappeared in a sec.
So I tried to launch from the terminal directly the "df" file:Code: [Select]❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
So I searched that lib and installed what was useful in my opinion:Code: [Select]❯ yay -Ss libsdl
aur/pipepanic 0.1.3-6 (+0 0.00)
Pipe connecting game using libSDL
aur/sdlblocks 1-7 (+1 0.00)
A Tetris remake written in C using libSDL
multilib/lib32-sdl_image 1.2.12-7 (28.5 KiB 62.4 KiB)
A simple library to load images of various formats as SDL surfaces (32-bit)
community/sdl_image 1.2.12-7 (28.5 KiB 64.3 KiB)
A simple library to load images of various formats as SDL surfaces
❯ yay -S sdl_image
❯ yay -S lib32-sdl_image
Still unlucky:Code: [Select]❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
Then:Code: [Select]❯ yay -Ss sdl_ttf
multilib/lib32-sdl_ttf 2.0.11-6 (17.7 KiB 42.4 KiB)
A library that allows you to use TrueType fonts in your SDL applications (32-bit)
community/sdl_ttf 2.0.11-6 (16.2 KiB 41.3 KiB)
A library that allows you to use TrueType fonts in your SDL applications
❯ yay -S sdl_ttf
It WORKS!Code: [Select]❯ sudo bash /tmp/lnp-7k5ekr/df_47_05_linux/df
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
Initializing OpenAL failed, no sound will be played
Loading bindings from data/init/interface.txt
Resetting textures
I hope it will be helpful for some other Manjaro's users. :)
Edit: I filed a request for upstream LNP for the last two items: https://github.com/Pidgeot/python-lnp/issues/181The dfhack-nightly pack has been updated with the new PythonLNP 0.14b:
Hey there folks! I just downloaded the LinuxDwarfPack but am currently having trouble getting it to start the DF game. When I open the pack through the terminal I get some of its output, and when I click on the "Play Dwarf Fortress!" button, it gives out this output:Did you use the .rpm or the .tar.gz package?
"./libs/Dwarf_Fortress: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory"
$ sudo dnf install gtk2
That did the trick for starting the game, thanks! I used the installer. Now the only problem I still have is that I can't start the dwarf hack. I'm not sure what I have to put in the terminal configuration. I put "$"Great!
It says that the test failed and that I should see the log for details. I'm not sure where the log is placed.You may also try installing package 'xterm' and use this command in the terminal configuration:
I've tested this abandoned version link (https://github.com/rszibele/dwarf-fortress-lnp-flatpak) and it works a charm, but it would be nice to align to a proper project like this one.Thanks for the link!
Not sure if this is the right forum to discuss but would there be significant work to release a flatpak?
Unfortunately, you can't really use pacman on Steam OS (as the Steam deck will wipe anything you change when you update).
Is this something that a newb to linux could do?
I've tested this abandoned version link (https://github.com/rszibele/dwarf-fortress-lnp-flatpak) and it works a charm, but it would be nice to align to a proper project like this one.
I've tested this abandoned version link (https://github.com/rszibele/dwarf-fortress-lnp-flatpak) and it works a charm, but it would be nice to align to a proper project like this one.Thanks for the link!
Too bad the author does not explain how the pack is built. It would be nice to look into that.
This AppImage (https://github.com/McArcady/lnp-forge/releases/download/0.47.05-r7/Dwarf_Fortress-0.47.05-r7-x86_64.AppImage) of the LinuxDwarfPack has the same purpose, except that for now the dependencies have to be installed manually (https://github.com/McArcady/lnp-forge/wiki/Installing-LinuxDwarfPack-dependencies).
How to build:Nice work! Thanks for sharing.
flatpak-builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml
or if you installed the flatpak version flatpak-builder:
flatpak run org.flatpak.Builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml
How to pack locally:
flatpak run org.flatpak.Builder --repo=repo --force-clean build com.bay12games.DwarfFortress.yaml
flatpak build-bundle repo com.bay12games.DwarfFortress.flatpak com.bay12games.DwarfFortress
Those are in the build.sh script of https://github.com/feng1st/dwarf-fortress-lnp-flatpak.
Dwarf Therapist is a Qt app, and the KDE runtime has Qt built-in.How to build:Nice work! Thanks for sharing.
flatpak-builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml
or if you installed the flatpak version flatpak-builder:
flatpak run org.flatpak.Builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml
How to pack locally:
flatpak run org.flatpak.Builder --repo=repo --force-clean build com.bay12games.DwarfFortress.yaml
flatpak build-bundle repo com.bay12games.DwarfFortress.flatpak com.bay12games.DwarfFortress
Those are in the build.sh script of https://github.com/feng1st/dwarf-fortress-lnp-flatpak.
May I ask why you did choose the KDE runtime instead of FreeDesktop or GNOME ?
I tried changing the runtime but the build of SDL_ttf then fails (missing FreeType2 library).