Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 ... 22

Author Topic: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack  (Read 165988 times)

King Mir

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.05 with working Dwarf Therapist
« Reply #15 on: July 31, 2014, 07:29:36 pm »

Dwarf Therapist is at v23.3 now.  Pheobus' tileset is at v0.40.05v02. You might wanna update.
« Last Edit: July 31, 2014, 07:31:21 pm by King Mir »
Logged

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.05 with working Dwarf Therapist
« Reply #16 on: July 31, 2014, 11:27:34 pm »

Slightly improved version. I forgot that unset variables cause problems within "if" statements in shell scripts, hence assigning "0" as default value for dt_capabilities
Code: [Select]
#!/bin/sh
LNP_DIR=$(dirname "$0")
cd "${LNP_DIR}"

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

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

 :D :D :D added to the newest version, you are great! :D

hagelund

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack Linux V0.40.05 with working Dwarf Therapist
« Reply #17 on: August 01, 2014, 04:10:02 am »

hello hagelund,

i can darkly remember that i had the same issue when i tried to build Dwarf Therapist from source...about a month ago or so

the issue in your case is a (or even more) missing library/libraries...since the new DT for 0.40.xx is made with qt5 instead of qt4, which it was for the older release of DF

Splintermind has on his GitHub-Repo a "short" instruction, which libraries are needed to build from source, but also required to run it (if i did not understand it right, correct me please)...here's the link https://github.com/splintermind/Dwarf-Therapist/blob/master/BUILDING.txt

before i give you a unnecessary advice to install a bunch of packages you perhaps wont need, try simply to get the missing library via

Code: [Select]
sudo apt-get install libqt5script5and all related dependencies...

if it still does not work - and thats where my confidents ends - just take them all in a good guess...here the snippet from splinterminds instruction

Quote
For Debian-derived (Ubuntu, Mint, etc.) distributions, you can run the following command from a terminal:

Code: [Select]
sudo apt-get install qtchooser qtbase5-dev qtbase5-dev-tools qtscript5-dev qt5-qmake libqt5script5 libqt5scripttools5 libqxt-core0 libqxt-gui0
I really can't remember if any sym-linking was necessary along the way...but i think it was not.

And last thing to say, i wont be held responsible if this in any *weird way* screws up your system...;-) I did it on my ubuntu, and it worked fine

It worked to just install the missing lib. Thanks!


Now another question. I have grown attached to the ASCII 16x16 graphics, and I can't play without it. But this version does not have it, and I cant seem to find a correct version of it.
I have tried to take the ASCII from the windows version, but when I use this, everything gets so small. What I mean is, a 1x1 square is smaller than a 1x1 from another 16x16 tileset. And it is quite frustrating having it so small, because I can barely see anything. D:
Does anyone know where I can find the correct 16x16 ASCII tileset for 40.05?
Logged

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.05 with working Dwarf Therapist
« Reply #18 on: August 04, 2014, 08:29:26 pm »

I have grown attached to the ASCII 16x16 graphics, and I can't play without it.

I have added the AscII tileset back to the package.

updated the package to DF V0.40.06
Added 23.4 Dwarf Therapist
Tilesets:
  • [16x16] Phoebus v0.40.06
  • [16x16] Ironhand v0.40.06
  • [16x16] ASCII v0.40.06 tileset

Download here: http://dffd.wimbli.com/file.php?id=8936

Chevaleresse

  • Bay Watcher
  • A knight, returned from a journey weary and long
    • View Profile
    • Patreon
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #19 on: August 04, 2014, 11:23:19 pm »

Can I get Therapist without the rest of the pack?
Logged
GM of Trespassers V2.
If you like my work, consider becoming a patron. (Since apparently people think this is a requirement: no, my game(s) are free to play and always will be.

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #20 on: August 04, 2014, 11:27:18 pm »

hagelund

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack Linux V0.40.05 with working Dwarf Therapist
« Reply #21 on: August 05, 2014, 04:44:04 am »

I have grown attached to the ASCII 16x16 graphics, and I can't play without it.

I have added the AscII tileset back to the package.

updated the package to DF V0.40.06
Added 23.4 Dwarf Therapist
Tilesets:
  • [16x16] Phoebus v0.40.06
  • [16x16] Ironhand v0.40.06
  • [16x16] ASCII v0.40.06 tileset

Download here: http://dffd.wimbli.com/file.php?id=8936

Yay, ASCII! You the man.
Logged

Nabobalis

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #22 on: August 05, 2014, 05:55:03 am »

Thanks for this! I'll try it on Arch Linux!

One day we will have a all-in-one for operating systems, can I just drop it in dropbox and play it on all my machines!
Logged

Dwimenor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #23 on: August 05, 2014, 07:14:39 am »

pack v40.06 Has old (not working) version of startlnp script.
Correct script:
http://www.bay12forums.com/smf/index.php?topic=140966.msg5521259#msg5521259
Logged

hagelund

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #24 on: August 05, 2014, 07:33:34 am »

Is anyone else having a problem, where the 'Dump item' job doesnt get created?
I cannot get my dorfs to dump items. And yes there is a garbage zone for it.
Logged

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #25 on: August 05, 2014, 01:08:00 pm »

pack v40.06 Has old (not working) version of startlnp script.
Correct script:
http://www.bay12forums.com/smf/index.php?topic=140966.msg5521259#msg5521259

Updated to R3,
:D I updated the script just now. I am hosting the script files here. Anyone feel free to fork and push to the components, and thank you Dwimenor for paying such close attention to the scripts! :D :D

I also updated Sound Sense to r43, and added more graphic pack options , mayday, spacefox and CLA.

Download here: http://dffd.wimbli.com/file.php?id=8936

Dwimenor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #26 on: August 06, 2014, 06:25:53 am »

I've sent you pull request for dwarf fortress starter script (df_linux/df). This fixes "not found" problem with png files on some distros with newer versions of libz and libpng. Ubuntu works without it, but I've seen people complying about this (me including).
I'm not sure if I understand the problem correctly, but for me (Arch Linux) this modified script works.
Can you test it on other distro?
Logged

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #27 on: August 08, 2014, 04:25:35 pm »

I've sent you pull request for dwarf fortress starter script (df_linux/df). This fixes "not found" problem with png files on some distros with newer versions of libz and libpng. Ubuntu works without it, but I've seen people complying about this (me including).
I'm not sure if I understand the problem correctly, but for me (Arch Linux) this modified script works.
Can you test it on other distro?

I tested it on ubuntu, It appears to work fine. A sort of workaround I was doing was including a mouse.png which would get added when you install the first graphics pack.  I  did a fresh compile of Dwarf Therapist to make sure anything new was added.  I included your patch in the latest version R5 of the pack. Thank you Dwimenor you have most helpful with you contributions.

Again the Download is available here: http://dffd.wimbli.com/file.php?id=8936

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.06 with working Dwarf Therapist
« Reply #28 on: August 10, 2014, 02:52:13 pm »

Updated the LNP to DF v0.40.07

Due to the labor changes it may take a little while for Splintermind, kiryl and the other open source Gods to update the DT interface/memory maps. I have released this early version for those who can play without DT.

Again a Huge Thanks to 12bay Tarn, Zach and Splintermind, kiryl, PeridexisErrant, fricy, Dwimenor and the others who work on open source!

Download is on DFFD here: http://dffd.wimbli.com/file.php?id=8936

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.07 with Dwarf Therapist
« Reply #29 on: August 11, 2014, 10:05:48 am »


Praise Splintermind! I updated the package to include Dwarf Therapist since splintermind updated it this morning

You can download the pack here: http://dffd.wimbli.com/file.php?id=8936
Pages: 1 [2] 3 4 ... 22