Bay 12 Games Forum

Dwarf Fortress => DF General Discussion => Topic started by: Enay on March 13, 2017, 12:19:10 pm

Title: LinuxLNP Release - 0.47.04-r1 x64
Post by: Enay on March 13, 2017, 12:19:10 pm
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love!
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: sunrakhan on March 14, 2017, 12:30:04 am
Hi! Thank you very much for your effort.

I have an issue when trying to use Dwarf Therapist: « ERROR not found - Verify _DT_BINARY defined in (path to dwartherapist script) is set correctly. »
I did that, the script says
Code: [Select]
_DT_BINARY="`./DwarfTherapist`", but the DwafTherapist file in the same folder looks like a shared library, not like an executable, and when I try to run it, I get this output :

Code: [Select]
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: relocation error: ./DwarfTherapist: symbol _ZNK19QAbstractProxyModel15canDropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

I checked and I did have installed the libraries required to compile DwarfTherapist according  to building instructions on GitHHub. (I'm on KXStudio 14.04.2 based on Ubuntu 14.04.2 LTS).

Is the issue between the chair and the keyboard or not ?  ???

Sorry for the trouble, otherwise this pack is really great!
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on March 14, 2017, 09:38:30 am

Is the issue between the chair and the keyboard or not ?  ???

Sorry for the trouble, otherwise this pack is really great!

No, you're not suffering from a PEBKAC error, and it's not an ID-10-T error, either  ;)  I have seen the error you're describing, but it still seems to launch for me from within PyLNP.

Not sure why DT gets compiled as a shared library, but I am able to run it on my machine. I do know that Splintermind uses qmake for his build, and compiling results in an executable, but Hello71's fork switched from qmake over to cmake, and compiling this version results in a shared library.

Unfortunately I don't have the programming chops to edit the makefile to produce an executable rather than a shared library.  I'm not sure this is even the problem.  I think the script is expecting Dwarf Therapist to actually be installed on the system rather than be compiled and distributed with the LNP.

I do know that I edited the dwarftherapist launcher script you're looking at to get it to a working state on my machine.  Below is the unedited portion of the script you're looking at, and should be the only portion that I edited:

Code: [Select]
## $_DT_BINARY
## Set path to 'DwarfTherapist' binary
_DT_BINARY="`which DwarfTherapist`"
PREFIX="${_DT_BINARY%%/bin/DwarfTherapist}"

I'm not in front of my build machine ATM to double check, but this code didn't seem to work for me, but manually specifying $_DT_BINARY did the trick.

In any case, you could probably replace the contents of the launcher script with:
Code: [Select]
#!/bin/bash
./DwarfTherapist > /dev/null 2>&1

To get it running without throwing up a console screen with debug info.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: sunrakhan on March 14, 2017, 04:57:38 pm
Thanks for your reply!

Quote
I think the script is expecting Dwarf Therapist to actually be installed on the system rather than be compiled and distributed with the LNP.

I think the same and wish I was competent in shell scripting to fix this. I hacked a little bit and got stuck with the « provide_gui_to_setcap » function.  :'(
   
But in the end I must have a library problem  because nothing happens with « ./DwarfTherapist > /dev/null 2>&1 » (surprisingly...  :P) and plain « ./DwarfTherapist » is what got me the output I quoted above.
   
On the other end I had compiled Splintermind's version and have a functional Dwarf Therapist that works well with Dwarf Fortress, I just launch it on the side, so it's a solution. But I would have found it nice to get a fully-working all-in-one package,  and hope somebody would shed some light on this.
   
Note that I still think you did a good job on this version of the pack: with the previous one, I couldn't get past the console configuration step at the very beginning, so that's a progress in my view ! I'm discovering the glory that is dfhack thanks to you.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: evanedyr on March 15, 2017, 11:38:40 am
Thanks for your reply!

On the other end I had compiled Splintermind's version and have a functional Dwarf Therapist that works well with Dwarf Fortress, I just launch it on the side, so it's a solution. But I would have found it nice to get a fully-working all-in-one package,  and hope somebody would shed some light on this.


uhm, i've compiled that DF Therapist too (Splintermind's), but if i try to run it while the LNP-version of DF is running, it says that it doesn't recognize it =( How did you make it work? Or are you just using a previous version of the game? I'm running it from terminal with "sudo DwardTherapist"; also "sudo dwarftherapist" gives the same result  ::)

EDIT : i've tried to copy the layouts from the LNP folder to /usr/local/share/dwarftherapist/memory_layouts/linux/, and now DwarfTherapist sees it, but complains that DF either is not running or unloaded the fort - while instead i have it open and running
Title: Re: LinuxLNP - 0.43.05 x64
Post by: sunrakhan on March 15, 2017, 03:18:40 pm
To enable Dwarf Therapist to communicate with Dwarf Fortress, I followed these instructions: https://github.com/andrewd18/df-lnp-installer/wiki/Dwarf-Therapist-Cannot-Connect-to-Dwarf-Fortress (https://github.com/andrewd18/df-lnp-installer/wiki/Dwarf-Therapist-Cannot-Connect-to-Dwarf-Fortress).
Title: Re: LinuxLNP - 0.43.05 x64
Post by: elimik31 on April 17, 2017, 07:54:31 am
Haven't played DF in a couple of years and in the meantime I have migrated completely to Linux, so this helped me out a lot, thank you. SoundSense complained that the directory df_linux/sounds/packs does not exist, so I created it with

cd df_linux
mkdir -pv sounds/packs


and only then I could succesfully run the "Start Update" command in the "Pack update" tab. Have to try it out now.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Pidgeot on May 06, 2017, 07:45:21 am
FYI, the colorscheme Western_Rust that's in this pack is not a complete color scheme - it only seems to contain 35 of the 48 entries.

This makes PyLNP print an error; the error is not helpful in identifying the issue (I'll fix that for the next release), but you should probably double-check that file.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: jellsprout on May 07, 2017, 11:54:48 am
Hi! Thank you very much for your effort.

I have an issue when trying to use Dwarf Therapist: « ERROR not found - Verify _DT_BINARY defined in (path to dwartherapist script) is set correctly. »
I did that, the script says
Code: [Select]
_DT_BINARY="`./DwarfTherapist`", but the DwafTherapist file in the same folder looks like a shared library, not like an executable, and when I try to run it, I get this output :

Code: [Select]
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by ./DwarfTherapist)
./DwarfTherapist: relocation error: ./DwarfTherapist: symbol _ZNK19QAbstractProxyModel15canDropMimeDataEPK9QMimeDataN2Qt10DropActionEiiRK11QModelIndex, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

I checked and I did have installed the libraries required to compile DwarfTherapist according  to building instructions on GitHHub. (I'm on KXStudio 14.04.2 based on Ubuntu 14.04.2 LTS).

Is the issue between the chair and the keyboard or not ?  ???

Sorry for the trouble, otherwise this pack is really great!

I ran into the same problem. The issue is that this Dwarf Therapist was compiled with QT 5.7, while the Ubuntu repository only has QT up to 5.5.1. The easiest way to solve this issue is building Dwarf Therapist yourself and then replacing the one in the ./LNP/utilities/ folder with your build.

Instructions for building yourself are here:

new instructions:

Code: [Select]
git clone https://github.com/Hello71/Dwarf-Therapist.git
mkdir Dwarf-Therapist-build
cd Dwarf-Therapist-build
cmake ../Dwarf-Therapist
ln -s ../Dwarf-Therapist/share .
make -j$(nproc)
./DwarfTherapist

if you get an error like the following:
Code: [Select]
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package):
  Could not find a package configuration file provided by "Qt5Qml" with any
  of the following names:

    Qt5QmlConfig.cmake
    qt5qml-config.cmake

  Add the installation prefix of "Qt5Qml" to CMAKE_PREFIX_PATH or set
  "Qt5Qml_DIR" to a directory containing one of the above files.  If "Qt5Qml"
  provides a separate development package or SDK, be sure it has been
  installed.

Then try:
Code: [Select]
sudo apt-get install qt5-qmake qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev # Qt 5if the error mentions QT4 try:
Code: [Select]
sudo apt-get install qt4-qmake libqt4-dev # Qt 4
then try the cmake ../Dwarf-Therapist again.

This is in the build instructions for linux in spinters fork.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: freakdog on May 12, 2017, 08:29:35 pm
I'm running Ubuntu 17.04 on an AMD64 architecture.  If I run dfhack directly it works, but when I run from PyLNP I get the following output on the terminal and dwarf fortress does not run:

Code: [Select]
[distro_fixes] [INFO] Checking whether any distro specific fixes are required...
[distro_fixes] [INFO] OS: ubuntu
[distro_fixes] [INFO] ARCH: x86_64
[distro_fixes] [INFO] VER: 17.04
[distro_fixes] [INFO] DF_ARCH: 64-bit
[distro_fixes] [INFO] DF_BIN_LOCATION: /home/larry/df/df_linux/libs/Dwarf_Fortress
[distro_fixes] [INFO] PRELOAD_LIB:
[distro_fixes] [INFO] LD_LIBRARY_PATH: /tmp/_MEIgFfwdK
[distro_fixes] [INFO] Done
./libs/Dwarf_Fortress: /tmp/_MEIgFfwdK/libncursesw.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libcaca.so.0)
./libs/Dwarf_Fortress: /tmp/_MEIgFfwdK/libncursesw.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libcaca.so.0)
./libs/Dwarf_Fortress: /tmp/_MEIgFfwdK/libtiff.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libSDL_image-1.2.so.0)
./libs/Dwarf_Fortress: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined symbol: FcWeightToOpenType
Title: Re: LinuxLNP - 0.43.05 x64
Post by: freakdog on May 14, 2017, 02:54:53 pm
It's definitely something that's an incompatibility with the latest lib set from 17.04 - I installed on a live cd and the same error results. As stated by another user, the only known solution is to downgrade OS versions, or install a virtualbox instance just to run df :)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on May 15, 2017, 10:07:10 am
It sounds to me like not starting DF from PyLNP is an easier solution.

Try adding this line near the top of distro_fixes.sh (right after the lines starting with "#"):
Code: [Select]
export LD_LIBRARY_PATH=""
Title: Re: LinuxLNP - 0.43.05 x64
Post by: freakdog on May 15, 2017, 12:11:01 pm
It sounds to me like not starting DF from PyLNP is an easier solution.

Try adding this line near the top of distro_fixes.sh (right after the lines starting with "#"):
Code: [Select]
export LD_LIBRARY_PATH=""

That worked like a champ.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on May 15, 2017, 12:42:49 pm
Oh, cool. I was expecting it to fix at least the first three warnings (I think they're just warnings), but I wasn't sure about the last one.

Anyway, if you're interested - PyLNP unpacks itself to a temporary folder (apparently /tmp/_MEIgFfwdK in this case) and sets up a LD_LIBRARY_PATH environment variable, which looks like it interfered with DF in this case. I'll report it to the PyLNP maintainers.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: freakdog on May 15, 2017, 02:26:54 pm
Well, to let you know, when in TWBT mode, if you scroll zoom all the way out, the df application and df_hack both exit/crash. Also, I'm getting an issue with DwarfTherapist where it connects but only shows 5 columns or so and they are empty -- not sure if it's the same issue as previously discussed in this thread and I need to rebuild it.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on May 15, 2017, 07:39:53 pm
The second one is different from the DT issues described above - those were DT being unable to start and unable to connect to DF. As for the first issue, about the only advice I can provide is "don't zoom all the way out". You could get in touch with mifki in the TwbT thread about that, I suppose. Is it happening in specific menus or everywhere?
Title: Re: LinuxLNP - 0.43.05 x64
Post by: freakdog on May 15, 2017, 10:21:40 pm
Looks like everywhere, when TWBT is enabled.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Incantatar on May 18, 2017, 12:25:18 pm
I'm on Fedora 25. LNP can't open gnome-terminal not with the selection and not when I specify in the custom terminal field. I'm using the terminal all the time, so I don't think it's an issue on my end.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on May 18, 2017, 01:05:05 pm
Does "gnome-terminal -e" work?
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Incantatar on May 18, 2017, 01:33:56 pm
Does "gnome-terminal -e" work?

No. But I researched the error I get with custom command
Code: [Select]
gnome-terminal: symbol lookup error: /lib64/libxcb-shm.so.0: undefined symbol: xcb_send_request_with_fdsSeems  like people got this error with gnome on wayland, which is what I'm running. I don't get it when I start it elsewhere though. Running xdg-terminal also opens gnome-terminal automatically.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: HellishINC on May 18, 2017, 02:45:47 pm
Code: [Select]
WARNING: JSONConfiguration: File PyLNP.user does not exist

ERROR: Unable to read current colors

Traceback (most recent call last):

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in get_colors

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.colors", line 44, in <genexpr>

TypeError: int() argument must be a string or a number, not 'NoneType'

This is on Arch x64. Not sure if this is LNP related but posting none the less.

Setting the print mode to anything but 2D also causes the game to not launch.
Adding:
Code: [Select]
export LD_LIBRARY_PATH=""allows the game to launch.

I also went ahead and updated DFhack and TWBT to most recent versions (dfh-r1 / next) and everything seems to be working just fine on my end
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Incantatar on May 19, 2017, 02:39:02 am
Adding:
Code: [Select]
export LD_LIBRARY_PATH=""allows the game to launch.

I also went ahead and updated DFhack and TWBT to most recent versions (dfh-r1 / next) and everything seems to be working just fine on my end
Yes, for me the same plus I had to install another terminal to get LNP to start DF.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: MAemilius on June 03, 2017, 10:21:39 pm
Hey there,

I'm running OpenSUSE and having some issues with Dwarf Therapist as well.  I can get the scripts to work when run directly, but I still can't get it to work through the utility.  When run through the utility, I get a symbol lookup error that I've been unable to figure out so far.

Code: [Select]
symbol lookup error: /usr/lib64/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenType
To get the scripts running directly, I modified the bit that gets the path to the Dwarf Therapist binary to:

Code: [Select]
_ROOT="$( cd -P "$( dirname "$0" )" && pwd )"

## $_DT_BINARY
## Set path to 'DwarfTherapist' binary
_DT_BINARY="$_ROOT/DwarfTherapist"

After that, I was having issues with the path to "_ETC_BASE_FOLDER".  I had to change that to:

Code: [Select]
_ETC_BASE_FOLDER="${PREFIX}/share/"
After that, everything was working fine using the script as given.

So, the final version of my settings section looks like this:

Code: [Select]
##########################################
##
##   SETTINGS / CONFIG
##
##########################################

_ROOT="$( cd -P "$( dirname "$0" )" && pwd )"

## $_DT_BINARY
## Set path to 'DwarfTherapist' binary
_DT_BINARY="$_ROOT/DwarfTherapist"
PREFIX="${_DT_BINARY%%/DwarfTherapist}"

## $_ETC_BASE_FOLDER
## Set folder containing 'etc/memory_layouts/linux/*'
## DwarfTherapist needs to be run from within this folder, because relative path 'etc/memory_layouts/OS/' is hardcoded in binary
##
_ETC_BASE_FOLDER="${PREFIX}/share/"

##_NOTIFY_ICON
## Set path to icon used for notify-send
_NOTIFY_ICON="${PREFIX}/share/pixmaps/dwarftherapist.png"

I don't seem to have the "pixmaps" folder, but it hasn't been a problem yet.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 08, 2017, 09:22:49 pm
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

I finally got around to doing a 64-bit LNP for Linux.  I can't guarantee that everything is working perfectly, but it should do the trick.

NOTE:  I'm probably going to stop working on this in the very near future.  I don't want to vanish though and leave people wondering if/when the LinuxLNP will be updated.  If somebody wants to continue working on this, please let me know.  I have written a very crude but workable build script that I could provide you with that handles most of the heavy lifting.  I know PeridexisErrant also has a python-based script that can be used for generating a new LNP for Linux, but I've never tried it myself.

To Run: Simply execute the included startlnp script.  This is used to ensure Dwarf Therapist can talk to Dwarf Fortress. 

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Major changes over previous revision:


Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Mr.Elendig on June 09, 2017, 06:42:11 am
Please for the love of Armok use a top level directory in the tarbal so that it doesn't explode all over $PWD (https://en.wikipedia.org/wiki/Tar_(computing)#Tarbomb)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 09, 2017, 08:50:49 am
Please for the love of Armok use a top level directory in the tarbal so that it doesn't explode all over $PWD (https://en.wikipedia.org/wiki/Tar_(computing)#Tarbomb)

No problem, future versions will include a TLD in the archive.  Since I originally built this for my own private use and my personal folder structure is setup to not need a TLD in the archive, I didn't consider how it could impact others when I decided to make it available to the masses.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Wastewhile on June 15, 2017, 07:38:40 am
I use gnome-terminal, but couldn't launch with DFhack enabled - I got a complaint about "gnome-terminal\n" not existing or similar.

To fix I installed xterm, and set my console to Custom, with the command "xterm" (sans speech marks).
Title: Re: LinuxLNP - 0.43.05 x64
Post by: MoonyTheHuman on June 20, 2017, 11:40:05 am
Hi! I migrated to Linux a while ago and got back into playing, i thought there wasnt a uptodate LNP until i looked a little harder and found this. Thanks a ton for making this, always makes my life easier.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: DukeLeto2 on June 21, 2017, 01:00:16 pm
Using Arch Linux 64 bit, I get the error

./libs/Dwarf_Fortress: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightToOpenType

whenever I try to use graphics that aren't TWBT. The LD_LIBRARY_PATH seems correctly set in the distrofixes file already.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on June 21, 2017, 01:11:38 pm
Using Arch Linux 64 bit, I get the error

./libs/Dwarf_Fortress: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightToOpenType

whenever I try to use graphics that aren't TWBT. The LD_LIBRARY_PATH seems correctly set in the distrofixes file already.
Have you tried STANDARD? That's identical to TWBT as far as DF is concerned.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 23, 2017, 01:33:03 am
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

There were a few issues with some embark profiles and init settings with the last revision that I didn't notice until after I released it.  Those issues are fixed in this revision.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 23, 2017, 10:14:58 am
This is more of a bugfix release.  I didn't realize when I compiled Dwarf Therapist for the previous revision that some distros (Ubuntu, at the very least) wouldn't be able to run it.  I rebuilt with QT4 and tweaked the wrapper script, and it seems to work well in Debian, Ubuntu, and Fedora.  The errors about not being able to locate $_DT_BINARY are gone.  I don't have any other distros installed for testing, so feedback from Arch users would be appreciated.

I also wrote a wrapper script for Legends Browser, as I found that Fedora (and most likely other distros) don't allow for the launching of .jar files directly.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 27, 2017, 08:44:01 am
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

There were a few issues with some embark profiles and init settings with the last revision that I didn't notice until after I released it.  Those issues are fixed in this revision.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on June 28, 2017, 08:01:25 am
Found a problem with r03 - d_init.txt has a typo, EMBARK_RECTANBLE instead of EMBARK_RECTANGLE.  This causes DF to use the default size of 6x6.

It'll be fixed in the next revision, but if you don't want to wait, just browse to df_linux/data/init and edit d_init.txt.  If you often change graphics packs, edit the d_init.txt files in LNP/graphics/packName/data/init as well.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on July 03, 2017, 11:44:18 am
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

Found a bug related to symlinks of some of the DFHack libs not resolving correctly.  This bug causes Stonesense to not load, and most likely other issues not immediately apparent.  I also fixed a typo in the init files.  Finally, re-imported the embark profiles from scratch, as I found some discrepancies between them and the set that PeridexisErrant publishes.  I run both Windows and Linux, so my goal is to make transitioning between the LNPs as seamless as possible.

I have also fixed the wrapper scripts for Legends Browser and DF Announcement Filter and turned on auto update checks for PyLNP.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Major changes over previous revision:

Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Tymewalk on July 05, 2017, 12:52:25 pm
Just loaded that latest version on Ubuntu 16.04 LTS, dependencies fully installed. It kept giving me this:
Code: [Select]
ERROR: Note: Failed to read JSON from PyLNP.user, ignoring data - details follow
Traceback (most recent call last):
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.json_config", line 41, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/json", line 290, in load
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/json", line 351, in loads
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/json.decoder", line 366, in decode
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/json.decoder", line 382, in raw_decode
ValueError: Expecting property name: line 3 column 1 (char 21)
(Which is double-strange because the user I was running DF under wasn't named "michael". Not sure why, although I've never used the LNP before)

PyLNP.user contained this:
Code: [Select]
{
  "updateDays": 0,
}

Removing the comma and changing it to this:
Code: [Select]
{
  "updateDays": 0
}

makes it work perfectly fine.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Ecaz on July 05, 2017, 03:18:43 pm
Sorry to be dumb, but what's LNP?
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on July 05, 2017, 04:50:39 pm
Yeah, sounds like the JSON file is the issue there.
(Which is double-strange because the user I was running DF under wasn't named "michael". Not sure why, although I've never used the LNP before)
It doesn't mean anything. That's the path of the file on the machine where PyLNP was built. It has nothing to do with your machine.

Sorry to be dumb, but what's LNP?
A pack with DF and a bunch of utilities, which are listed in the first post.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Bulwersator on July 10, 2017, 12:59:04 pm
I have reproducible crash fo DT from this pack on Lubuntu 16.04. If squad is created DT crashes on reading squad data. If squad is deleted crash disappears. Is it a good place to report it? Or should I look for DT thread (I wanted to start here as it packages DT that may or may not be modified ("compiled Dwarf Therapist for the previous revision").

If "I'm probably going to stop working on this in the very near future" is already true then sorry for bothering you.

EDIT: bugged save: http://dffd.bay12games.com/file.php?id=13000 (try to connect with DT - crash. delete squad, connecting with DT works).
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on July 18, 2017, 03:36:45 pm
I have reproducible crash fo DT from this pack on Lubuntu 16.04. If squad is created DT crashes on reading squad data. If squad is deleted crash disappears. Is it a good place to report it? Or should I look for DT thread (I wanted to start here as it packages DT that may or may not be modified ("compiled Dwarf Therapist for the previous revision").

If "I'm probably going to stop working on this in the very near future" is already true then sorry for bothering you.

EDIT: bugged save: http://dffd.bay12games.com/file.php?id=13000 (try to connect with DT - crash. delete squad, connecting with DT works).

Thanks for reporting this.  I just tested this out for myself and can confirm that the version of DT I included in the LNP crashes when a military exists.  The extent of my testing was to make sure it could read the dwarves in a new embark, and that labors could be assigned/removed.

The "official" Dwarf Therapist won't work on 64-bit yet, and hasn't been updated in quite a while, so I had to find a fork of the project to package with it.  I previously used Hello71's fork, but Ubuntu users pointed out that it was built with a newer version of Qt5 and wouldn't work on their system.  I ended up going to DanFritz' fork, as it still supported Qt4.

Now it looks like I will have to go back to Hello71's fork.  I've created a Ubuntu virtual machine and was able to compile DT using Qt5.5.1, which is the version that comes with the latest LTS build of Ubuntu.  I've tested this build and it does not crash when squads are present.

As soon as TWBT is updated to support DFHack 0.43.05-r2, I'll put out a new revision with Hello71's fork of DT.  In the meantime, you can download this version of DT from my dropbox:  https://www.dropbox.com/sh/af6sa2wv9v9zse1/AACB2pRWnoVpYWBn6Z_p2m3na (https://www.dropbox.com/sh/af6sa2wv9v9zse1/AACB2pRWnoVpYWBn6Z_p2m3na).  Just delete the dwarf_therapist folder from LNP/utilities and drop this one in its place.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on July 20, 2017, 12:15:43 pm
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon (https://www.patreon.com/enay) page and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Major changes over previous revision:

Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Jathe on August 01, 2017, 09:33:53 am
Not sure what I'm doing wrong but when I try to start it I get this.

Quote
travis@crunchbang:~/downloads/LinuxLNP-0.43.05-r06$ ./startlnp
[WARNING] startlnp: Could not find /sbin/getcap and/or /sbin/setcap
./PyLNP: 6: ����%ڕ!h: not found
./PyLNP: 6: NB]K: not found
./PyLNP: 6: FA_71X4:/: not found
./PyLNP: 6: 9^@WRVM[
                      SOZEL
                            : not found
./PyLNP: 6: �ah�ap�ax�a��a��a��a: not found
��a��a��a��aȲaвaزa��a��a��a��a�a�a�a�a: not found
./PyLNP: 6: �aJh�aKp�aLx�aM��aN��aO��aP��aQ��aR��aS��aU��aV��aWȴaXдaYشaZ��a[��a]��a^��a_�a: not found
./PyLNP: 6: ����%ږ!h: not found
./PyLNP: 6: �@����%ʖ!h
                      �0����%–!h
                                �: not found
./PyLNP: 6: cannot create �@@x�@@'$@@@@@��@@@@ԯԯ ��a�a���  �Q�td/lib64/ld-linux-x86-64.so.2GNU GNUc*�Ž5�}2~x�'�CaYH56(T.Q� 6�*���ص�n���>��IA��Zz��a�@��p��f�a�е��C�60�J���Y����[u�Ga�����a+>�n;��tJ�$f�B�
                                           �|0�����a����������:b2T�7libdl.so.2dlsymdlerrordlopenlibz.so.1inflateEndinflatezlibVersioninflateInit_libm.so.6sqrtlibc.so.6tolowergetenvfwritetouppermemcpystpcpyreallocvfprintfreadlinkstrcatfeofrealpathremovermdirstrcasecmpmkdtempmkdirmallocstrrchrstrlenopendir_IO_stdin_usedexecvstrncasecmpfdopensetbufwaitgetpidstdoutmemmovefclosefreadstrncatfopenfgetcstderrstrtok__libc_start_mainfilenovprintfclosedir__xpg_basenamefputcfgetsferrorstrncpyunsetenvunlinkfflushmemsetqsortmkstempmemcmpvsnprintfsprintfclearerrstdinfseekexitrenameforkraisestrstrstrcmpftellfreereaddirstrchrfchmodisspacestrdupntohlexecvpsignalstrcpykill__xstat_edata__bss_start_end__gmon_start__native_linker_pathlsb_linker_pathGLIBC_2.2.5GLIBC_2.3Wui   � �a(�a   �fii
                          0�a��a8�a%��a
                                           ��a.X�a�a(h�a)p�a*x�a+��a,�a-��a/��a0��a1��a2��a3��a4��a5ȳa6гa7سa8��a9��a:��a<��a=�a�a?�a@�aA �aB(�aC0�aD8�aE@�aFH�aGP�aHX�aIH���H���5�!�%$�!@�%�!h������%�!h������%�!h������%
�!h������%�!h������%��!h������%��!h������%��!h�p����%��!�����%Z�!h�P����%R�!h�@����%J�!h�0����%B�!h� ����%:�!h�����%2�!h�����%*�!h������%�!h: Directory nonexistent
./PyLNP: 6: ELF: not found
./PyLNP: 8: Syntax error: "(" unexpected
[WARNING] startlnp: Failed to start PyLNP
travis@crunchbang:~/downloads/LinuxLNP-0.43.05-r06$

It's probley because I'm using Crunchbang Linux 2.6.32-5-686

It's an older COMPAQ desktop that used to have WinXP Home on it, but the recovery discs never worked and it has no internet connection (I'm at the library right now), so if there is something I have to d/l I need to be able to put it on my 8gb flashdrive.

EDIT: I guess I'm missing some things, trying to find them all and download them is takeing a while, like I said I can't just enter a command and get them all at once, and I dont think the library would appreciate me bringing my whole desktop over just to use the internet, lol! I might have managed to do it, not sure yet. Would it be possible to just include these (Libraries/Binaries/Programs or whatever they are?) in the package itself for people like me who have no regular internet access?
Title: Re: LinuxLNP - 0.43.05 x64
Post by: moozaad on September 02, 2017, 02:40:05 pm
Bizarre issue in opensuse tumbleweed - not had it in previous versions. Therapist doesn't populate it's grid properly - it's either empty or showing the results for the wrong tab. If I keep adding tabs, eventually it'll get the right layout after about the third or fourth. Not sure if relevant but TW is on mono 5.2. There's no errors in the logs.

Also please add Meph's gfx! http://dffd.bay12games.com/file.php?id=12516

also also /usr/sbin/getcap not /sbin/getcap. `whereis getcap` returns the correct one. It seems to work fine without it --- correcting it doesn't fix the therapist issue.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Mesa on September 12, 2017, 01:03:35 am
So I'm on Arch Linux x64 but unless I'm being the world's biggest idiot, I don't seem to have (almost) any of the utilities that are allegedly bundled with this?
The only one that seems to be there is dfannouncementfilter and even then I had to enable it by removing it from the excludes.txt list.

For all I know it's got to do with the AUR package...

Also I can't seem to be able to get a terminal to work (at least, when setting one, though I assume that extends to trying to run one 'in practice' as well) - whether it's xterm or xfce4-terminal (the one I would much prefer to get working since I'm using Xfce), I get an unknown error (which is hardly helpful).


I swear I'm fairly tech-savvy most of the time, but right now I'm largely confused here, so sorry if this is elementary knowledge that I'm just missing in a spectacular way or something...

EDIT: Alright, disregard the terminal issue (though xterm is still the one that pops up when DFHacks prompts me for a password to access DF data, but everything else seems to run with xfce-terminal). Still confused about the utilities though.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Burneddi on September 30, 2017, 07:55:56 am
distro_fixes.sh seems to have some bug in it:
Code: [Select]
[distro_fixes] [INFO] Checking whether any distro specific fixes are required...
./distro_fixes.sh: line 57: [: /home/eru/Dwarf: binary operator expected

I think it might be related to spaces in the game folder name, as mine is /home/eru/Dwarf Fortress/LinuxLNP-0.43.05-r06/.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: vetsin on September 30, 2017, 09:02:50 pm
So I'm on Arch Linux x64 but unless I'm being the world's biggest idiot, I don't seem to have (almost) any of the utilities that are allegedly bundled with this?
The only one that seems to be there is dfannouncementfilter and even then I had to enable it by removing it from the excludes.txt list.

For all I know it's got to do with the AUR package...

Also I can't seem to be able to get a terminal to work (at least, when setting one, though I assume that extends to trying to run one 'in practice' as well) - whether it's xterm or xfce4-terminal (the one I would much prefer to get working since I'm using Xfce), I get an unknown error (which is hardly helpful).


I swear I'm fairly tech-savvy most of the time, but right now I'm largely confused here, so sorry if this is elementary knowledge that I'm just missing in a spectacular way or something...

EDIT: Alright, disregard the terminal issue (though xterm is still the one that pops up when DFHacks prompts me for a password to access DF data, but everything else seems to run with xfce-terminal). Still confused about the utilities though.

Don't know why, but as an XFCE user I went and used `xterm -e $` as the custom terminal command.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: shmizza on October 01, 2017, 02:56:24 pm
hey! thanx enay for all the work! but …

new setup, mint kde 18.2, fresh install.
downloading linuxlnp
installing xterm –> run startlnp in console

the pylnp window pops up, everything seems in order.

i press "play dwarf fortress!". and get (from the pylnp output log): 

Code: [Select]
[ftp]Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/Tkinter", line 1532, in __call__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 52, in run_df
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 93, in run_program
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.terminal", line 38, in get_terminal_command
TypeError: coercing to Unicode: need string or buffer, list found[/ftp]

when i run startlnp in the generic kde-console, i get the same there.

whats wrong?

thanks in advance for your collective wisdom.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: wuphonsreach on October 22, 2017, 06:32:54 pm
Wishlist item: The ability to specify the windowed font differently from the full-screen font.

In window mode, I like to use a non-square tileset (Vector_square_48x72.png) because it makes it a lot easier to read text descriptions like dwarven thoughts.  But then I switch back to a square font (Nagidal24x24shadeBeards.png) in full-screen mode for gameplay (easy switch with F11).
Title: Re: LinuxLNP - 0.43.05 x64
Post by: MoonyTheHuman on October 24, 2017, 12:06:16 pm
Request: Python 3 support.
Arch Linux (the distro i use at the moment) uses Python3 by default, and requires a bit of hackiness to make use python2.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: p0m1d0rka on November 12, 2017, 03:55:19 pm
hey! thanx enay for all the work! but …

new setup, mint kde 18.2, fresh install.
downloading linuxlnp
installing xterm –> run startlnp in console

the pylnp window pops up, everything seems in order.

i press "play dwarf fortress!". and get (from the pylnp output log): 

Code: [Select]
[ftp]Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/Tkinter", line 1532, in __call__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 52, in run_df
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 93, in run_program
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.terminal", line 38, in get_terminal_command
TypeError: coercing to Unicode: need string or buffer, list found[/ftp]

when i run startlnp in the generic kde-console, i get the same there.

whats wrong?

thanks in advance for your collective wisdom.
have a same error. Any tips?

---------------------------------
Did not saw an errors page on github. sorry = (
https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/wiki/Common-Errors
Title: Re: LinuxLNP - 0.43.05 x64
Post by: lethosor on November 18, 2017, 04:16:23 pm
Request: Python 3 support.
Arch Linux (the distro i use at the moment) uses Python3 by default, and requires a bit of hackiness to make use python2.
In what, PyLNP? PyLNP supports Python 3, although precompiled versions might use Python 2 (but I wouldn't expect them to require your system to have Python 2 available). At any rate, that's probably something to mention in the PyLNP thread, since it isn't specific to this pack.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Pidgeot on November 23, 2017, 05:03:07 am
Request: Python 3 support.
Arch Linux (the distro i use at the moment) uses Python3 by default, and requires a bit of hackiness to make use python2.
In what, PyLNP? PyLNP supports Python 3, although precompiled versions might use Python 2 (but I wouldn't expect them to require your system to have Python 2 available). At any rate, that's probably something to mention in the PyLNP thread, since it isn't specific to this pack.

The precompiled versions do not require an existing Python installation.

There was a compatibility issue I missed in a recent change, so if you weren't using the tagged versions you would run into issues from that. It's been fixed now, though, so it should all be good now.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: p0m1d0rka on November 24, 2017, 05:58:12 am
Hello!
will the version update to 44.xx ?
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Enay on November 26, 2017, 03:35:51 pm
Download HERE (http://dffd.bay12games.com/file.php?id=12762)

As mentioned in the title, this is the final release of the 0.43.05 Linux LNP.  I'll get started working on the 0.44 LNP as soon as Toady makes it available.

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon (https://www.patreon.com/enay) page and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Major changes over previous revision:

Minor changes over previous revision:

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=12762)
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Enay on November 26, 2017, 03:38:20 pm
Hello!
will the version update to 44.xx ?
Toady had trouble with his Linux box and has been unable to release the new Linux build.  Once he does, I'll get started on the barebones LNP straight away.
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: rmblr on November 28, 2017, 06:54:35 am
Enay, the Linux build for 0.44.02 is up now, as well as DT (https://github.com/Dwarf-Therapist/Dwarf-Therapist)

Should make for a pretty good first release of LinuxLNP for 0.44.x!

By the way, in case you haven't seen it PeridexisErrant has a great python tool for building starter packs at https://github.com/PeridexisErrant/starter-pack

I've used it to build a linux lnp locally, and it works nicely and automates nearly all the things!
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Enay on November 28, 2017, 09:31:03 pm
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

Here it is, the artifact release!
While we're waiting for DFhack to get updated to support 0.44.02, I had to remove Armok Vision, TWBT, and the GemSet graphics pack, as they all rely on DFhack.

I've included Dwarf Therapist, but don't yet have a working memory layout for it to work with the new version of DF. I'll probably update this pack when the memory layout becomes available. If you find they layout before I update, however, you can put it in LNP/utilities/dwarf_therapist/share/dwarftherapist/memory_layouts/linux

A WORD OF WARNING
The included graphics packs aren't yet fully updated for 0.44.02 yet, so there may be weirdness.  Backup your saves before applying graphics packs, as they could potentially get corrupted.

SHAMELESS SELF-PROMOTION ;D
If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee. Or a beer. Or a sammich. I'm really not picky.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: jecowa on November 28, 2017, 10:25:11 pm
Sorry, I forgot to update Afro, so Don't use Afro in RC1. All the other graphics packs included all look good, though. Afro is updated on the repo now, so hopefully it will be fixed in the next candidate.
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Enay on November 28, 2017, 11:50:25 pm
Sorry, I forgot to update Afro, so Don't use Afro in RC1. All the other graphics packs included all look good, though. Afro is updated on the repo now, so hopefully it will be fixed in the next candidate.

Thanks for the update. I'll make sure to pull the latest commits before putting up the next revision.
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Podesta on November 29, 2017, 05:36:41 pm
Great update as always. Just a quick question, does removing the folder completely removes everything, or does it and some utility create folders/files around?
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Enay on November 29, 2017, 08:25:04 pm
Great update as always. Just a quick question, does removing the folder completely removes everything, or does it and some utility create folders/files around?

I'm not sure I follow you. What folder are you trying to remove exactly?
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: p0m1d0rka on November 30, 2017, 01:46:07 am
ty for update.
Working fine, but waiting for dfhack and terapist.
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Podesta on November 30, 2017, 05:59:02 am
I'm sorry, I should have made myself more clear. In the past, I used to build the tools myself, though it has been quite awhile. If I remember correctly, some of them, like Dwarf Therapist, created folders in /usr, etc.. What I'm asking is if, with LNP everything is self contained inside the LinuxLNP folder, or in the future, I will still have to go looking for a few leftover files in places other than the LinuxLNP folder.
Title: Re: LinuxLNP - 0.43.05 x64 FINAL
Post by: Enay on November 30, 2017, 06:59:03 pm
I'm sorry, I should have made myself more clear. In the past, I used to build the tools myself, though it has been quite awhile. If I remember correctly, some of them, like Dwarf Therapist, created folders in /usr, etc.. What I'm asking is if, with LNP everything is self contained inside the LinuxLNP folder, or in the future, I will still have to go looking for a few leftover files in places other than the LinuxLNP folder.

Oh now I understand.  Yes, everything is self contained within the LNP. 
Title: Re: LinuxLNP - 0.44.02-rc1 x64
Post by: Podesta on December 02, 2017, 07:11:15 pm
Thanks for clarifying!

Just as a heads up if someone is facing similar issues. On the final version of LNP 0.43.05 I was getting the following problem:
Code: [Select]
TWBT: data/art/white1px.png not found, can not continue
Plugin twbt has failed to initialize properly.
And also with the file transparent1px.png . Consequently, Text Will Be Text was not starting, and therefore not working.
Somebody was having a similar issue on the windows version earlier last month: http://www.bay12forums.com/smf/index.php?topic=126076.4560

To fix the issue you can go into the TWBT github page and download any of the releases .zip files: https://github.com/mifki/df-twbt/releases
Open the zip, and export both the white1px.png and transparent1px.png into the LinuxLNP-0.43.05-r07/df_linux/data/art folder. If it claims some other file is missing just do the same.
Title: Re: LinuxLNP - 0.44.02-rc1 x64
Post by: Enay on December 03, 2017, 01:34:10 pm
Experimental memory layouts for dwarf therapist are available from here:

http://www.bay12forums.com/smf/index.php?topic=168411.msg7633700#msg7633700

I'll try to get it incorporated into the lnp tonight and put out a new revision. But feel free to download the file yourself and put it in the directory I mentioned in the release announcement. Keep in mind that these are experimental and therefore may not be fully compatible yet.
Title: Re: LinuxLNP - 0.44.02-rc1 x64
Post by: Enay on December 03, 2017, 11:00:06 pm
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

Here it is, the artifact release!
While we're waiting for DFhack to get updated to support 0.44.02, I had to remove Armok Vision, TWBT, and the GemSet graphics pack, as they all rely on DFhack.

I've included Dwarf Therapist along with experimental memory layouts that seem to be working great for 0.44.02.

I've also updated legends browser to version 1.15 and updated the graphics packs.

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.44.02-rc2 x64
Post by: carkasjak on December 07, 2017, 05:43:20 pm
Thanks a lot for this.

Dwarf Therapist is mostly working for me, though I did have it crash upon attempting to rename one specific dwarf.
Title: Re: LinuxLNP - 0.44.02-rc3 x64
Post by: Enay on December 08, 2017, 01:14:44 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.44.02-rc2 x64
Post by: feelotraveller on December 08, 2017, 06:40:26 am
Dwarf Therapist is mostly working for me, though I did have it crash upon attempting to rename one specific dwarf.

This is worth reporting here http://www.bay12forums.com/smf/index.php?topic=168411.0 (http://www.bay12forums.com/smf/index.php?topic=168411.0) particularly if you can reproduce it or provide terminal output.
Title: Re: LinuxLNP - 0.44.02-rc3 x64
Post by: Enay on December 10, 2017, 08:07:40 am
Now with TWBT!!

Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.44.03-rc2 x64
Post by: Enay on December 31, 2017, 09:27:41 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.44.03-rc1 x64
Post by: Enay on December 31, 2017, 06:45:44 pm
I uploaded before I realized I didn't include the latest version of Meph's tileset.  That will be coming as soon as TWBT is updated for the latest DFHack.

EDIT: Done.  It's getting uploaded to DFFD now.
Title: Error when launching LNP
Post by: paxy97 on January 04, 2018, 09:37:02 am
Yesterday I played the latest version just fine, but today when I tried to run it I got this error and stack trace:

Code: [Select]
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 119, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 212, in initialize_ui
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.tkgui", line 142, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkMessageBox", line 83, in showinfo
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkMessageBox", line 72, in _show
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkCommonDialog", line 48, in show
_tkinter.TclError: expected integer but got "Nerd"
[WARNING] startlnp: Failed to start PyLNP

I don't remember changing anything on my system, but even after downloading a fresh copy of the pack I still get the error. I found nothing related to this error on google and have no idea what it might be.

Any help is appreaciated, thanks
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: Enay on January 14, 2018, 12:59:29 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 19, 2018, 10:49:04 am
Quote
To Run: Simply execute the included startlnp script.

I am confused. There is no such file, unless you mean df file. Running it just runs dwarf fortress.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: jecowa on January 19, 2018, 11:04:41 am
It's a 2 KB script named "startlnp". It's in the directory above the one with the "df" script.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 19, 2018, 11:56:20 am
Somehow it wasn't visible in ubuntu explorer and with ls, hidden files were on. I can see it in windows though.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 19, 2018, 12:03:14 pm
Does that mean when you look at the folder on Windows, or if you extract it again? Have you tried extracting the pack on Linux again to see if the startlnp script shows up?
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 19, 2018, 12:25:33 pm
Extracting in linux produced folder without some files. Converting to zip and extracting in win worked fine.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: jecowa on January 19, 2018, 12:59:53 pm
I wonder what's different about the startlnp script from the df script that makes it not get extracted or whatevers happening.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 19, 2018, 01:01:15 pm
Is that happening consistently or just once? How did you convert the file without extracting it?
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 19, 2018, 01:04:25 pm
It isn't only startlnp, turns out I could only see df_linux folder. It is consistent. I converted it online.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 19, 2018, 01:12:17 pm
Okay, something is probably wrong with whatever you're using to extract it, then. What if you use something else?
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 19, 2018, 01:20:53 pm
Sorry, I don't know other ways to extract archives in linux. I tried doing it with default Archive Manager and with bzip2.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: jecowa on January 19, 2018, 01:55:30 pm
My theory is that there's not a root folder that all the files are in, so they get spewd across the downloads folder. The other files are there, but are being overlooked because they weren't placed into a folder after extraction. This confused me with Meph's pack earlier. To fix it, I started placing the rar file into a new folder before extraction.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 19, 2018, 02:01:16 pm
In that case, though, startlnp should exist, but apparently it doesn't.
Can you list the files in the archive without extracting it? "tar tf" should be able to do that.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: vvAve on January 20, 2018, 09:07:12 am
Here. I am using Pop!_OS 17.10 btw.
Spoiler (click to show/hide)
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 20, 2018, 10:14:19 am
From the filename and contents, that looks like just the DF archive downloaded from Bay 12's site, not a pack.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: strainer on January 31, 2018, 06:15:42 pm
Here is an amazing new labor manager plugin compiled for this pack:
https://github.com/strainer/dfhack/tree/develop/build/feb_df4405 (https://github.com/strainer/dfhack/tree/develop/build/feb_df4405)

Its called Cavern Keeper, described here:
http://www.bay12forums.com/smf/index.php?topic=169329.msg7680989 (http://www.bay12forums.com/smf/index.php?topic=169329.msg7680989)
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: lethosor on January 31, 2018, 06:52:37 pm
You should probably make a release in your fork for that instead of storing binaries in the repo.
Title: Re: LinuxLNP - 0.44.05-rc1 x64
Post by: strainer on January 31, 2018, 08:03:41 pm
You should probably make a release in your fork for that instead of storing binaries in the repo.

I will sort out the repo when I have some time to, but github wont mind - the binary is only 300k, that's only 100k larger than the source file.

Its running perfectly stable for me in this LNP and its REALLY good, so Im sharing it as well as I can for now.

https://github.com/strainer/dfhack/tree/develop/build/feb_df4405 (https://github.com/strainer/dfhack/tree/develop/build/feb_df4405)
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Enay on February 06, 2018, 02:33:11 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: vallode on February 06, 2018, 07:00:22 am
Cheers bud, much appreciated!
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Thuellai on February 07, 2018, 07:20:18 pm
I'm just getting file not found errors for tilesets no matter what I do, checked the bug tracker and the solutions listed there didn't work
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: lethosor on February 07, 2018, 08:01:13 pm
I'm just getting file not found errors for tilesets no matter what I do, checked the bug tracker and the solutions listed there didn't work
More details would help. What exactly are the errors? What is reporting them (PyLNP, DF, something else)?
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: moondowner on February 21, 2018, 05:02:07 pm
LNP 0.44.0.5-r01 reliably crashes on embark here on Ubuntu Mate 16.04  :(
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: lethosor on February 21, 2018, 08:13:33 pm
Have you tried another world? Disabling TWBT?
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: moondowner on February 22, 2018, 05:48:46 am
Have you tried another world?

Yes

Disabling TWBT?

No. I'll try when I get home.
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: moondowner on February 23, 2018, 01:18:14 pm
Weeeird. Switched to 2D - still crashed. Switched to STANDARD - was finally able to embark. Then switched back to TWBT - now it works as well (including creating new worlds).
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Enay on March 03, 2018, 01:21:47 am
I was able to reproduce this issue, but it seems to be working with the new revision I'm currently uploading.  Please let me know if it works for you.
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Enay on March 03, 2018, 01:49:02 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Clément on March 24, 2018, 09:22:24 am
Hi, I am the maintainer of Dwarf Therapist. For solving an issue with where the updater saves the downloaded memory layouts. I need to change how DT look up for data files. The simplest solution is to rely only QStandardPaths to get the directories to search (and write to).

This will particularly affects the LinuxLNP as QStandardPaths does not contains any path relative to the application directory (only XDG_DATA_DIRS + XDG_DATA_HOME). I propose two solutions:
Would any of this fit LinuxLNP use case? What would you prefer? Do you have any recommendations?

I also posted about this in DT thread (http://www.bay12forums.com/smf/index.php?topic=168411.msg7717978#msg7717978).

Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Enay on April 09, 2018, 12:57:08 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: TV4Fun on April 11, 2018, 06:57:21 pm
For some reason, only a few of the graphics sets are being listed, even though they're all in the LNP/graphics directory. This is on Ubuntu 18.04
Spoiler (click to show/hide)
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 12, 2018, 11:45:42 am
i'm on linux mint here, cannot start soundsense through the LNP.
which files do i have to execute manually (trying to figure out packages i might be missing)?
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 12, 2018, 12:12:37 pm
If you start the LNP from a terminal by running ./startlnp in its root: then when you doubleclick soundsense in the utilities tab you can see the messages/errors logged to the terminal.
You can also start soundsense without starting LNP, by cd'ing to /LNP/utilities/soundsense and running ./soundSense.sh
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 12, 2018, 12:19:13 pm
If you start the LNP from a terminal by running ./startlnp in its root: then when you doubleclick soundsense in the utilities tab you can see the messages/errors logged to the terminal.
You can also start soundsense without starting LNP, by cd'ing to /LNP/utilities/soundsense and running ./soundSense.sh
:) thanks. found out that java wasn't installed - although it should already be... strange. reinstalling java and trying again.
EDIT: it works now. thanks.
EDIT2: soundsense now works, but DF crashes under wine... so can i just copy the contents of Mephs DF over into the linuxLNP?
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: TV4Fun on April 12, 2018, 04:33:39 pm
For some reason, only a few of the graphics sets are being listed, even though they're all in the LNP/graphics directory. This is on Ubuntu 18.04
Spoiler (click to show/hide)
To answer my own question, I think this is because the manifests for the other graphics packs don't list themselves as compatible with 44.09. For example, the manifest for Phoebus only lists it as compatible with 44.07.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 12, 2018, 04:51:48 pm
Quote from: Pvt. Pirate
can i just copy the contents of Mephs DF over into the linuxLNP
Hmm, I expect there will be a couple of config files to merge as well as the game save and graphic sets, so you could maybe compare the packs with something like winmerge or kdiff to examine differences in the init.txt type of files - ive yet to look into it all properly.

Quote from: TV4Fun
this is because the manifests for the other graphics packs don't list themselves as compatible with 44.09. For example, the manifest for Phoebus only lists it as compatible with 44.07.
Well noted TV4Fun - I didnt notice because Phoebus is the installed set, but it is missing from the custom list as well as others.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 13, 2018, 03:48:29 am
as long as it's only the inits, they contain little changes i can easily do manually - i 'm rather afraid if the changes in the raws will be compatible with the new game version. (mephs is 44.07 and LNP 44.09)
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 16, 2018, 01:34:21 pm
i used your LNP (and finally got it up and running), checked and it worked. then made a copy and then migrated the raws, art and init from my previous mephs-pack in. just saw this:
"Can't load plugin 3dveins
TWBT: version 6.41
TWBT: no display patch (not an error)
Can't load plugin stonesense
Can't load plugin rendermax"
i don't knwo 3dveins... didn't knwo i activated it either. maybe yopying mephs in there might have it listed.
not using stonesense here.
whats rendermax?
will this conflict?
main screen loaded fine. creating a world now...
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: lethosor on April 16, 2018, 01:39:23 pm
Can you post the contents of your stderr.log file?
Are you saying that you copied over 3dveins/rendermax from Meph's pack?
All plugins are loaded when DFHack starts, which is when the messages you see are being printed. You don't have to do anything to make that happen, and they will be loaded even if they are disabled (in fact, they are all disabled until something enables them, like dfhack.init or someone running commands at the console).
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 16, 2018, 03:43:26 pm
i don't know why, but on the second try it just worked without error.
erm stderr.log is too big now... played1 hour...
i'll upload a log with only until main menu.
no, i didn't copy in any dfhack stuff.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Lohakar on April 19, 2018, 02:33:01 am
I tried this "pack" last Sunday.
I chose a place on the edge of the polar region. Frozen lake, two frozen rivers. All the year! Ice never thaw. No liquid water.
I like it. No wood, penguins, skates, winter sports, icecream all the year, you know :-)

To my BIG surprise this map was full of differents trees. Ok, but... Persimmons, chestnuts, honeybees, termites!
Hm. Life from "Any temperate" and surface water from "Freezing" .
Hm. Procedurally generated climate, maybe...


A small question:
A am able to pick and collect persimmons, acorns, but chestnut burrs remain intact.
Why?
What I am doing wrong?
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: dan84 on April 25, 2018, 06:31:20 pm
Linux Mint 18.3 x86_64
Running PyLNP 0.13 (OS: linux, Compiled: True)
LinuxLNP-0.44-09-r01

Two things to note:

1.  Many of the graphics packs are only set for a max version 0.44.07 and so will not show up when the game is run.  I had to go into the LNP/graphics directory and modify each pack's manifest.json to 0.44.09.  Does simply removing the max version also work?
2.  stonesense does not work (P.S. this is the likely root cause of Pvt. Pirate's problem above).  Looking at df_hack/stderr.log, I see
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/dan/Games/LinuxLNP-0.44.09-r01/df_linux/hack/plugins/stonesense.plug.so)

This is the std C library used by most of the Debian-based linux distros (Ubuntu, Mint, etc).  It means stonesense was compiled with the 2.27 version of GLIBC.  Most Ubuntu and Mint distros are built with older versions:
mine, for example (mint is based on ubuntu):
ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23

Not sure what the way forward is, but whomever is compiling stonesense, it would be good if you could compile it with an older compiler.  I am not sure what the recommendation is, but someone is going to have to recompile it.  If I do, can I just add it into df_linux?
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: lethosor on April 25, 2018, 11:09:38 pm
BenLubar is aware of the issue and the GCC 4.8 build of DFHack will be more compatible in the next version: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/52#issuecomment-384182937 . It's actually because he's building on a newer Ubuntu (18.04), although if this pack distributes the GCC 7 build, that could be problematic.

Can you tell what version of GCC yours was built with? At the very least, running libdfhack.so through strings should give some GCC paths. Either 4.8 or 7.3 (7.2? 7?) should show up somewhere.

Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 26, 2018, 05:15:52 am
Linux Mint 18.3 x86_64
Running PyLNP 0.13 (OS: linux, Compiled: True)
LinuxLNP-0.44-09-r01

Two things to note:

1.  Many of the graphics packs are only set for a max version 0.44.07 and so will not show up when the game is run.  I had to go into the LNP/graphics directory and modify each pack's manifest.json to 0.44.09.  Does simply removing the max version also work?
2.  stonesense does not work (P.S. this is the likely root cause of Pvt. Pirate's problem above).  Looking at df_hack/stderr.log, I see
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/dan/Games/LinuxLNP-0.44.09-r01/df_linux/hack/plugins/stonesense.plug.so)

This is the std C library used by most of the Debian-based linux distros (Ubuntu, Mint, etc).  It means stonesense was compiled with the 2.27 version of GLIBC.  Most Ubuntu and Mint distros are built with older versions:
mine, for example (mint is based on ubuntu):
ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23

Not sure what the way forward is, but whomever is compiling stonesense, it would be good if you could compile it with an older compiler.  I am not sure what the recommendation is, but someone is going to have to recompile it.  If I do, can I just add it into df_linux?
hmmm i still don't understand enough about linux to see how i could get stonesense to run, but obviously the dfhack-plugin for stonesense is causing some of the problems.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: dan84 on April 26, 2018, 08:27:35 am
BenLubar is aware of the issue and the GCC 4.8 build of DFHack will be more compatible in the next version: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/52#issuecomment-384182937 . It's actually because he's building on a newer Ubuntu (18.04), although if this pack distributes the GCC 7 build, that could be problematic.

Can you tell what version of GCC yours was built with? At the very least, running libdfhack.so through strings should give some GCC paths. Either 4.8 or 7.3 (7.2? 7?) should show up somewhere.

$ strings -a libdfhack.so | grep GCC
GCC_3.0
GCC: (Ubuntu 4.8.5-4ubuntu8) 4.8.5
_Unwind_Resume@@GCC_3.0

libc on my box:
$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.23-0ubuntu10) stable release version 2.23, by Roland McGrath et al.

dfhack executable:
~/Games/LinuxLNP-0.44.09-r01/df_linux/hack$ strings -a dfhack-run | grep GLIBC
GLIBCXX_3.4
GLIBC_2.2.5
GLIBC_2.3.4

stonesense itself:~/Games/LinuxLNP-0.44.09-r01/df_linux/hack/plugins$ strings -a stonesense.plug.so | grep GLIBC
GLIBC_2.27
GLIBC_2.2.5
GLIBC_2.4
GLIBC_2.3.4
GLIBC_2.3
GLIBC_2.14
GLIBCXX_3.4.9
GLIBCXX_3.4.11
GLIBCXX_3.4


Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: dan84 on April 26, 2018, 08:30:50 am
hmmm i still don't understand enough about linux to see how i could get stonesense to run, but obviously the dfhack-plugin for stonesense is causing some of the problems.

You can't (without some advanced linux understanding) until it gets compiled differently.  The problem is that whomever is building this distribution is using more modern libraries that what we have on our distros of ubuntu and mint.

Another solution might be to stick this whole build on github or bitbucket or something and let us build it from source on our own machines.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: Pvt. Pirate on April 26, 2018, 10:51:06 am
hmmm i still don't understand enough about linux to see how i could get stonesense to run, but obviously the dfhack-plugin for stonesense is causing some of the problems.

You can't (without some advanced linux understanding) until it gets compiled differently.  The problem is that whomever is building this distribution is using more modern libraries that what we have on our distros of ubuntu and mint.

Another solution might be to stick this whole build on github or bitbucket or something and let us build it from source on our own machines.
about which i know even less.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: dan84 on April 27, 2018, 01:51:12 pm
Ok, I compiled stonesense myself and got it to work.

Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 27, 2018, 05:19:04 pm
Thats great dan84, could you attach the plugin here?
I think ive got opengl drivers installed...
Your build config tweaks should be of interest to someone, perhaps put them down here or in dfhacks topic (http://www.bay12forums.com/smf/index.php?topic=164123.1000).
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: lethosor on April 27, 2018, 08:45:04 pm
As I said in my post above, we are aware of the issue, and the next release of DFHack should address it by using an older OS. It didn't sound to me like Dan84 made any "build config tweaks" besides configuring a build normally.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 27, 2018, 09:02:28 pm
whatever "lethosor"
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: lethosor on April 27, 2018, 09:11:29 pm
whatever "lethosor"
It sounded to me like you thought Dan84 made some undocumented changes that would be useful for DFHack people to know about, which I don't think is the case, but there's a possibility I'm wrong on both counts. I'm sorry if I offended you.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 27, 2018, 10:07:11 pm
Apologies, its not personal. A tendency to be dismissive when theres no need comes across. Dan84 mentioned needing to make changes, why not see if there were any of interest? Or just ignore the conversation, its less bother than shutting me down.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: dan84 on April 29, 2018, 12:35:51 am
Nothing magic, just a normal build.  You just have to read the details on the dfhack documentation page, apt install numerous libraries for stonesense and also enable the stonesense build.  Then copy the file to the right place.  I just posted in case someone wanted to get it to work before the next build is out.
Title: Re: LinuxLNP STABLE - 0.44.09-r01 x64
Post by: strainer on April 29, 2018, 10:13:23 am
Glad to hear it, from the horses mouth  :P
Title: Re: LinuxLNP STABLE - 0.44.05-r01 x64
Post by: Clément on May 01, 2018, 11:19:00 am
Hi, I am the maintainer of Dwarf Therapist. For solving an issue with where the updater saves the downloaded memory layouts. I need to change how DT look up for data files. The simplest solution is to rely only QStandardPaths to get the directories to search (and write to).

This will particularly affects the LinuxLNP as QStandardPaths does not contains any path relative to the application directory (only XDG_DATA_DIRS + XDG_DATA_HOME). I propose two solutions:
  • Use the XDG environment variables (https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html). Add DT path inside the LNP in XDG_DATA_DIRS. Updated memory layouts will be written in XDG_DATA_HOME and settings in XDG_CONFIG_HOME.
  • I am thinking about adding a portable mode (enabled at run-time or build time) where, instead of using QStandardPaths, DT would only look for (and write) files in its own directory. It would require DT directory to be writable.

Would any of this fit LinuxLNP use case? What would you prefer? Do you have any recommendations?

I also posted about this in DT thread (http://www.bay12forums.com/smf/index.php?topic=168411.msg7717978#msg7717978).
No reaction to that? Proposed changed are in this pull request (https://github.com/Dwarf-Therapist/Dwarf-Therapist/pull/77)

I would also like to know if any of these solutions (http://www.bay12forums.com/smf/index.php?topic=168411.msg7742913#msg7742913) would be acceptable to replace the launcher script that uses (gk)sudo and does not work very well.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Enay on May 20, 2018, 07:59:08 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

NOTE REGARDING CHANGES IN DWARF THERAPIST
This version of Dwarf Therapist has changed the location of the config file.  To keep your old settings, move
Code: [Select]
~/.config/UDP Software/Dwarf Therapist.ini to
Code: [Select]
~/.config/dwarftherapist/dwarftherapist.ini
Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Pvt. Pirate on May 20, 2018, 12:08:43 pm
woohoo new version! going to try it out.
44.09 had bugs with "twbt redrawall 1" - at least it didn't just crash...

how can i start it without using the launcher?
i only need it as a basis so i can use stuff from mephs pack, but most of the necessary changes i do to the files are reverted by the launcher.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: carewolf on June 26, 2018, 02:14:01 pm
0.44.11? Yay.... I hope
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Elderon on July 02, 2018, 04:12:20 am
0.44.11? Yay.... I hope

As i understand, new LNP comes when all it's components are in stable state. Considering that DFhack is only in alpha (it was put together surprisingly fast, I might add. Kudos to its developers) i wouldn't hold my breath.
But nothing is stopping you to put together essential parts for your self. DFHack and therapist are already available, just make sure to make regular save backup :)
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: bool1989 on July 10, 2018, 11:25:36 pm
how do you execute startlnp?
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: strainer on July 11, 2018, 06:05:12 am
If you're in its directory just type ./startlnp
If youre not there type its path like ~/games/LNP/startlnp
Afaik this is necessary to run scripts on linux, just typing their name doesnt run them, they need a little path included. ( ./ - means 'the one here')
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: bool1989 on July 11, 2018, 05:51:40 pm
Thank you
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: lethosor on July 11, 2018, 06:58:16 pm
I'm somewhat late, but most desktop environments should allow you to run startlnp like any other program (double-clicking, etc.), if you prefer that method. I'm not sure if you tried that or not.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Clément on July 12, 2018, 02:37:57 am
Newer nautilus open scripts in a text editor instead of executing them. The best way to start a program from your desktop is to create .desktop file. You can use MenuLibre (https://bluesabre.org/projects/menulibre/) for that.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Pvt. Pirate on July 12, 2018, 10:58:25 am
can you write a linux launcher for mephs pack? i love the pack, but just copying his raws into the LNP and making changes to the configs, inits etc. doesn't work, because launching via LNPlauncher resets most of my manual changes.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: lethosor on July 12, 2018, 01:27:28 pm
Newer nautilus open scripts in a text editor instead of executing them. The best way to start a program from your desktop is to create .desktop file. You can use MenuLibre (https://bluesabre.org/projects/menulibre/) for that.
Bool1989 didn't say they were using Nautilus, and most desktop environments I've seen have an option to do both (launch and open in an editor). Opening an executable file in a text editor doesn't seem like a good default, but maybe there's a way to change that if it was indeed what was happening.

can you write a linux launcher for mephs pack? i love the pack, but just copying his raws into the LNP and making changes to the configs, inits etc. doesn't work, because launching via LNPlauncher resets most of my manual changes.
Where are you putting your changes? PyLNP has a specific process for installing mods, which requires them to go in separate folders. I'm not sure on the exact process, but I suggest reading the PyLNP readme for details.

In any case, "write a linux launcher for meph's pack" is a huge request, given how big MDF is. I'm assuming you're addressing it to Enay, who maintains this pack, but he didn't even write PyLNP, and hasn't contributed much to the launcher besides using it, as far as I know (although I could be entirely wrong - I haven't checked), so this doesn't seem like the appropriate thread in any case.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: strainer on July 12, 2018, 03:00:22 pm
Its true you can click on PyLNP, but the readme directs to ./startlnp bash script which checks/gets permission for therapist and sets the terminal choice for dfhack on first run.

edit - I see therapists check happens anyway. Maybe startlnp is not necessary anymore. I hadnt noticed yet the pack would run on PyLNP.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Pvt. Pirate on July 13, 2018, 08:52:11 am
can you write a linux launcher for mephs pack? i love the pack, but just copying his raws into the LNP and making changes to the configs, inits etc. doesn't work, because launching via LNPlauncher resets most of my manual changes.
Where are you putting your changes? PyLNP has a specific process for installing mods, which requires them to go in separate folders. I'm not sure on the exact process, but I suggest reading the PyLNP readme for details.

In any case, "write a linux launcher for meph's pack" is a huge request, given how big MDF is. I'm assuming you're addressing it to Enay, who maintains this pack, but he didn't even write PyLNP, and hasn't contributed much to the launcher besides using it, as far as I know (although I could be entirely wrong - I haven't checked), so this doesn't seem like the appropriate thread in any case.
i always make the changes directly in the DF-directory - i wouldn't know how to make them as options selectable from within the launcher. also there are a lot of options the launcher doesn't even show.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: lethosor on July 13, 2018, 11:31:24 am
Does "the launcher" mean PyLNP? PyLNP is designed to set DF options, and to enable/disable mods all at once, so of course it won't show MDF-specific options.

Anyway, http://pylnp.birdiesoft.dk/docs/dev/content.html covers mods in PyLNP. I'm not sure how helpful that is for you - you might have better luck talking to Meph about it.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Pvt. Pirate on July 13, 2018, 01:10:15 pm
the only problem is that i can't get it to run without the LNPlauncher and it resets stuff i change manually or that is set by meph's data i copy in.
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: lethosor on July 13, 2018, 03:32:31 pm
Why can't you get it to run without PyLNP? Does running the "dfhack" script on its own not work? Any errors?
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Enay on July 15, 2018, 09:08:00 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

NOTE REGARDING CHANGES IN DWARF THERAPIST
Custom roles or columns created since 40.0.0 using "Armor (any)" or "Clothing (any)" preferences are broken. Delete the preference from the role or grid view and re-add it again to fix them.

NOTE REGARDING GRAPHICS PACKS
At the time of upload, not all of the graphics packs have been officially updated for 44.12.  As far as I can tell, nothing *should* prevent them from working properly, but please let me know if you run into any problems with them.  I will release a revision once they have been fully updated, provided Toady hasn't pushed out 44.13 by that time.

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: n_ll on July 15, 2018, 11:47:23 pm
thanks enay!
Title: Re: LinuxLNP STABLE - 0.44.10-r01 x64
Post by: Pvt. Pirate on July 16, 2018, 08:55:21 am
Why can't you get it to run without PyLNP? Does running the "dfhack" script on its own not work? Any errors?
I tried exactly that and it just crashes immediately and if using the terminal to start dfhack, it says it couldn't be executed or something like that.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: lethosor on July 16, 2018, 09:07:12 am
Can you give the exact error message?
Anyway, I think "chmod +x ./dfhack" might help (when you're in the folder with the dfhack script). I'm not sure why it wouldn't be executable, though. Did you install the pack as a different user, e.g. as root (with sudo)?
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on July 17, 2018, 02:19:46 am
Can you give the exact error message?
Anyway, I think "chmod +x ./dfhack" might help (when you're in the folder with the dfhack script). I'm not sure why it wouldn't be executable, though. Did you install the pack as a different user, e.g. as root (with sudo)?
will do later today
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on July 17, 2018, 11:11:00 am
tried it, and it crashed on mainmenu.
stderr.log:
Spoiler (click to show/hide)

but i should try with the latest version and a clean one first.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: lethosor on July 17, 2018, 11:21:50 am
Try the GCC 4.8 build of DFHack instead.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on July 17, 2018, 01:57:33 pm
Try the GCC 4.8 build of DFHack instead.
the what? :D
can you guide me?
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: lethosor on July 17, 2018, 09:21:05 pm
On https://github.com/dfhack/dfhack/releases there are GCC 4.8 and 7 builds of DFHack. The GCC 7 builds don't work on some older systems, so try installing the GCC 4.8 one (pick 32-bit or 64-bit as appropriate). Installing over your existing hack folder should be fine, but make a backup copy first if you want - it should overwrite everything in the hack folder if you do it correctly.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on July 18, 2018, 08:30:43 am
On https://github.com/dfhack/dfhack/releases there are GCC 4.8 and 7 builds of DFHack. The GCC 7 builds don't work on some older systems, so try installing the GCC 4.8 one (pick 32-bit or 64-bit as appropriate). Installing over your existing hack folder should be fine, but make a backup copy first if you want - it should overwrite everything in the hack folder if you do it correctly.
thanks, will do.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: carewolf on July 18, 2018, 05:05:04 pm
Why is the fat-dwarf script still enabled by default? It seems the bug it was meant to work-around was fixed several years ago.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: grotball on July 18, 2018, 05:32:29 pm
I tried out the latest pack, tweaked a few of the common settings (population etc), and installed the MephLite pack, but it's a bit 'crashier' than I'm used to. I first had a hard crash during world gen (not too uncommon in past releases, second time worked OK), but got another crash upon embarking (after spending ages with their equipment!), and various other instability with Therapist - worked OK for a while, then a hard crash - no error logs than I can spot.

I'm not sure if this is a red herring (Linux Mint 18):

[distro_fixes] [WARN] 64bit 'Dwarf_Fortress' on unhandled 64bit OS detected. If you get 'missing file' errors, please open an issue on Github: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues.
[distro_fixes] [WARN] Could not find a 64-bit zlib

Though I'd expect the lack of a zlib library to cause a more consistent crash if not present and being relied on. Might be graphics pack related I guess, I'll extract the bundle and not install that and see if it's a bit more stable.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: carewolf on July 31, 2018, 12:15:19 pm
I tried out the latest pack, tweaked a few of the common settings (population etc), and installed the MephLite pack, but it's a bit 'crashier' than I'm used to. I first had a hard crash during world gen (not too uncommon in past releases, second time worked OK), but got another crash upon embarking (after spending ages with their equipment!), and various other instability with Therapist - worked OK for a while, then a hard crash - no error logs than I can spot.

I'm not sure if this is a red herring (Linux Mint 18):

[distro_fixes] [WARN] 64bit 'Dwarf_Fortress' on unhandled 64bit OS detected. If you get 'missing file' errors, please open an issue on Github: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues.
[distro_fixes] [WARN] Could not find a 64-bit zlib

Though I'd expect the lack of a zlib library to cause a more consistent crash if not present and being relied on. Might be graphics pack related I guess, I'll extract the bundle and not install that and see if it's a bit more stable.

I get crashes too with this version. I started the game using "./dfhack -g" (to make it run in gdb), and it appears it crashes after handling something in the twbt plugin. Try if you get the same.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Fleeting Frames on August 01, 2018, 03:31:09 am
I recall PatrikLundell constently reproduced the twbt on-embark crash if game window was higher than 67. Try resizing the game window to default size only for the time you embark.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Matt B on August 21, 2018, 03:04:37 am
I am new Linux and to DF on Linux, so please excuse me if this is all obvious.

I have a clean install of Mint 19 and downloaded the latest Linux LNP.  The pack started ok to the option screens but when I went to start DF a terminal window flashed up then instantly closed and I was back at the options screen.

After some searching, it turns out I needed some additional libraries.

https://askubuntu.com/questions/64765/i-downloaded-dwarf-fortress-why-wont-it-run had the same problem

sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386 libglu1-mesa:i386 libopenal1:i386

now DF runs fine, but I am still unable to start Dwarftherapist.  Another message message box, not a terminal window, appears but it disappears before I can understand it.

If anyone has any suggestions as to getting therapist working, or even getting the message to stick around long enough to read, I would be grateful.

 
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on August 23, 2018, 09:11:19 am
you have to start the LNP via terminal. that way you can directly read what crashed and the terminalwindow will stay open.
i'm on linux mint 18 here and had the same problems and installing the failed library calls will solve your problem.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: lethosor on August 23, 2018, 09:54:10 am
Depending on the terminal you're using, you might also be able to set it up so that windows don't automatically close (that'd be a terminal feature, though, and I'm not sure what terminal you're using).
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on August 23, 2018, 12:27:13 pm
in linux mint it usually works that way.
---
mousequery acting up again, not scrolling on right and lower screen border.
i know this is because i use a 5:4 screen... but there was a fix downloadable somewhere and i forgot where.
i really need to get my bookmarks sorted...
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on September 10, 2018, 01:18:45 pm
can you integrate a working clean version of mousequery from the original dfhack? the one currently included doesn't work and this fixed it last time.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: soul4hdwn on October 09, 2018, 06:01:33 pm
hi, not sure where to ask for help of my issue but i'm starting here because first time using lazy newb pack.

but... https://imgur.com/a/qieyBny in case don't want to look or the image is gone:  on load-up, DF only renders left side of game window... the right side is cut off as if someone dragged the game halfway off the screen to the right so only the left half is visible.

i was using linux for this, meph graphics lite.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on October 10, 2018, 07:00:11 am
hi, not sure where to ask for help of my issue but i'm starting here because first time using lazy newb pack.

but... https://imgur.com/a/qieyBny in case don't want to look or the image is gone:  on load-up, DF only renders left side of game window... the right side is cut off as if someone dragged the game halfway off the screen to the right so only the left half is visible.

i was using linux for this, meph graphics lite.
enter your screen resolution in the launcher.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: soul4hdwn on October 10, 2018, 01:43:12 pm
enter your screen resolution in the launcher.

thank you for the solution, kinda embarrassing when i left it at default 80x50 and it misbehaved excessively
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Pvt. Pirate on October 10, 2018, 03:48:30 pm
enter your screen resolution in the launcher.

thank you for the solution, kinda embarrassing when i left it at default 80x50 and it misbehaved excessively
i always have to correct that one to 1280x960 on my 5:4 screen too.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: ringringlingling on October 21, 2018, 06:17:26 pm
I haven't been able to get dwarf therapist to work.

So, i recently learned that ubuntu / debian no longer uses gksudo and instead uses something called policy kit.  I cludged a workaround for dwarf therapist by fiddling with the shell script, but it says i'm missing "libQTQml.so.5" from shared libraries which is a package in QT.
***
exact error message: /home/kevin/Downloads/LNP/LNP/utilities/dwarf_therapist/dwarftherapist: error while loading shared libraries: libQt5Qml.so.5: cannot open shared object file: No such file or directory

I ran this with and without dwarf fortress running, same error.

***
also tried installing latest version of QT, didn't work.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: feelotraveller on October 21, 2018, 07:13:31 pm
libQt5Qml.so.5 is provided by qt5-declarative. Assuming it is not already on your system try:

sudo apt-get install qtdeclarative5-dev

If/once that file is present and it still does not work it is a permissions issue (i.e. the workaround is not right...).  :)
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: ringringlingling on October 21, 2018, 07:51:36 pm
HA!  SUCCESS!  THANK YOU, MY DWARVES OWE YOU THEIR LIVES!!

Seriously tho, its weird that package doesn't install with qt 5.9..
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Clément on October 22, 2018, 03:45:51 am
libQt5Qml.so.5 is provided by qt5-declarative. Assuming it is not already on your system try:

sudo apt-get install qtdeclarative5-dev

If/once that file is present and it still does not work it is a permissions issue (i.e. the workaround is not right...).  :)

qtdeclarative5-dev is the development package, for the library alone, use libqt5qml5 (https://packages.ubuntu.com/search?searchon=contents&keywords=libQt5Qml.so.5&mode=&suite=bionic&arch=amd64).
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Enay on October 22, 2018, 07:13:22 pm
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

NOTE REGARDING GRAPHICS PACKS
At the time of upload, not all of the graphics packs have been officially updated for 44.12.  As far as I can tell, nothing *should* prevent them from working properly, but please let me know if you run into any problems with them.  I will release a revision once they have been fully updated, provided Toady hasn't pushed out 44.13 by that time.

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: feelotraveller on October 22, 2018, 08:32:06 pm
libQt5Qml.so.5 is provided by qt5-declarative. Assuming it is not already on your system try:

sudo apt-get install qtdeclarative5-dev

If/once that file is present and it still does not work it is a permissions issue (i.e. the workaround is not right...).  :)

qtdeclarative5-dev is the development package, for the library alone, use libqt5qml5 (https://packages.ubuntu.com/search?searchon=contents&keywords=libQt5Qml.so.5&mode=&suite=bionic&arch=amd64).

Yeah, I don't know my way around Debian repos.  (Are they even different from the Ubuntu repositories?)  Just glad I was able to give a working solution (if not the most elegant).

For me the package is currently qt5-declarative 5.11.2-1 and libQt5Qml.so.5 is just a symlink to libQt5Qml.so.5.11.2.  By the way I don't use Arch.  :P
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Enay on October 22, 2018, 08:58:25 pm
libQt5Qml.so.5 is provided by qt5-declarative. Assuming it is not already on your system try:

sudo apt-get install qtdeclarative5-dev

If/once that file is present and it still does not work it is a permissions issue (i.e. the workaround is not right...).  :)

qtdeclarative5-dev is the development package, for the library alone, use libqt5qml5 (https://packages.ubuntu.com/search?searchon=contents&keywords=libQt5Qml.so.5&mode=&suite=bionic&arch=amd64).

Yeah, I don't know my way around Debian repos.  (Are they even different from the Ubuntu repositories?)  Just glad I was able to give a working solution (if not the most elegant).

For me the package is currently qt5-declarative 5.11.2-1 and libQt5Qml.so.5 is just a symlink to libQt5Qml.so.5.11.2.  By the way I don't use Arch.  :P

Check out the updated pack I just posted.  DT is packaged into a single file appImage now, and everything you need should be included without downloading any extra packages.  DT has actually been this way for a while, but for some reason I can't currently remember I extracted it for the last few revisions I did.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: feelotraveller on October 22, 2018, 09:07:12 pm
Thanks for keeping up the LinuxLNP.  I've stopped using it a long while ago but I think it's great for newcomers, whether to Dwarf Fortress or to Linux.  I've been building therapist from source for some time.

(Apologies if I'm cluttering the thread with banter...)
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Enay on October 22, 2018, 09:12:54 pm
Thanks for keeping up the LinuxLNP.  I've stopped using it a long while ago but I think it's great for newcomers, whether to Dwarf Fortress or to Linux.  I've been building therapist from source for some time.

(Apologies if I'm cluttering the thread with banter...)

No need to apologize!  I stepped away from it myself for a little bit, been tied up with other things in life and am just now getting back into it again. 
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Clément on October 23, 2018, 03:45:58 am
Yeah, I don't know my way around Debian repos.  (Are they even different from the Ubuntu repositories?)  Just glad I was able to give a working solution (if not the most elegant).

For me the package is currently qt5-declarative 5.11.2-1 and libQt5Qml.so.5 is just a symlink to libQt5Qml.so.5.11.2.  By the way I don't use Arch.  :P

They are not the same repositories but they have a lot in common, and the naming policy is the same. There is the same website for Debian packages (https://packages.debian.org/search?searchon=contents&keywords=libQt5Qml.so&mode=filename&suite=stable&arch=amd64) (you see, qtdeclarative5-dev has only a symlink and its depends on libqt5qml5 that has both symlinks and the actual .so). It is useful for looking for packages when you are not using the targeted distro (otherwise you can use the package manager for searching).

I extracted it for the last few revisions

Extracting the AppImage is okay, but you need to run the included AppRun instead of dwarftherapist directly, it well set the environment to use the included library. Running AppImages requires FUSE, on systems without FUSE, you actually have to extract the AppImage first. I do that in my deploy script (https://github.com/Dwarf-Therapist/Dwarf-Therapist/blob/master/.travis/linux/deploy.sh). But most desktop should have FUSE, so don't worry about that.

So, i recently learned that ubuntu / debian no longer uses gksudo and instead uses something called policy kit.

I missed the part about sudo. Yes the modern equivalent of gksudo is pkexec. But it is possible to run DT without requiring root access at any time.

If I have your attention, Enay, would you consider using the second solution from this message (http://www.bay12forums.com/smf/index.php?topic=168411.msg7742913;topicseen#msg7742913), instead of the current sudo script? It is a very simple library that only depends on the libc, you would need to edit the df and dfhack scripts to preload it. It would let anyone debug DF even with ptrace_scope set to 1. I think it is better for the security than adding a capability to DT and it is easier to use (no root password asked, no big script that can go wrong).
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on October 23, 2018, 11:06:21 am
does the 44.12.02 contain a twbt/dfhack with a mousequery that actually works on a 5:4 screen resolution?
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Enay on October 23, 2018, 12:53:05 pm
If I have your attention, Enay, would you consider using the second solution from this message (http://www.bay12forums.com/smf/index.php?topic=168411.msg7742913;topicseen#msg7742913), instead of the current sudo script? It is a very simple library that only depends on the libc, you would need to edit the df and dfhack scripts to preload it. It would let anyone debug DF even with ptrace_scope set to 1. I think it is better for the security than adding a capability to DT and it is easier to use (no root password asked, no big script that can go wrong).

I should be able to implement this on a future revision.  It seemed to work for me with the limited amount of testing I've been able to do today.  I'll run this against a fresh install of Debian to make sure before adding it to the LNP though.

I made changes to the startlnp script in the last revision to make getcap and setcap detection a little more reliable in the short-term, but it seems like the method you laid out is much nicer, since we can do away with sudo altogether.

As an FYI, I had to add "export LD_PRELOAD=set_ptracer_any.so" to ./df.  I browsed the source for PyLNP and found that the "Play Dwarf Fortress!" button launches ./df straight away.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Clément on October 23, 2018, 01:22:56 pm
As an FYI, I had to add "export LD_PRELOAD=set_ptracer_any.so" to ./df.  I browsed the source for PyLNP and found that the "Play Dwarf Fortress!" button launches ./df straight away.

I don't know LNP, but if you use DFHack, I expect it will use the dfhack script, not the df one. dfhack already set LD_PRELOAD, so you must change the value of PRELOAD_LIB instead.

Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: feelotraveller on October 23, 2018, 06:19:50 pm
Thankyou Clément, I have learned (a little) more.  :)
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Dwarf_Fever on October 28, 2018, 03:46:59 pm
My Dwarf Therapist does not Connect, it says a fort is not loaded. I have tried the solution posted earlier, "sudo apt-get install qtdeclarative5-dev" which unfortunately did not help. Any pointers? I am on a Ubuntu machine but a bit of a noob to linux in general.

(I would post over on the DT thread, but I know the bundle is supposed to work more or less out of the box so I bet I screwed up something basic.)

Edit: I pulled the DT folder out of my last LNP folder and it seems to work ok for now, so my own problem is solved for the moment. If anyone cares to suggest solutions for people going forward, I will still try them for sake of troubleshooting. If not I am good either way. Thank you.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Clément on October 28, 2018, 05:03:57 pm
Dwarf Therapist used to have a launcher script that would setup stuff as root, but it is outdated. The appimage that is now included in the LNP, does not use this script. I thought about writing a new version and including it in the appimage, but I found a better way to make it work without requiring root access. I was just discussing that with Enay. Hopefully this will be fixed in the next version.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Dwarf_Fever on October 29, 2018, 03:44:10 pm
Dwarf Therapist used to have a launcher script that would setup stuff as root, but it is outdated. The appimage that is now included in the LNP, does not use this script. I thought about writing a new version and including it in the appimage, but I found a better way to make it work without requiring root access. I was just discussing that with Enay. Hopefully this will be fixed in the next version.

Ah, I see. Well, I have my DF and DT fix for now so I'm happy.  :D (I probably had to do the fix for the last version myself and already forgot how, to be fair, lol.) I've been using the functionality for managing dwarves that DFHack provides here and there, too, but man, the GUI for DT is just so much easier, at least until I get more familiar with that. By the way, thank you guys so much for working on this LNP.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: lethosor on October 31, 2018, 09:32:00 am
mousequery doesn't care about the screen resolution (at least, not in theory). And if it did, there's no "special 5:4 mousequery" distributed outside of DFHack.

Are you having an issue with that resolution specifically? If so, does changing it to something else change anything?
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on November 01, 2018, 10:28:21 am
mousequery doesn't care about the screen resolution (at least, not in theory). And if it did, there's no "special 5:4 mousequery" distributed outside of DFHack.

Are you having an issue with that resolution specifically? If so, does changing it to something else change anything?
i'm having that problem with every release of LNP ever since 44.09 , where i could at least fix it by downloading a new distribution of dfhack.
every later version was unfixable.
since i seem to be the only one having this problem and the only difference between our installs (when using a freshly extracted LNP) is the resolution... ¯\_(ツ)_/¯  figures.

could someone try a 1280x960 windowed (without multilevel view) to falsify my claim?

i cannot use a 16:9 or 16:10 resolution as i only got this old 5:4 screen, which works perfectly fine for all other applications in 5:4 for about 10 years now.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: lethosor on November 01, 2018, 11:26:31 am
Are you running DF in full-screen or windowed mode? Try toggling that setting. In windowed mode, try resizing the window and see if that fixes anything. Also, do you have intro movies turned off?
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on November 01, 2018, 11:30:20 am
windowed (because switching between active fullscreen processes usually is highrisk for crashes) no intro movies.
i'll try resizing.
Title: Re: LinuxLNP STABLE - 0.44.12-r01 x64
Post by: Sylverone on November 04, 2018, 06:09:10 am
I am new Linux and to DF on Linux, so please excuse me if this is all obvious.

I have a clean install of Mint 19 and downloaded the latest Linux LNP.  The pack started ok to the option screens but when I went to start DF a terminal window flashed up then instantly closed and I was back at the options screen.

After some searching, it turns out I needed some additional libraries.

https://askubuntu.com/questions/64765/i-downloaded-dwarf-fortress-why-wont-it-run had the same problem

sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386 libglu1-mesa:i386 libopenal1:i386

now DF runs fine, but I am still unable to start Dwarftherapist.  Another message message box, not a terminal window, appears but it disappears before I can understand it.

If anyone has any suggestions as to getting therapist working, or even getting the message to stick around long enough to read, I would be grateful.

I'm on Linux Mint 18.3 and DF won't run, but I'm not getting any terminal messages to let me fix the problem. I tried the above as a crapshoot but no luck. Additionally, the terminal configuration test failed for both Mate and xterm. Here's a helpful image with the unhelpful terminals: https://imgur.com/a/h8zW0wA
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on November 04, 2018, 07:16:35 am
i'm on Linux Mint 18.3 too and it runs perfectly fine here.
what was necessary was:
it had to be in my user folder - it could not be started from another HDD.
for DT to run, i had to install some additional packages, but those were mentioned here before.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: anewaname on November 04, 2018, 04:56:00 pm
If your LNP app appears but your cannot start DF using it, you could attempt to run DF directly.

From your dwarf fortress folder,
./df
and if that fails and you cannot see a clear reason why in the output, you could try
cd libs
ldd ./DwarfFortress

to see what the libraries in use are and if any are missing.

These are just things I've had to do in the past on Ubuntu/Kubuntu.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Sylverone on November 05, 2018, 04:29:01 am
Thanks for the help, I seem to have progress. Running df directly gave the following:

Code: [Select]
./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
I only had libsdl-ttf2.0-0:i386 which is the 32-bit version.

I couldn't seem to find the exact one in the package manager, but took a gamble that libsdl-ttf2.0-dev would include it, which it did. So now Dwarf Fortress runs, but LNP still fails the terminal configuration test, but produces no error messages to help. Does this meanDFHack won't run?
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: anewaname on November 05, 2018, 11:12:45 am
If you put a file or a link in the dwarf fortress "libs" folder, DF will find those first. This may less risky than other options. I do not know if LNP also has a libs folder as a pathing prefix for library lookups. In my /df_linux/libs/ folder, I have these links:
Code: [Select]
[size=8pt][size=10pt][font=courier]lrwxrwxrwx 1 b       45 Sep 18 10:33 libSDL_ttf-2.0.so.0 -> /usr/lib/x86_64-linux-gnu/libSDL_ttf-2.0.so.0
lrwxrwxrwx 1 b       45 Sep 18 10:39 libSDL_ttf-2.0.so -> /usr/lib/x86_64-linux-gnu/libSDL_ttf-2.0.so.0
lrwxrwxrwx 1 b       45 Sep 18 10:39 libSDL_ttf-2.0 -> /usr/lib/x86_64-linux-gnu/libSDL_ttf-2.0.so.0[/font][/size][/size]
I added those so it would find the right libSDL_ttf file, but I cannot recall now if I had to install a package to get that "/usr/lib/x86_64-linux-gnu/libSDL_ttf-2.0.so.0" file on my system. I am no expert with Linux, so your mileage may vary.

I don't know anything about getting LNP running, but you should be able to use the "ldd" command in the same way, like "ldd LNP", to find out what the LNP app is missing for packages, then do the same for DFHack. You do need to use "ldd" on the main binary, not on the shell script typically used to load the main binary. You can text-edit the ./df file and see it calls the ./libs/DwarfFortress file, which is the reason I gave the commands to run ldd against the DwarfFortress binary...., LNP might have a similar setup of a shell and a main binary, or it might just use a script to set the environment and then call DFHack). It is likely that if you tackle the problem this way that you'll find what you need.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on November 05, 2018, 11:42:26 am
:D just looked up the exact meaning of "Dabbling" and it translates to the german word "Pfuschen", which has so many nice meanings and just fits my linux skills:
Spoiler (click to show/hide)
yes, that's what i do in linux :D
i'm glad you can help me and others.

btw: i'm still playing the 44.09, as it runs most stable and as far as i read from the stress update, i should wait for that to be fixed before venturing forth.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: lethosor on November 05, 2018, 01:30:38 pm

I couldn't seem to find the exact one in the package manager, but took a gamble that libsdl-ttf2.0-dev would include it, which it did. So now Dwarf Fortress runs, but LNP still fails the terminal configuration test, but produces no error messages to help. Does this meanDFHack won't run?
You can definitely run DFHack directly with the ./dfhack script.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Androconus on November 22, 2018, 11:06:47 am
There seems to be a problem with the download. Is it just me?
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: lethosor on November 22, 2018, 01:24:56 pm
There seems to be a problem with the download. Is it just me?
Please explain what the problem is and what link you're downloading. The one in the first post of this thread appears to work for me.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Androconus on November 22, 2018, 01:51:58 pm
Server not found. The links I tried are the big "Download HERE" links at the top and bottom of the pages.

"Hmm. We’re having trouble finding that site. We can’t connect to the server at dffd.bay12games.com."

Is what firefox says. If it's just a problem on my end that's not too bad, I can check back another day. I was just worried it was a broken link
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: lethosor on November 22, 2018, 02:25:24 pm
bay12games.com has been down for me and others since yesterday. dffd.bay12games.com was working when I sent that post, but now appears to be down as well; unfortunately, I didn't save the downloaded I tried earlier. Usually these issues tend to be resolved relatively quickly.

Edit: dffd appears to be working for me again (pretty sure it isn't cached). I'd keep trying on your end periodically.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: ( Tchey ) on December 03, 2018, 03:36:45 am
Hi !

I'm on Linux Mint 19, i didn't play for a long time (a couple of years i guess, and my first time was before Z axe...), and i'm willing to jump in again.

But,

I DL the pack, followed instruction, and when i eventually click "Play", my terminal gives this :

nohup: ignoring input and appending output to 'nohup.out'

The nohup.out is an empty file, it seems.

And that's all. I tried with everything default, i tried with messing options around, i tried reset to default, i tried reinstall, i tried calling for FUN, but nothing.

Help ?

Edit : Fixed !

I ran dfhack alone, and i was missing a lib it seems, so i just ran sudo apt-get install libsdl-ttf2.0-0 and i'm playing now.

But Therapist is not connecting to the game.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: anewaname on December 03, 2018, 10:10:24 am
For Therapist, you need to give it access to DF.... In the DT github instructions (https://github.com/Dwarf-Therapist/Dwarf-Therapist), search for "Running the program", read that paragraph and follow the instructions.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Clément on December 03, 2018, 12:17:39 pm
Or you can try my newer instructions (https://github.com/Dwarf-Therapist/Dwarf-Therapist/tree/31408af993f56f85a17869cb4f43124eb6651987/dist/ptrace_scope). The first solution is recommended.
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: ( Tchey ) on December 04, 2018, 04:46:16 am
Thanks, i tried different options, and eventually doing this was the easiest way :

sysctl kernel.yama.ptrace_scope=0
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: soul4hdwn on January 24, 2019, 03:40:29 pm
nvm while somehow LNP had a launcher for therapist that wasn't working on fedora vs 29, going to therapist's source file and cmaking to (re)build worked as a fix, replacing old executable which LNP runs fine.
Title: Re: LinuxLNP - 0.43.05 x64
Post by: Lord Snow on February 03, 2019, 06:28:18 am
EDIT : i've tried to copy the layouts from the LNP folder to /usr/local/share/dwarftherapist/memory_layouts/linux/, and now DwarfTherapist sees it, but complains that DF either is not running or unloaded the fort - while instead i have it open and running

... copied them from where? My memory layouts folder is empty just like yours used to be.
I've tried the LinuxLNP-0.44.12-r02/LNP/utilities/dwarf_therapist, but that dir only contains a binary and manifest
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: feelotraveller on February 04, 2019, 04:39:28 am
The default for Dwarf Therapist is now to store memory layouts in:

~/.local/share/dwarftherapist/memory_layouts/linux/

I am not absolutely certain that the LinuxLNP follows that but it seems likely so check there first.

Assuming DT has its default settings it should also automatically check for updates (including new/missing/changed memory layouts) when launched.  Can be set at files > options > checkbox (near bottom).

If for some reason they are missing you can download them here: https://github.com/Dwarf-Therapist/Dwarf-Therapist/tree/master/share/memory_layouts/linux (https://github.com/Dwarf-Therapist/Dwarf-Therapist/tree/master/share/memory_layouts/linux)
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Clément on February 04, 2019, 05:17:52 am
The default for Dwarf Therapist is now to store memory layouts in:

~/.local/share/dwarftherapist/memory_layouts/linux/

With a default environment, DT will check in ~/.local/share/dwarftherapist, /usr/local/share/dwarftherapist, /usr/share/dwarftherapist (in order). An AppImage should also check its own image content.


EDIT : i've tried to copy the layouts from the LNP folder to /usr/local/share/dwarftherapist/memory_layouts/linux/, and now DwarfTherapist sees it, but complains that DF either is not running or unloaded the fort - while instead i have it open and running

... copied them from where? My memory layouts folder is empty just like yours used to be.
I've tried the LinuxLNP-0.44.12-r02/LNP/utilities/dwarf_therapist, but that dir only contains a binary and manifest

What are you trying to fix? Memory layouts should be included in the AppImage (see AppImage documentation (https://docs.appimage.org/user-guide/run-appimages.html#mount-or-extract-appimages), if you want to check what is inside). If it is a ptrace permission issue, check this (https://github.com/Dwarf-Therapist/Dwarf-Therapist/blob/31408af993f56f85a17869cb4f43124eb6651987/dist/ptrace_scope/README.md).
Title: Re: LinuxLNP STABLE - 0.44.12-r02 x64
Post by: Pvt. Pirate on February 12, 2019, 09:51:49 am
so i still use the 44.09 release of your LNP and tried installing Meph's pack, following his orders and it just didn't work properly. he suggested a faulty linux twbt in that version, but it worked on the previous versions of his pack.
any ideas on how to fix it?
http://www.bay12forums.com/smf/index.php?topic=161047.msg7926511#msg7926511
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Enay on February 27, 2019, 02:17:51 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Lukaszyk on March 07, 2019, 07:06:52 am
I have problem
"Play Dwarf Fortress" button does nothing
when i run df from konsole i get
Quote
Loading bindings from data/init/interface.txt
The program 'Dwarf_Fortress' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 20 error_code 2 request_code 154 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
when i run dfhack i get
Quote
[distro_fixes] [INFO] Checking whether any distro specific fixes are required...
[distro_fixes] [INFO] OS: linuxmint
[distro_fixes] [INFO] ARCH: x86_64
[distro_fixes] [INFO] VER: 19.1
[distro_fixes] [INFO] DF_ARCH: 64-bit
[distro_fixes] [INFO] DF_BIN_LOCATION: ./libs/Dwarf_Fortress
[distro_fixes] [WARN] 64bit 'Dwarf_Fortress' on unhandled 64bit OS detected. If you get 'missing file' errors, please open an issue on Github: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues.
[distro_fixes] [INFO] Attempting to use zlib at /usr/lib32/libz.so
[distro_fixes] [INFO] PRELOAD_LIB: /usr/lib32/libz.so:./libs/set_ptracer_any.so
[distro_fixes] [INFO] LD_LIBRARY_PATH:
[distro_fixes] [INFO] Done
ERROR: ld.so: object '/usr/lib32/libz.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Loading bindings from data/init/interface.txt

What can i do?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: freakdog on March 07, 2019, 01:29:59 pm
https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/63


Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: freakdog on March 07, 2019, 01:32:07 pm
https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/63
Looks like in this case you need a 64 bit libz installed.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on March 30, 2019, 09:44:23 am
can someone explain which settings are best for adv mode?
i know twbt messes it up quite much, but without it, it's as messed up as without.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Incantatar on May 17, 2019, 05:11:45 am
can someone explain which settings are best for adv mode?
i know twbt messes it up quite much, but without it, it's as messed up as without.

Tried with vanilla DF? I only had problems with crashing with twbt & mephs. Vanilla DF, dfhack and ASCII graphics work fine for me.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on May 17, 2019, 01:52:14 pm
can someone explain which settings are best for adv mode?
i know twbt messes it up quite much, but without it, it's as messed up as without.

Tried with vanilla DF? I only had problems with crashing with twbt & mephs. Vanilla DF, dfhack and ASCII graphics work fine for me.
i only tried it without twbt once and it looked as much wrong as with twbt.
i guess there's no solution to it then.

on another note, the mousequery edge scrolling bug seems to be fixed, thanks to lethosor!
http://www.bay12forums.com/smf/index.php?topic=164123.msg7970663#msg7970663
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: UltraTLC on June 08, 2019, 07:55:45 pm
So, likely a PEBKAC error of some kind, but I am fairly new to Linux. I managed to get it downloaded and untarred, but after navigating to the folder with the starLNP script, this is the output that I got:
[root@localhost LinuxLNP-0.44.12-r03]# ./startlnp
No protocol specified
No protocol specified
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 119, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.lnp", line 212, in initialize_ui
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/tkgui.tkgui", line 126, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/Tkinter", line 1810, in __init__
_tkinter.TclError: couldn't connect to display ":0"
[WARNING] startlnp: Failed to start PyLNP

How do I fix this?
Many thanks
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Clément on June 09, 2019, 10:28:07 am
Why are you trying to run it as root?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: UltraTLC on June 11, 2019, 08:58:38 pm
That was just the most recent attempt to get it to cooperate, I have had a string of other errors that I worked through, and the one right before that I had to run some commands as a super user. Forgot to switch back until after posting that
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on June 12, 2019, 06:02:56 am
i wasnt able to run it when it was on a different drive than the OS and the user folder.
also you might need to install some required packages. it was posted somewhere before right in this thread here.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Dawnmist on August 18, 2019, 11:32:26 am
I've been very much enjoying using this pack - thank you for putting in the time to maintain it. :)

I have been trying over the weekend to test out using Armok Vision for the first time, but I'm running into problems with it. I have my fortress loaded in Dwarf Fortress, then double-click on the Armok Vision utility. The screen size/image quality settings screen appears, and on setting those values the Armok Vision window appears with a giant keyboard showing the keymaps to use, and with Armok Vision claiming it could not find a running version of Dwarf Fortress (and displaying an "HTTP/1.1 400" error logged on the left of the window - so rather than it could not find Dwarf Fortress it seems to be being told by Dwarf Fortress/dfhack's RemoteFortressReader plugin that its making a bad request).

Do I need to do anything in particular in order to make Armok Vision functional? When digging around, I did notice that the Armok Vision directory had a `Plugins/v0.44.05 linux64/0.44.05-r2` directory with a `RemoteFortressReader.plug.so`lib in it...so I tested trying to replace the version in `df_linux/hack/plugins` with that version but that also didn't work (exact same error as previously, so I reverted the file in the `df_linux/hack/plugins` directory to the original version again).

I couldn't find any significant documentation for Armok Vision other than "these are the keymaps, and make sure you have a new version of dfhack" at both the Armok Vision github or in the `LNP/about/Armok_Vision.txt`, which didn't really give me much to be able to work from when trying to solve this on my own.

LinuxLNP-0.44.12.r3
OS: Debian 10 'Buster' (stable)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Rose on August 18, 2019, 03:22:31 pm
I haven't seen that before, but you could try making sure your firewall isn't blocking port 5000? Alternately, in the dfhack config directory (which should be inside the dfhack directory in the DF folder), and the armok vision config directory (Which should be in your documents folder) you can change which port and IP address to use.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: lethosor on August 18, 2019, 03:35:37 pm
If you're seeing an HTTP error, you probably have something else listening on port 5000. RemoteFortressReader doesn't use HTTP.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Dawnmist on August 19, 2019, 08:46:30 am
Ah - I do have something else on port 5000 (a test server for work), and didn't realise that Armok Vision used the same port. Thank you - I've moved my test server to a different port and Armok Vision is now connecting to Dwarf Fortress properly. :)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Rose on August 21, 2019, 01:39:49 pm
You can also configure both armok vision and dfhack to use a different port.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: lethosor on August 23, 2019, 06:13:51 pm
Yup, setting the DFHACK_PORT environment variable or editing dfhack-config/remote-server.json are two ways to do that on the DFHack side (looks like the first takes priority). I'm not sure what needs to be done on Armok Vision's end, although it looks to me from here (https://github.com/JapaMala/armok-vision/blob/8c88308e9c7f5def167fe1ba692df8aa8a6d80d2/Assets/Scripts/IniFileParser/GameSettings.cs#L146) that it's in some INI file.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Rose on August 24, 2019, 05:02:10 pm
Under Documents\Armok Vision\Config.json, there's a setting that looks like this:

Code: [Select]
  "game": {
    "showDFScreen": false,
    "analytics": 2,
    "askToUpdatePlugin": true,
    "serverAddress": "localhost",
    "serverPort": 5000,
    "checkForUpdates": true
  },

You can change that to set AV  to connect on a different port or IP address
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 04, 2019, 04:40:20 pm
Hello,

I finally rid myself of Windows 10.  I installed Linux (ubuntu stable version, 18 something)  a few days ago and I still have no idea what I'm doing.  I wanted to play dwarf fortress, and installed the starter pack.  I can't start Soundsense or Soundsense GTX (or whatever it is).  I also cannot start Dwarf fortress with DFHack.  Dwarf Therapist starts fine, though it does tell me that a newer version is available.

I don't know what to change, and I don't know how to find out what to change.  I'm willing to learn.

Could someone give me some advice on this?

Mathalor
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on December 05, 2019, 08:11:25 am
Hello,

I finally rid myself of Windows 10.  I installed Linux (ubuntu stable version, 18 something)  a few days ago and I still have no idea what I'm doing.  I wanted to play dwarf fortress, and installed the starter pack.  I can't start Soundsense or Soundsense GTX (or whatever it is).  I also cannot start Dwarf fortress with DFHack.  Dwarf Therapist starts fine, though it does tell me that a newer version is available.

I don't know what to change, and I don't know how to find out what to change.  I'm willing to learn.

Could someone give me some advice on this?

Mathalor
it was written somewhere, some pages before, how you install the necessary packages manually by use of the terminal.
maybe they can add that to the first post too - that'd be awesome for easier reference.
it didn't work for me without that either.

edit: totally forgot that i moved from linux mint18 to 19 didn't start DF on the new OS and DF refuses to launch now...
soundsense runs just fine.

edit2:
libQt5Qml.so.5 is provided by qt5-declarative. Assuming it is not already on your system try:

sudo apt-get install qtdeclarative5-dev

If/once that file is present and it still does not work it is a permissions issue (i.e. the workaround is not right...).  :)

Edit3:
I am new Linux and to DF on Linux, so please excuse me if this is all obvious.

I have a clean install of Mint 19 and downloaded the latest Linux LNP.  The pack started ok to the option screens but when I went to start DF a terminal window flashed up then instantly closed and I was back at the options screen.

After some searching, it turns out I needed some additional libraries.

https://askubuntu.com/questions/64765/i-downloaded-dwarf-fortress-why-wont-it-run had the same problem

sudo apt-get install libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libgtk2.0-0:i386 libjpeg62:i386 libglu1-mesa:i386 libopenal1:i386

now DF runs fine, but I am still unable to start Dwarftherapist.  Another message message box, not a terminal window, appears but it disappears before I can understand it.

If anyone has any suggestions as to getting therapist working, or even getting the message to stick around long enough to read, I would be grateful.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 05, 2019, 03:29:56 pm
Okay, I ran both of those lines and installed the packages.  I restarted the computer.  No change.

Thank you though.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 05, 2019, 04:28:52 pm
I feel foolish.  The LNP has a readme file, and halfway down lists more things to install.  Soundsense now works!

But not the actual game...
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: feelotraveller on December 06, 2019, 09:39:40 am
I feel foolish.  The LNP has a readme file, and halfway down lists more things to install.  Soundsense now works!

But not the actual game...

Okay, so summary of your situation - Soundsense and Dwarf Therapist work, but DFHack doesn't.  (Not clear to me if DF works without DFHack...)

Be advised I'm not running the LinuxLNP pack myself, although I am running DF on (another) linux distro. 

That said let's troubleshoot a bit.  Open a terminal in the install location of DF (probably something like ~/LinuxLNP-0.44.12-r03/df_linux/) - if you are in the right place the folder will include two files 'df' and 'dfhack.' Then run './dfhack' (return), and copy-paste the output here - if it does not lead you to solve the problem yourself - or if plain DF is not running for you use './df' and post that output as well/instead.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 06, 2019, 03:58:01 pm
I figured out how to get around in the terminal and attempt to execute those files.  Both stated that I did not have libSDL-1.2.so.0
I tried that sudu apt command with that, but it was unable to find it.  I tried a web search for it, and found this site: https://pkgs.org/download/libSDL-1.2.so.0()(64bit)

The site does not list a version for debian / ubuntu, and I don't know how to install it from a website.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Clément on December 06, 2019, 05:09:45 pm
For searching ubuntu packages, use https://packages.ubuntu.com. For example: https://packages.ubuntu.com/search?suite=bionic&arch=amd64&mode=filename&searchon=contents&keywords=libSDL-1.2.so. But you need a few more packages than this one.

For DF specifically, the wiki has a list: http://dwarffortresswiki.org/index.php/DF2014:Installation#Install_dependencies. Start by installing these ones and try again.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 06, 2019, 06:02:24 pm
If I install a library that I don't need, can it break my computer in some way?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: feelotraveller on December 06, 2019, 06:35:20 pm
That's a very wide question.  If it is a package that is 'extra', that is not used by your system, then it will do no harm other than taking up a little space.

The general rule is only to install packages from your distro and not software from random places on the web (there are exceptions such as DF where you might want to 'trust' the software).  In the current context, assuming you are installing a package from your distro (as Clément recommends above and as is best practice) it should be safe.  Most distros will warn you of potential conflicts and the rare breakage that might arise from an incorrect package usually should be fixable with little more than uninstalling one package and installing another. 

At a base level a distro is a set of packages that should not have problems with each other, although there can be mutually exclusive options within a distro such as a choice of desktop environment or init system.

Again adding specifics would help get a better answer to the question.  ;)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 06, 2019, 08:43:34 pm
Clément,

Thank you,

I went over the list on the wiki that you linked to, and there were two that I did not have.  I installed them.  I already have libsdl1.2debian installed.  So that's odd.

Feelotraveler,

Thank you as well,

A web search led me to this thread : https://askubuntu.com/questions/786300/how-to-install-all-sdl-libraries-in-ubuntu-14-04

I performed a similar search and was considering installing everything until something worked.



This is the error for both:
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: feelotraveller on December 06, 2019, 09:09:50 pm
Hmm, try this

Code: [Select]
sudo apt-get update
sudo apt-get install --reinstall libsdl-image1.2

Any luck?

p.s. Probably want to reboot to be safe - hard to know what might get updated...

And if that still doesn't work you could try
Code: [Select]
sudo apt-get install libglu1-mesaas mentioned a couple of times in this thread https://askubuntu.com/questions/226613/how-do-i-install-the-library-libsdl-image-1-2-so-0-required-to-run-dwarf-fortres (https://askubuntu.com/questions/226613/how-do-i-install-the-library-libsdl-image-1-2-so-0-required-to-run-dwarf-fortres)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on December 07, 2019, 06:27:40 am
thanks.
i didnt try without dfhack yet, but soundsense works, dfhack doesnt.

edit: installed dependencies and it works now.

can those links to the wiki be added to the very first post? that would help alot.

packages exist parallel to eachother. you can install the most uptodate package parallel to an outdated one.
the only possible risk would be security loopholes in older packages that could then be used if someone knows which packages are installed on your system.
for this to actually being a security risk, the person would
1. need to know which packages you have installed
2. which security loopholes to exploit
3. have remote access to your system

this is one of the most unlikely scenarios.

unless you tell your system to sudo delete critically essential packages, you should be fine.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 07, 2019, 06:17:33 pm
The reinstall worked.

Thank you again.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 07, 2019, 08:10:31 pm
When I try to quit dwarf fortress, it freezes.  When I right click it's icon and say quit, it does nothing.

Is there a terminal command that will force it to quit?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: feelotraveller on December 08, 2019, 04:29:47 am
If using dfhack try 'die' in its terminal.  Make sure the game is saved first.

But it is odd.  Does your machine have limited ram?

Edit: I wonder if this is due to way the game is being terminated.  My (vague) memory is that if the game is started with the PyLNP launcher then it may need to be quit via the same application - is there an option to leave the launch window visible but minimised, or similiar? - doing so should terminate Soundsense, Therapist, DF/DFHack and the PyLNP launcher itself.  Trying to quit from within DF may cause problems with not terminating some of the other applications (I think for Therapist it is OK but I don't know about the others).
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on December 10, 2019, 10:20:30 am
i can not confirm this. if i start DF+dfhack+soundsense with the launcher, i can close the launcher without any of the other being terminated.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 10, 2019, 05:51:14 pm
It doesn't have limited ram unless something is wrong.  I'll try that die command.  I can quit the launcher and everything but df.

Thank you again.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: lethosor on December 11, 2019, 01:10:46 am
If using dfhack try 'die' in its terminal.  Make sure the game is saved first.

But it is odd.  Does your machine have limited ram?

My (vague) memory is that if the game is started with the PyLNP launcher then it may need to be quit via the same application
Nope, this isn't the case. I doubt memory has much to do with it either.

Mathalor, are you using a graphics set? If so, which one? (And just to confirm, this is the "Quit" option in the main menu, after you've saved, right?)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Mathalor on December 11, 2019, 06:00:53 pm
Phoebus, the default.

The die command works.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on December 12, 2019, 03:10:19 am
although memory could be the reason for a crash, it's most unlikely to occur while exiting the game.
it happened to me when creating a big world or using a too large embark region when i only had 4GB RAM.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Playeris on January 14, 2020, 05:49:08 am
On ubuntu gnome terminal or xterm same error wen i push "Play Dwarf forrtres!"
I dont have user michael


Running PyLNP 0.13b (OS: linux, Compiled: True)
INFO: Read installed graphics (Phoebus) from log
Traceback (most recent call last):
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 113, in run_program
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/subprocess", line 710, in __init__
  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/subprocess", line 1335, in _execute_child
OSError: [Errno 2] No such file or directory
ERROR: Could not launch ./df_linux/dfhack



PyLNP show this error, but working

Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig error: line 6: invalid attribute 'translate'
Fontconfig error: line 6: invalid attribute 'selector'
Fontconfig error: line 7: invalid attribute 'xmlns:its'
Fontconfig error: line 7: invalid attribute 'version'
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load default config file
INFO: Read installed graphics (Phoebus) from log


Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: feelotraveller on January 14, 2020, 08:46:25 pm
That output indicates a mismatch of versions for libfontconfig (the one the application was compiled against and the one on your system).

At a guess try updating the fontconfig package on your system.

Not a ubuntu user but

Code: [Select]
sudo apt-get update
sudo apt-get install --reinstall fontconfig

(The first just updates your system, always a good idea before messing with individual packages.)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: markboston34 on February 01, 2020, 11:06:43 pm
is this still being maintained? is there a lnp for linux under active development?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Ziusudra on February 02, 2020, 12:01:09 am
The pack bundles utilities and graphics packs - until those update there's nothing to bundle. And since there will be bug fix releases of DF soon, the process of updating the utilities will have to mostly start over with each release. You'll have to be patient.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: markboston34 on February 02, 2020, 09:33:09 am
will the current version of dwarf therapist work with DF?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: markboston34 on February 02, 2020, 09:40:29 am
ive tried running this version however when i click on play dwarf fortress it says cannot run dwarf fortress. terminal shows an error saying dfhack script can't run. also when i run the lnp script i get a bunch of errors and warnings about fonts not sure if thats related or not.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: lethosor on February 02, 2020, 02:15:26 pm
Can you be more specific about the errors? Also, what happens if you run the dfhack script directly?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: San-A on February 10, 2020, 06:50:02 am
Can't wait for the new version, keep on the great work!
Title: Petition
Post by: Abadrausar on February 14, 2020, 03:51:15 pm
I have liked this utility because it is multi-platform and very lightweight in memory usage, liberating a whole lot of system memory for being usable in Dwarf Fortress where it is badly needed.
Petition
ApplicationPlatform LanguageVersionDownload size in MBRuntime required in MB
LinuxOSXWindows
SoundSensejava runtimer2016-111165-80
SoundCensec# CLR1.4.45.275.275.27100
soundsense-rsRust native or WebAssembler1.3.22.811.912.70

I play DF under windows and linux and use sometimes packs for convenience.

Lately concerned by security (more surface attack for malware) issues I have uninstalled oracle java and microsoft Net from my machines (at least for general use), mono sadly is not much better ni feature complete.

I see in the 1st post that the Pack includes either SoundSense that requires the java runtime and SoundCense that requires the NET framework runtime; Both runtimes are really massive over the HD as over the memory system where they really could potentially out-compete or slow Dwarf Fortress process.

It is for those reasons that I have begun to use Sound-sense-RS in Windows and Linux because it does not need ANY run-time additional to do basically the same thing than the other two.

As SoundSense-RS (http://www.bay12forums.com/smf/index.php?topic=174585.0) download weights only 2.7 Mb, there is any possibility of including it into this pack?

This would enable that people that do not want to install a whole runtime just to listen the sounds of a game, to have a better integrated option than install the application themselves.

Just to signal that I have not  renounced to the exclusive benefits of those runtimes like advanced crypto, digital signing and identities; I jail then when necessary in protected and isolated environments.  8)

Other pack maintainers have already begun the integration.
Hey, prixt. I just wanted to let you know I'm including SoundSense-RS in the Lazy Mac Pack.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: jecowa on February 15, 2020, 04:14:18 am
I'm curious if anyone can get it working on Linux. I got some kind of GTK error when running on an Ubuntu-based system.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: clinodev on February 15, 2020, 02:23:13 pm
I'm curious if anyone can get it working on Linux. I got some kind of GTK error when running on an Ubuntu-based system.

McArcady's LinuxDwarfPack is up to date as of a few days ago. (http://dffd.bay12games.com/file.php?id=14768)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Pvt. Pirate on February 16, 2020, 03:36:23 am
I'm curious if anyone can get it working on Linux. I got some kind of GTK error when running on an Ubuntu-based system.

McArcady's LinuxDwarfPack is up to date as of a few days ago. (http://dffd.bay12games.com/file.php?id=14768)
tempting, but no dfhack/twbt.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: prixt on February 19, 2020, 06:32:03 am
I'm curious if anyone can get it working on Linux. I got some kind of GTK error when running on an Ubuntu-based system.

Hey jecowa, does your ubuntu system have webkt2gtk-4.0 installed?
Title: Re: Petition
Post by: Clément on February 19, 2020, 04:21:19 pm
it does not need ANY run-time additional
Hey jecowa, does your ubuntu system have webkt2gtk-4.0 installed?
It does require a run-time then.
Title: Re: Petition
Post by: prixt on February 19, 2020, 05:52:12 pm
...
It does require a run-time then.
Technically yes. But does webkit2gtk count as `additional` runtime, more than Java or C# VMs?
This isn't a rhetorical question, I'm not familiar with the general Linux environment. Is webkit2gtk a non-standard installation for Linux?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: Clément on February 19, 2020, 06:24:05 pm
Not more, but not less. It is still a run-time dependency you need to install. I don't think you can really count on anything more than the glibc, there is no standard installation for Linux. It is not a bad thing to have dependencies. Just document them, and don't let Abadrausar believe it is self-contained executable when it is not.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: prixt on February 19, 2020, 06:30:57 pm
Understood. Thank you for pointing this out.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: jecowa on February 19, 2020, 06:55:59 pm
I'm curious if anyone can get it working on Linux. I got some kind of GTK error when running on an Ubuntu-based system.

Hey jecowa, does your ubuntu system have webkt2gtk-4.0 installed?

I think so:

Quote
$ dpkg -l | grep libgtk
ii  libgtk-3-0:amd64                                            3.24.12-1ubuntu1                                                 amd64        GTK graphical user interface library
ii  libgtk-3-bin                                                3.24.12-1ubuntu1                                                 amd64        programs for the GTK graphical user interface library
ii  libgtk-3-common                                             3.24.12-1ubuntu1                                                 all          common files for the GTK graphical user interface library
ii  libgtk2.0-0:amd64                                           2.24.32-4ubuntu1                                                 amd64        GTK graphical user interface library - old version
ii  libgtk2.0-bin                                               2.24.32-4ubuntu1                                                 amd64        programs for the GTK graphical user interface library
ii  libgtk2.0-common                                            2.24.32-4ubuntu1                                                 all          common files for the GTK graphical user interface library
ii  libgtkmm-3.0-1v5:amd64                                      3.24.1-1                                                         amd64        C++ wrappers for GTK+ (shared libraries)
ii  libgtksourceview-4-0:amd64                                  4.4.0-1                                                          amd64        shared libraries for the GTK+ syntax highlighting widget
ii  libgtksourceview-4-common                                   4.4.0-1                                                          all          common files for the GTK+ syntax highlighting widget

$ dpkg -l | grep webk
ii  libwebkit2gtk-4.0-37:amd64                         2.26.3-0ubuntu0.19.10.1                                      amd64          Web Content engine library for GTK

Just tried SoundSense-rs version 1.4.4 and it said:
Quote
Failed to load module "appmenu-gtk-module" ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave thread 'sound_thread' panicked at 'The device doesn't support any format!?: DeviceNotAvailable', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Aborted (core dumped)
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: prixt on February 19, 2020, 07:13:25 pm
...
Right, other dependecies :P. So far, the dependencies need are: libasound2, libgtk-3, libwebkit2gtk-4.0
There may be other dependencies hidden somewhere, but these are the libraries I had to instruct CI builders like travis and github actions to install to get it to compile.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: jecowa on February 19, 2020, 07:26:14 pm
...
Right, other dependecies :P. So far, the dependencies need are: libasound2, libgtk-3, libwebkit2gtk-4.0
There may be other dependencies hidden somewhere, but these are the libraries I had to instruct CI builders like travis and github actions to install to get it to compile.

$ dpkg -l | grep asound
ii   libasound2:amd64         1.1.9-0ubuntu1      amd64    shared library for ALSA applications
ii   libasound2:i386         1.1.9-0ubuntu1      i386    shared library for ALSA applications
ii   libasound2-data         1.1.9-0ubuntu1      all    Configuration files and profiles for ALSA drivers
ii   libasound2-plugins:amd64         1.1.9-0ubuntu1      amd64    ALSA library additional plugins
ii   libasound2-plugins:i386         1.1.9-0ubuntu1      i386    ALSA library additional plugins
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: prixt on February 19, 2020, 09:16:58 pm
...
$ dpkg -l | grep asound
ii   libasound2:amd64         1.1.9-0ubuntu1      amd64    shared library for ALSA applications
ii   libasound2:i386         1.1.9-0ubuntu1      i386    shared library for ALSA applications
ii   libasound2-data         1.1.9-0ubuntu1      all    Configuration files and profiles for ALSA drivers
ii   libasound2-plugins:amd64         1.1.9-0ubuntu1      amd64    ALSA library additional plugins
ii   libasound2-plugins:i386         1.1.9-0ubuntu1      i386    ALSA library additional plugins
K, this will need more work. Think we should move discussion about this to the SoundSense-RS thread, so this thread doesn't get cluttered.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: sly on February 21, 2020, 03:23:39 pm
very cool program. if it were a little better documented, I'd love to contribute.

Edit: made this reply in the wrong thread, how do I delete?
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: jecowa on February 21, 2020, 06:29:52 pm
You can't delete it. Just change it to something that looks on-topic.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: GPeter on February 24, 2020, 06:04:26 pm
Hey guys, Is the pack for linux updated for 47.03? If so, is there any tutorial on how to install it? Sorry, Linux noob here (Installed it yesterday so I'm still learning everything). I'm using Linux Mint
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: clinodev on February 24, 2020, 07:41:53 pm
Hey guys, Is the pack for linux updated for 47.03? If so, is there any tutorial on how to install it? Sorry, Linux noob here (Installed it yesterday so I'm still learning everything). I'm using Linux Mint

Armok bless Enay, but while people keep commenting on this announce thread, it hasn't been updated for a year. It is outdated even as a 0.44.12 Pack, with an old DFhack and the older crashier TWBT.

McArcady1's LinuxDwarfPack (http://dffd.bay12games.com/file.php?id=14768) is at 47.02, at least, so will likely see an .03 update soon. It's not a full PyLNP build, I don't think, but it should at least get you started.
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: jecowa on February 24, 2020, 08:11:00 pm
Here's some links for anyone making a pack:
Title: Re: LinuxLNP STABLE - 0.44.12-r03 x64
Post by: thurin on February 24, 2020, 08:33:18 pm
I'm putting together a combo dfhack/twbt pack to make that easier.  I'm also looking into doing a preview LNP for .03 to hold folks over until real ones are available.

done:  http://dffd.bay12games.com/file.php?id=14863
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Enay on March 10, 2020, 12:38:52 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love.  As a bonus, they'll send you a story reward or crayon drawing reward.  How cool is that?
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Enay on March 10, 2020, 06:22:18 am
Just realized I uploaded the WRONG version last night...  That'll teach me to upload past my bedtime...  I'm uploading the correct version now.
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: San-A on April 21, 2020, 09:07:53 am
Is there a 47.04 version available?
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: feelotraveller on April 23, 2020, 09:56:42 am
Not (yet) for LinuxLNP.

There is a somewhat less comprehensive 47.04 linux pack (lnp-forge) available here: http://www.bay12forums.com/smf/index.php?topic=157712.0 (http://www.bay12forums.com/smf/index.php?topic=157712.0) that might be worth trying.
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Lioneez on April 28, 2020, 07:04:29 am
hmm... well I have several problems but the most annoying one is with the TWBT graphic mode, basically for some reason it does not update the graphics in adventure mode especially.
for example if I move in adventure mode with fast travel the map window will update graphics and sometimes will just drag on, it looks like a mess to me in adventure mode for some reason
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Ziusudra on April 28, 2020, 11:51:43 am
hmm... well I have several problems but the most annoying one is with the TWBT graphic mode, basically for some reason it does not update the graphics in adventure mode especially.
for example if I move in adventure mode with fast travel the map window will update graphics and sometimes will just drag on, it looks like a mess to me in adventure mode for some reason
That reason is that TWBT is not currently compatible with adventurer mode.

Quote from: Wiki
TWBT still might not be very stable in adventure mode, though, so be cautious when using TWBT with adventure mode.
https://dwarffortresswiki.org/index.php/DF2014:Tilesets
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Lioneez on April 29, 2020, 09:27:49 am
Spoiler (click to show/hide)
Ah well, that explains it, though I managed to fix it with Standard and some other tileset that makes everything look more arranged, thx for the heads up, didnt notice that part
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: lethosor on April 29, 2020, 11:59:35 am
Quote from: Wiki
TWBT still might not be very stable in adventure mode, though, so be cautious when using TWBT with adventure mode.
https://dwarffortresswiki.org/index.php/DF2014:Tilesets
That particular quote dates back to 2018 (https://dwarffortresswiki.org/index.php?title=DF2014:Tilesets&oldid=234540), and may be outdated (my understanding is that TWBT includes some support for adventure mode, i.e. it's not entirely unsupported, but adventure mode is inherently harder to support and tends to run into more issues).

Also, for reference, you can put the wiki URL directly in the quote tag, like this:
Quote from: https://dwarffortresswiki.org/index.php/DF2014:Tilesets
(some quote)
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Ziusudra on April 29, 2020, 03:27:05 pm
Also, for reference, you can put the wiki URL directly in the quote tag, like this:
Quote from: https://dwarffortresswiki.org/index.php/DF2014:Tilesets
(some quote)
Ah, so it's "quote=url", not "quote link=url", like forum quotes. ::)
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: Mathalor on June 04, 2020, 07:17:47 pm
I'm having trouble installing this on ubuntu 20.04.  I get this error when installing the dependencies:

sudo apt-get install default-jre libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0 libglu1-mesa libgtk2.0-0 libopenal1 libjpeg62 wget coreutils tar xterm sed python bzip2 qtchooser libqt4-script libqt4-scripttools libqt5script5 libqt5scripttools5 libqxt-core0 libqxt-gui0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
E: Unable to locate package libqt4-script
E: Unable to locate package libqt4-scripttools
E: Unable to locate package libqxt-core0
E: Unable to locate package libqxt-gui0




I've gotten pylnp to launch, and dwarf therapist, but not soundsense or the main game.

Should I be looking at installing those 4 above packages from third parties, or do they go by another name for this distro?  Am I missing something?
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: corollari on June 23, 2020, 02:24:09 am
Hey, after getting this pack to work on my Fedora machine, I built an rpm package for it so other Fedora users can have an easier time.
At the moment, the main improvements brought by the package over the traditional install method are:
- Installs the dependencies needed for the pack
- Patches PyLNP configuration to avoid a problem where PyLNP cannot detect the terminal
- By using the system's packaging system the installation is much easier to manage, as the package manager will make sure that the installation is atomic, keep track of the files created so later they can be removed easily...

The package, instructions on how to install it and the source files used to build it can be found in https://github.com/corollari/lazy-newb-pack-fedora
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: lethosor on June 23, 2020, 06:29:21 pm
- Patches PyLNP configuration to avoid a problem where PyLNP cannot detect the terminal
Just curious, what PyLNP version are you using? (I know this pack ships with 0.13b currently, but was wondering if you had changed that.) PyLNP 0.14 has apparently fixed some of the Linux terminal issues, so this pack in particular may benefit from upgrading: http://www.bay12forums.com/smf/index.php?topic=140808.msg8154458#msg8154458
Title: Re: LinuxLNP Release Candidate - 0.47.03-rc1 x64
Post by: rmblr on July 23, 2020, 11:27:15 am
Any chance we'll see an 47.04 update? This pack has many more features than McArcady's LinuxDwarfPack.

edit: suppose I can build my own with lnp-forge
Title: Re: LinuxLNP Release Candidate - 0.47.04-r1 x64
Post by: Enay on August 26, 2020, 12:05:32 am
Download HERE (http://dffd.bay12games.com/file.php?id=13244)

To Run: Simply execute the included startlnp script.

LNP IMPORT TIPS
When first launching a new version of the LNP, you'll be asked if you want to import files from a previous installation. If you select yes, open the previous version's df_linux folder in the file chooser dialog, then click ok. Selecting the LNP folder or the root of the pack will cause the import to fail. The import process will grab your DF saves, SoundSense and/or SoundCense sounds, gamelog, and dfhack history from the previous version.

Utilities included:

Graphics packs included:

Support:  Toady and Threetoe have been gracious enough to provide us all with Dwarf Fortress free of charge.  To show your appreciation, please consider donating to Bay 12 Games.  Without donations, Dwarf Fortress wouldn't be what it is today.  Please click the link below to show them some love!
(http://www.bay12games.com/dwarves/imgs/support_large.png) (http://www.bay12games.com/support.html)

If you like the work I've put into assembling this pack, please feel free to head over to my Patreon page (https://www.patreon.com/enay) and buy me a coffee.  Or a beer.  Or a sammich.  I'm really not picky.

Download HERE (http://dffd.bay12games.com/file.php?id=13244)
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: Mr.Nounours on January 18, 2021, 02:08:55 pm
I am having troubles running LinuxLNP on Manjaro. Whenever I try to run the startlnp.sh script, it doesn't work and output this:

['Traceback (most recent call last):\n', '  File "/home/nounours/Téléchargements/LinuxDwarfPack-0.47.04-r5/./launch.py", line 12, in <module>\n    lnp.PyLNP()\n', '  File "/home/nounours/Téléchargements/LinuxDwarfPack-0.47.04-r5/core/lnp.py", line 119, in __init__\n    self.initialize_ui()\n', '  File "/home/nounours/Téléchargements/LinuxDwarfPack-0.47.04-r5/core/lnp.py", line 212, in initialize_ui\n    self.ui = TkGui()\n', '  File "/home/nounours/Téléchargements/LinuxDwarfPack-0.47.04-r5/./tkgui/tkgui.py", line 137, in __init__\n    self.root = root = Tk()\n', '  File "/usr/lib/python3.9/tkinter/__init__.py", line 2262, in __init__\n    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)\n', '_tkinter.TclError: unknown color name "BACKGROUND"\n']
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: lethosor on January 18, 2021, 11:21:07 pm
Searching for the last part of your error ("unknown color name BACKGROUND") turned up https://archived.forum.manjaro.org/t/tk-error-application-specific-initialization-failed-unknown-color-name-background/155675, which seems to be a Manjaro-oriented fix:
Code: [Select]
xrdb -load /dev/null
xrdb -query
Does that help?

If not, this seems to me like it's more PyLNP-related and less specific to this pack, so the PyLNP thread (http://www.bay12forums.com/smf/index.php?topic=140808.0) might be another good place to ask.
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: Mr.Nounours on January 19, 2021, 04:39:47 am
Yes it works :DD
Thanks a lot
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: Gimli-McGloinFace on August 08, 2021, 06:10:15 am
My older version it seems just stopped working and i posted to that old one asking how to fix it, but now ive found this one and ive extracted it to my desktop and i run it with ./startlnp in the terminal. what my question is now (ubuntu os and im not very linux literate at all) how do i uninstall the older one off my system and how can i make my install cleaner? as in not on my desktop and able to run it off my sidebar and a wee desktop icon instead of from terminal
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: lethosor on August 08, 2021, 12:40:58 pm
My older version it seems just stopped working and i posted to that old one asking how to fix it, but now ive found this one and ive extracted it to my desktop and i run it with ./startlnp in the terminal. what my question is now (ubuntu os and im not very linux literate at all) how do i uninstall the older one off my system and how can i make my install cleaner? as in not on my desktop and able to run it off my sidebar and a wee desktop icon instead of from terminal
FYI, the other thread you posted to is for PyLNP, which is the GUI used by all modern packs, including this one.

As for removing the old one, you can just delete all of its files. If you have savegames from your old installation that you want to keep, those would be in the "Dwarf Fortress/data/save" folder, so you should copy them out first.
Title: Re: LinuxLNP Release - 0.47.04-r1 x64
Post by: feelotraveller on August 08, 2021, 10:24:05 pm
My older version it seems just stopped working and i posted to that old one asking how to fix it, but now ive found this one and ive extracted it to my desktop and i run it with ./startlnp in the terminal. what my question is now (ubuntu os and im not very linux literate at all) how do i uninstall the older one off my system and how can i make my install cleaner? as in not on my desktop and able to run it off my sidebar and a wee desktop icon instead of from terminal

This pack is quite old and not supported for a year now.  (Big thanks to Enay for sharing their builds at the request of the community for 3-4 years :).)  It is good that it still works for you.

I suggest trying out the LinuxDwarfPack (http://www.bay12forums.com/smf/index.php?topic=157712.0) which is currently maintained and provides the up-to-date DF47.05.  As a bonus it places a shortcut to start the game in the Applications -> Games menu.  8)