Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 16 17 [18] 19 20 ... 22

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

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #255 on: April 05, 2015, 08:19:18 am »

Do you still get the readlink error or something else? Are you running "./dfhack", not ". dfhack"?
You can download the contents of the repo through git or with the "Download ZIP" option, but that will only give you text/config files.
« Last Edit: April 05, 2015, 08:21:02 am by lethosor »
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Carlo

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #256 on: April 06, 2015, 05:15:11 am »

here we go:
i've deleted the folder, extracted the latest 042... package,
then i've downloaded the whole zip from github, unpacked it and overwritten the content of the 042... folder

this is the outcome:
Code: [Select]
[ 12:12 ]  [ carlo@stronzinux:~/Scaricati/04024r2-x64 ]
 $ ls
df_linux       Lazy-Newb-Pack-Linux-master  PyLNP       startlnp
dflogo128.png  LNP                          PyLNP.json  xdg-terminal
[ 12:13 ]  [ carlo@stronzinux:~/Scaricati/04024r2-x64 ]
 $ ./startlnp
Warning: Color name "WINDOW_BACKGROUND" is not defined
xterm: unable to allocate fg/bg colors
Warning: Color name "WINDOW_FOREGROUND" is not defined
Logged

jaydabear

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #257 on: April 20, 2015, 09:32:20 pm »

Just want to say, ty guys who put this together, yall are my heros  :D

Recently had to switch to linux and it's been enough of a pain trying to figure that all out.  >:(
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #258 on: April 21, 2015, 02:00:13 pm »

here we go:
i've deleted the folder, extracted the latest 042... package,
then i've downloaded the whole zip from github, unpacked it and overwritten the content of the 042... folder

this is the outcome:
Code: [Select]
[ 12:12 ]  [ carlo@stronzinux:~/Scaricati/04024r2-x64 ]
 $ ls
df_linux       Lazy-Newb-Pack-Linux-master  PyLNP       startlnp
dflogo128.png  LNP                          PyLNP.json  xdg-terminal
[ 12:13 ]  [ carlo@stronzinux:~/Scaricati/04024r2-x64 ]
 $ ./startlnp
Warning: Color name "WINDOW_BACKGROUND" is not defined
xterm: unable to allocate fg/bg colors
Warning: Color name "WINDOW_FOREGROUND" is not defined
Sorry, did this ever get resolved? What happens if you run ./dfhack or ./df now?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

nearlyNonexistent

  • Bay Watcher
  • "What for, robbery?"
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #259 on: May 01, 2015, 01:41:22 pm »

Trying to X11 forward over SSH -- keep getting these errors in the terminal and the game refuses to start.

nohup: redirecting stderr to stdout
/tmp/_MEIhzolhN/xdg-terminal: 305: [: x: unexpected operator
/tmp/_MEIhzolhN/xdg-terminal: 402: [: xxterm: unexpected operator
/tmp/_MEIhzolhN/xdg-terminal: 409: [: x/home/server/df/lnp/df_linux/dfhack: unexpected operator
nohup: redirecting stderr to stdout
01/05/2015 01:39:32.189: *** STARTING NEW GAME ***


SDL initialization failure: couldn't find matching GLX visual.


Running TWBT, latest version of the pack, and I've installed all dependencies in the OP and all links. Any clue what'd be wrong with it? Using Debian Jessie and Xming.
Logged
Famous for stupidity and humor.

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #260 on: May 01, 2015, 01:51:33 pm »

Try downloading the latest xdg-terminal script from the GitHub repo and replacing your local copy with it.
Incidentally, what shell does /bin/sh point to? Dash?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

njkc07

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #261 on: May 16, 2015, 07:01:40 pm »

A little help please? LNP starts up just fine but when I click on play dwarf fortress I get:

Code: [Select]
/tmp/_MEIrGjr4y/xdg-terminal: 386: [: x/home/njkc07/Downloads/04024r3-x64/df_linux/dfhack: unexpected operator
nohup: redirecting stderr to stdout
nohup: failed to run command ‘exo-open’: No such file or directory

Now as I am not a proficient linux user I am sure this is something easy to fix. I am running lubuntu 15.04. Any help would be greatly appreciated. I did check stderr and stdout but they are both empty.
Logged

angelious

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #262 on: May 19, 2015, 07:32:33 am »

hate to ask but...anyone  have this for windows?
Logged

Pidgeot

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #263 on: May 19, 2015, 10:09:51 am »

A little help please? LNP starts up just fine but when I click on play dwarf fortress I get:

Code: [Select]
/tmp/_MEIrGjr4y/xdg-terminal: 386: [: x/home/njkc07/Downloads/04024r3-x64/df_linux/dfhack: unexpected operator
nohup: redirecting stderr to stdout
nohup: failed to run command ‘exo-open’: No such file or directory

Now as I am not a proficient linux user I am sure this is something easy to fix. I am running lubuntu 15.04. Any help would be greatly appreciated. I did check stderr and stdout but they are both empty.

On Linux, it is necessary to use a secondary script to open a completely independent console when you're using DFHack.

This script (xdg-terminal) is detecting your system as using XFCE; if you're using Lubuntu, I'm guessing you're actually using LXDE.

The simplest way to force the right command is to go to File > Configure terminal and type the correct command. If you are indeed using LXDE, you should type "lxterminal -e" (without the quotes).

hate to ask but...anyone  have this for windows?
http://www.bay12forums.com/smf/index.php?topic=126076.0

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #264 on: May 20, 2015, 04:38:22 pm »

Yankee14 pointed out that the keybinding files contained in this pack are outdated and don't contain some newer keybindings introduced in recent versions of DF. To fix this, you can download a .zip (or .tar.gz) file containing a fixed "keybinds" folder and copy that over the corresponding folder in your copy of the pack.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

angelious

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #265 on: May 20, 2015, 04:44:05 pm »

A little help please? LNP starts up just fine but when I click on play dwarf fortress I get:

Code: [Select]
/tmp/_MEIrGjr4y/xdg-terminal: 386: [: x/home/njkc07/Downloads/04024r3-x64/df_linux/dfhack: unexpected operator
nohup: redirecting stderr to stdout
nohup: failed to run command ‘exo-open’: No such file or directory

Now as I am not a proficient linux user I am sure this is something easy to fix. I am running lubuntu 15.04. Any help would be greatly appreciated. I did check stderr and stdout but they are both empty.

On Linux, it is necessary to use a secondary script to open a completely independent console when you're using DFHack.

This script (xdg-terminal) is detecting your system as using XFCE; if you're using Lubuntu, I'm guessing you're actually using LXDE.

The simplest way to force the right command is to go to File > Configure terminal and type the correct command. If you are indeed using LXDE, you should type "lxterminal -e" (without the quotes).

hate to ask but...anyone  have this for windows?
http://www.bay12forums.com/smf/index.php?topic=126076.0


much obliged.
Logged

i00n

  • Bay Watcher
  • Tetris gosu
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #266 on: July 02, 2015, 02:04:32 am »

Hello
I have a problem while trying to start dfhack - I get: "Not found: /data/art/Phoebus_16x16.png". So I have searched for a bit and found out that on newer linux versions i need to preload zlib so adding export LD_PRELOAD=/usr/lib/libz.so.1 to ./df made it able to start but after editing dfhack with this line i still get this "Not found" error. When dfhack is starting I get this as output:

Code: [Select]
[distro_fixes] INFO Checking whether any ARCH/distro specific fixes are required...
[distro_fixes] INFO OS: Linux
[distro_fixes] INFO ARCH: i686
[distro_fixes] INFO VER: 4.0.7-2-ARCH
[distro_fixes] INFO DF_ARCH: 32-bit
[distro_fixes] INFO DF_BIN_LOCATION: /root/Downloads/04024r3-i686/df_linux/libs/Dwarf_Fortress
[distro_fixes] INFO Done

and then it stops while popping up window with "Not found: /data/art/Phoebus_16x16.png" message.
I have no idea why export LD_PRELOAD=/usr/lib/libz.so.1 works with ./df but won't work with ./dfhack
please help
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #267 on: July 02, 2015, 06:38:37 am »

Try using PRELOAD_LIB instead (before the line that runs distro_fixes.sh).
Also, is that a 32-bit distro?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

i00n

  • Bay Watcher
  • Tetris gosu
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #268 on: July 02, 2015, 08:31:31 am »

Try using PRELOAD_LIB instead (before the line that runs distro_fixes.sh).
Also, is that a 32-bit distro?

Yay it works! Thx a bunch!
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #269 on: July 02, 2015, 08:54:26 am »

Could you try replacing distro_fixes.sh with this and see if it works without that change? (I just changed it to locate zlib on non-64-bit platforms.)
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.
Pages: 1 ... 16 17 [18] 19 20 ... 22