Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 4 5 [6] 7 8 ... 10

Author Topic: Unofficial Linux Lazy Newb Pack  (Read 88310 times)

lethosor

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #75 on: August 24, 2016, 08:28:52 am »

The issue is with the xdg-terminal script not being portable. Unfortunately, that script is embedded in the PyLNP executable in some versions, so it can't easily be fixed. I would recommend upgrading to a newer PyLNP version and see if that fixes it.
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.

San-A

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #76 on: August 24, 2016, 12:05:23 pm »

The issue is with the xdg-terminal script not being portable. Unfortunately, that script is embedded in the PyLNP executable in some versions, so it can't easily be fixed. I would recommend upgrading to a newer PyLNP version and see if that fixes it.
I am on Mint 18, which is based on Ubuntu 16.04 I believe. Where can I find a newer version of PyLNP?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #77 on: August 24, 2016, 12:27:18 pm »

Yeah, that could explain it. xdg-terminal uses /bin/sh but some old versions are not compatible with dash, and that version of Ubuntu probably has /bin/sh pointing to dash.

You could try PyLNP 0.12 from https://bitbucket.org/Pidgeot/python-lnp/downloads, but I'm not a PyLNP expert, so that could break things. Make backups of anything important (or try it with a fresh copy of this pack) - there could be a good reason Enay isn't using it yet.
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.

Enay

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #78 on: August 24, 2016, 02:46:50 pm »

You could try PyLNP 0.12 from https://bitbucket.org/Pidgeot/python-lnp/downloads, but I'm not a PyLNP expert, so that could break things. Make backups of anything important (or try it with a fresh copy of this pack) - there could be a good reason Enay isn't using it yet.

No reason in particular, just a lack of free time to test it out myself.  I did notice that it asks for your terminal command at first launch, which might confuse some people.  In the little bit of testing that I have done with v0.12 I can't seem to get it to launch DFhack and Dwarf Fortress reliably.  Not sure if it's just my system though.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #79 on: August 24, 2016, 02:49:34 pm »

PyLNP will attempt to detect which terminals are available on your system. On first launch, you will be asked to select which terminal to use; only terminals available on your system will appear in the list.

PyLNP should be able to detect any of the following desktop environments and window managers:

GNOME
KDE
i3
LXDE
Mate
Xfce

as well as the following stand-alone terminals:

(u)rxvt (urxvt is used if available, else rxvt)
xterm

For other setups, you must configure a custom command.

Is it giving you a list of options, or none whatsoever? If you're using one of those systems or have (u)rxvt/xterm available, and don't see any options, I would report the issue to Pidgeot.
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.

Enay

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #80 on: August 24, 2016, 09:05:04 pm »

I get a few options, none of which work.  I was able to use the custom command and at least got a terminal window to pop up, but there was an error and it didn't do anything either.  I've gathered the log files and submitted a bug report on the repo.
Logged

San-A

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #81 on: August 25, 2016, 05:57:49 am »

You could try PyLNP 0.12 from https://bitbucket.org/Pidgeot/python-lnp/downloads, but I'm not a PyLNP expert, so that could break things. Make backups of anything important (or try it with a fresh copy of this pack) - there could be a good reason Enay isn't using it yet.

No reason in particular, just a lack of free time to test it out myself.  I did notice that it asks for your terminal command at first launch, which might confuse some people.  In the little bit of testing that I have done with v0.12 I can't seem to get it to launch DFhack and Dwarf Fortress reliably.  Not sure if it's just my system though.
Seems to work for me (Mint 18), although it does indeed ask for terminal configuration. I haven't tried DFhack yet
Logged

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #82 on: August 25, 2016, 09:40:18 am »

I have just installed the 43.03 r3 version and it works fine.  Thanks again.  That said...

I get ugly red messages when DFHack fires up, regarding it not being able to load Stonesense and advising me to change setting to use TWBT.  I have no intention of using Stonesense (not chosen in PyLNP) or TWBT (running 2D mode).  As far as I can tell there is no import to the messages but I have been unable to find the init/script which presumably tries to load the plugins... I did manage to find and get rid of a similar 'multilevel' message by commenting out multilevel=0, or something like that, in one of the DFHack init's (multilevel was already turned off in PyLNP).  It's all pretty trivial but those red messages hurt my eyes.  ;D
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #83 on: August 25, 2016, 09:48:00 am »

Plugins are always loaded. The stonesense error could be due to you not having libjpeg or libpng installed (check stderr.log for stonesense-related messages), so you could either install the i386 versions of those or remove hack/plugins/stonesense.plug.so. As for TwbT, there's not much you can do besides removing that from hack/plugins/ too.
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.

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #84 on: August 25, 2016, 10:10:25 am »

Thank you.  My misunderstanding.

Removing the plugins works for me.  :)

p.s. You were also right that I was missing a 32 bit version, libpng12, as it turns out.
Logged

AlexSpace

  • Escaped Lunatic
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #85 on: August 31, 2016, 10:26:56 pm »

Thanks for this Pack! I have 2 questions:

1) How to run DF in fullscreen mode? It it possible or not?
2) Dwarf Therapist doesn't see open game when I trying to run it. How to lunch this one? Somebody posted that it not works on linux anymore. Is it true?
Logged

Enay

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #86 on: August 31, 2016, 10:41:12 pm »

Thanks for this Pack! I have 2 questions:

1) How to run DF in fullscreen mode? It it possible or not?
2) Dwarf Therapist doesn't see open game when I trying to run it. How to lunch this one? Somebody posted that it not works on linux anymore. Is it true?

1) You should be able to get to full screen mode by going to the advanced tab and set the Windowed setting to No.
2) How are you launching the pack?  If you launch it with the included startlnp script, it does some background magic to make sure Therapist can talk to DF correctly when launched.  That said, in  my experience Therapist ALWAYS opens before DF and throws an error.  Once I have a fortress loaded up though, I'm able to hit the connect button and it works at that point.
Logged

AlexSpace

  • Escaped Lunatic
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #87 on: September 01, 2016, 09:40:48 am »

1) Thanks! But now I don't understand how to alt+tab to desktop from fullscreen? It not working.

2) I lunching startlnp then I clicking to "Play Dwarf Fortress!" and loading my saved fortress with dwarfs (even if I trying new embark). Then I lunching Dwarf Therapist through PyLNP -> Utilities -> DwarfTherapist
It opening with "No Game Loaded" small window:
A fort has not been loaded.
Please re-connect when Dwarf Fortress has been started and a fort has been loaded.

I tried to understand what's going on and lunch startlnp in terminal:

Code: [Select]
alex@space ~/games/DF43.03 $ sh ./startlnp
./startlnp: 35: ./startlnp: xterm: not found
Gtk-Message: Failed to load module "atk-bridge"
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Resetting textures
Resetting textures
2016-Sep-01 20:28:03.100 INFO core Dwarf Therapist "37.0.0" starting normally. [src/dwarftherapist.cpp:175] (setup_logging)
2016-Sep-01 20:28:03.100 INFO core Runtime QT Version 4.8.7 [src/dwarftherapist.cpp:176] (setup_logging)
2016-Sep-01 20:28:03.457 INFO core beginning to read settings [src/dwarftherapist.cpp:202] (read_settings)
2016-Sep-01 20:28:03.479 INFO core finished reading settings [src/dwarftherapist.cpp:253] (read_settings)
2016-Sep-01 20:28:03.532 INFO core attempting connection to running DF game [src/mainwindow.cpp:404] (connect_to_df)
2016-Sep-01 20:28:03.534 INFO core adding valid layout "v0.42.06 linux" checksum: "0x6ffd260f" SHA: "10203b4ffa91ab6cc1e479dd6b809ef214cbb0fe" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.536 INFO core adding valid layout "v0.42.05" checksum: "0xde7a048b" SHA: "9e0f2039f008546517997c08c41f318f98a79d7b" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.538 INFO core adding valid layout "v0.42.04" checksum: "0xddd87cd8" SHA: "cbce922a4dae18a4e59e5d904da96d01a5be7b2e" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.540 INFO core adding valid layout "v0.42.03" checksum: "0x1313e22c" SHA: "d81b90aafff9af84b4d6723a600f61099ea32da6" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.541 INFO core adding valid layout "v0.42.02" checksum: "0x79b0a9a1" SHA: "ec6a3c43d97c096f997bdd22e39921b065326ad9" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.543 INFO core adding valid layout "v0.42.01" checksum: "0x5feb615a" SHA: "00f2d47192b17c96b0787205b7b241ae15184233" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.544 INFO core adding valid layout "v0.43.03" checksum: "0xdf4ffde3" SHA: "a79c9a734d3af0631e91a2c1aad5285c65ab200f" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.546 INFO core adding valid layout "v0.43.02" checksum: "0x3c048bd0" SHA: "efe236ee1921468def7d24f1018afcd912ca5042" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.551 INFO core Dwarf fortress path: "/home/master/games/DF43.03/df_linux" [src/dfinstancelinux.cpp:297] (find_running_copy)
2016-Sep-01 20:28:03.590 INFO core Setting memory layout for DF checksum "0xdf4ffde3" [src/dfinstance.cpp:1070] (set_memory_layout)
2016-Sep-01 20:28:03.590 INFO core Detected Dwarf Fortress version "v0.43.03" using MemoryLayout from "/home/master/games/DF43.03/LNP/utilities/dwarf_therapist/share/memory_layouts/linux/v0.43.03.ini" [src/dfinstance.cpp:1075] (set_memory_layout)
2016-Sep-01 20:28:03.590 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bbc" TO 0x7fffec1da540 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.590 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bc0" TO 0x7fffec1da548 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb0" TO 0x7fffec1da540 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb4" TO 0x7fffec1da548 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.596 INFO core Checking for layout for checksum:  "0xdf4ffde3" [src/updater.cpp:138] (check_layouts)
2016-Sep-01 20:28:04.367 INFO core Setting memory layout for DF checksum "0xdf4ffde3" [src/dfinstance.cpp:1070] (set_memory_layout)
2016-Sep-01 20:28:04.367 INFO core Detected Dwarf Fortress version "v0.43.03" using MemoryLayout from "/home/master/games/DF43.03/LNP/utilities/dwarf_therapist/share/memory_layouts/linux/v0.43.03.ini" [src/dfinstance.cpp:1075] (set_memory_layout)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bbc" TO 0x7fffec1da660 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bc0" TO 0x7fffec1da668 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb0" TO 0x7fffec1da660 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb4" TO 0x7fffec1da668 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.377 WARNING core lost connection to DF [src/mainwindow.cpp:465] (lost_df_connection)
2016-Sep-01 20:28:04.379 ERROR core ("No Game Loaded", "A fort has not been loaded.", "", "") [src/mainwindow.cpp:487] (lost_df_connection)

And after logs I found problem. If somebody have the same problem use:
sudo sh ./startlnp

Now it works perfect!
Logged

bassmannate

  • Bay Watcher
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #88 on: September 13, 2016, 07:41:04 am »

1) Thanks! But now I don't understand how to alt+tab to desktop from fullscreen? It not working.

2) I lunching startlnp then I clicking to "Play Dwarf Fortress!" and loading my saved fortress with dwarfs (even if I trying new embark). Then I lunching Dwarf Therapist through PyLNP -> Utilities -> DwarfTherapist
It opening with "No Game Loaded" small window:
A fort has not been loaded.
Please re-connect when Dwarf Fortress has been started and a fort has been loaded.

I tried to understand what's going on and lunch startlnp in terminal:

Code: [Select]
alex@space ~/games/DF43.03 $ sh ./startlnp
./startlnp: 35: ./startlnp: xterm: not found
Gtk-Message: Failed to load module "atk-bridge"
Sound devices available:
OpenAL Soft
Picking OpenAL Soft. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Perfect OpenAL context attributes GET
Loading bindings from data/init/interface.txt
Resetting textures
Resetting textures
2016-Sep-01 20:28:03.100 INFO core Dwarf Therapist "37.0.0" starting normally. [src/dwarftherapist.cpp:175] (setup_logging)
2016-Sep-01 20:28:03.100 INFO core Runtime QT Version 4.8.7 [src/dwarftherapist.cpp:176] (setup_logging)
2016-Sep-01 20:28:03.457 INFO core beginning to read settings [src/dwarftherapist.cpp:202] (read_settings)
2016-Sep-01 20:28:03.479 INFO core finished reading settings [src/dwarftherapist.cpp:253] (read_settings)
2016-Sep-01 20:28:03.532 INFO core attempting connection to running DF game [src/mainwindow.cpp:404] (connect_to_df)
2016-Sep-01 20:28:03.534 INFO core adding valid layout "v0.42.06 linux" checksum: "0x6ffd260f" SHA: "10203b4ffa91ab6cc1e479dd6b809ef214cbb0fe" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.536 INFO core adding valid layout "v0.42.05" checksum: "0xde7a048b" SHA: "9e0f2039f008546517997c08c41f318f98a79d7b" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.538 INFO core adding valid layout "v0.42.04" checksum: "0xddd87cd8" SHA: "cbce922a4dae18a4e59e5d904da96d01a5be7b2e" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.540 INFO core adding valid layout "v0.42.03" checksum: "0x1313e22c" SHA: "d81b90aafff9af84b4d6723a600f61099ea32da6" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.541 INFO core adding valid layout "v0.42.02" checksum: "0x79b0a9a1" SHA: "ec6a3c43d97c096f997bdd22e39921b065326ad9" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.543 INFO core adding valid layout "v0.42.01" checksum: "0x5feb615a" SHA: "00f2d47192b17c96b0787205b7b241ae15184233" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.544 INFO core adding valid layout "v0.43.03" checksum: "0xdf4ffde3" SHA: "a79c9a734d3af0631e91a2c1aad5285c65ab200f" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.546 INFO core adding valid layout "v0.43.02" checksum: "0x3c048bd0" SHA: "efe236ee1921468def7d24f1018afcd912ca5042" [src/dfinstance.cpp:107] (DFInstance)
2016-Sep-01 20:28:03.551 INFO core Dwarf fortress path: "/home/master/games/DF43.03/df_linux" [src/dfinstancelinux.cpp:297] (find_running_copy)
2016-Sep-01 20:28:03.590 INFO core Setting memory layout for DF checksum "0xdf4ffde3" [src/dfinstance.cpp:1070] (set_memory_layout)
2016-Sep-01 20:28:03.590 INFO core Detected Dwarf Fortress version "v0.43.03" using MemoryLayout from "/home/master/games/DF43.03/LNP/utilities/dwarf_therapist/share/memory_layouts/linux/v0.43.03.ini" [src/dfinstance.cpp:1075] (set_memory_layout)
2016-Sep-01 20:28:03.590 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bbc" TO 0x7fffec1da540 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.590 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bc0" TO 0x7fffec1da548 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb0" TO 0x7fffec1da540 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.591 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb4" TO 0x7fffec1da548 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:03.591 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:03.591 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:03.596 INFO core Checking for layout for checksum:  "0xdf4ffde3" [src/updater.cpp:138] (check_layouts)
2016-Sep-01 20:28:04.367 INFO core Setting memory layout for DF checksum "0xdf4ffde3" [src/dfinstance.cpp:1070] (set_memory_layout)
2016-Sep-01 20:28:04.367 INFO core Detected Dwarf Fortress version "v0.43.03" using MemoryLayout from "/home/master/games/DF43.03/LNP/utilities/dwarf_therapist/share/memory_layouts/linux/v0.43.03.ini" [src/dfinstance.cpp:1075] (set_memory_layout)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bbc" TO 0x7fffec1da660 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bc0" TO 0x7fffec1da668 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb0" TO 0x7fffec1da660 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.367 ERROR core READ_RAW: "Operation not permitted" READING 4 BYTES FROM "0x09c41bb4" TO 0x7fffec1da668 [src/dfinstancelinux.cpp:166] (read_raw)
2016-Sep-01 20:28:04.367 ERROR core attach: Operation not permitted attaching to PID 25553 [src/dfinstancelinux.cpp:96] (attach)
2016-Sep-01 20:28:04.367 ERROR core Unable to open "/proc/25553/mem" [src/dfinstancelinux.cpp:148] (read_raw_ptrace)
2016-Sep-01 20:28:04.377 WARNING core lost connection to DF [src/mainwindow.cpp:465] (lost_df_connection)
2016-Sep-01 20:28:04.379 ERROR core ("No Game Loaded", "A fort has not been loaded.", "", "") [src/mainwindow.cpp:487] (lost_df_connection)

And after logs I found problem. If somebody have the same problem use:
sudo sh ./startlnp

Now it works perfect!

I'm having this same problem. If I run startlnp as sudo, it detects my game, but it's unable to draw the interface. Anyone have any ideas?
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Unofficial Linux Lazy Newb Pack
« Reply #89 on: September 15, 2016, 10:28:58 pm »

Just saying, thanks for this. I've taken bit of putting around to change settings to how I like them (away from phoebus to vanilla, tileset-related unfucking, init settings)

This got paused for bit - I managed a situation where dfhack and only dfhack would crash every time on loading the region for new embark after it does the 2 weeks history pass -nailed it to editing d_init.txt embark rectangle to 16:16.

Interestingly, 15x15 (halfway through loading one realized memory issue and killed fox) works, but is frozen in size and 4 squares north to the expected area.

Also, the resultant square actually does covers area north of embark selection - tested with a river cross on region tile to the north.

I guess the culprit is embark-tools...But I guess multi-region embarks are actually possible now, if not having tools for them - neat. I've certainly seen fair few embarks that would have gotten additional biome, river or a volcano with that.

*fixes init options*
Pages: 1 ... 4 5 [6] 7 8 ... 10