Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

What would be the most convenient release format for the LinuxDwarfPack?

Redhat RPM
Ubuntu SNAP
Debian DEB
Arch XZ
Docker
AppImage
Current tbz2
Other
Flatpak
Alpine

Pages: 1 ... 4 5 [6] 7 8 ... 14

Author Topic: LinuxDwarfPack-0.47.05-r8 (with DFHack r8)  (Read 97557 times)

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #75 on: April 02, 2021, 03:36:05 pm »

Yep. Works a treat for me in Ubuntu 20.04 LTS. Any chance of adding SoundSense to the pack? Just wondering.  :)
Oh, and using the Legends Viewer didn't do anything.
Can also confirm that subsequently uninstalling the DEB will screw things up. My bad.  ::)
Thanks for the test!
And yes SoundSense-RS will be included in the next pack.  :)

What exactly went wrong with Legends Browser? does it also happen with the .deb version?
If that is the case, could you try launching the pack from a terminal with:
Code: [Select]
$ /opt/linux-dwarf-pack/linux-dwarf-pack.sh
then try launching Legends Browser from the LNP interface and send me the log of the terminal.

When I go to DFHack I do:

[DFHack]# exportlegends all
Writing all files in: legends-region2-00122-07-22
exportlegends must be run from the main legends view


And double clicking Legends Browser doesn't seem to do anything (from what I see).

I run your command, and in the window double click Legends Browser. Terminal says:

Starting Dwarf_Fortress-0.47.05-r1-x86_64
- configuration and game saves are stored in /home/ronnie/.local/share/linux-dwarf-pack
- feedback or issues? see http://www.bay12forums.com/smf/index.php?topic=157712
- created with lnp-forge: https://github.com/McArcady/lnp-forge

Creating overlay of /home/ronnie/.local/share/linux-dwarf-pack and /tmp/.mount_Dwarf_3JcVWB in /tmp/lnp-8gwGM1...
Failed to get capabilities of file `bin/dwarftherapist' (Operation not supported)
INFO: Read installed graphics (Vettlingr) from log
[2021-04-02 21:33:37] SEVERE: cannot start portal server on port 58881: Address already in use (Bind failed)
[2021-04-02 21:33:37] SEVERE: cannot start portal server on port 58882: Address already in use (Bind failed)
[2021-04-02 21:33:37] SEVERE: cannot start portal server on port 58883: Address already in use (Bind failed)
[2021-04-02 21:33:37] INFO: server started on localhost:58884
cannot open path of the current working directory: Permission denied
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #76 on: April 02, 2021, 05:27:41 pm »

When I go to DFHack I do:
[DFHack]# exportlegends all
Writing all files in: legends-region2-00122-07-22
exportlegends must be run from the main legends view


"exportlegends all" may only be run safely from the 'Legends' game mode (not Fortress or Adventure), or alternatively like this (may screw your current game).
The "Bind failed" errors show that Legends Browser has already been started several times in the background, probably due to your past attempts. Try killing their java processes or restart your Linux user session.

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #77 on: April 02, 2021, 07:22:20 pm »

When I go to DFHack I do:
[DFHack]# exportlegends all
Writing all files in: legends-region2-00122-07-22
exportlegends must be run from the main legends view


"exportlegends all" may only be run safely from the 'Legends' game mode (not Fortress or Adventure), or alternatively like this (may screw your current game).
The "Bind failed" errors show that Legends Browser has already been started several times in the background, probably due to your past attempts. Try killing their java processes or restart your Linux user session.

Yep, I'm an idiot. Got DF into legends mode using:

open-legends

in DFhack. Then, again in DFhack, used:

exportlegends all

and that got me the files I needed for the legends.

But... still no luck when I double click Legends Browser. When I run your command I get:

Starting Dwarf_Fortress-0.47.05-r1-x86_64
- configuration and game saves are stored in /home/ronnie/.local/share/linux-dwarf-pack
- feedback or issues? see http://www.bay12forums.com/smf/index.php?topic=157712
- created with lnp-forge: https://github.com/McArcady/lnp-forge

Creating overlay of /home/ronnie/.local/share/linux-dwarf-pack and /tmp/.mount_Dwarf_00oSR0 in /tmp/lnp-Fp11i9...
Failed to get capabilities of file `bin/dwarftherapist' (Operation not supported)
INFO: Read installed graphics (Vettlingr) from log
[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied
/tmp/lnp-Fp11i9 unmounted.


But I can still see the data when I put:

http://localhost:58881/

into my open browser.

Anyway, no big deal, but definitely looking forward to having SoundSense soon.  :)
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #78 on: April 03, 2021, 06:07:27 am »


[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied


At startup, LegendsBrowser automatically tries to open the default browser.
That step seems to fail in your case... not sure why.

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #79 on: April 03, 2021, 09:19:04 am »


[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied


At startup, LegendsBrowser automatically tries to open the default browser.
That step seems to fail in your case... not sure why.

Got it! I have both Firefox and Brave installed. Brave is set as my default browser. If I set Firefox as my default then the Legends Browser opens no problem in Firefox. So it's Brave doing something weird.

One other possible bug somewhere: if I use the Vettlingr graphics, ESC to the menu, then return to the game sometimes the map is blank. Just the map. If I ESC and return to the game several times then eventually the map comes back. If it doesn't then I have to just save and reload. Even some announcement screens cause this. No big deal, I'll use the Afro graphics.  :)

Thanks for making this pack though. It's great!
Logged

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #80 on: April 04, 2021, 05:24:05 am »

One other possible bug somewhere: if I use the Vettlingr graphics, ESC to the menu, then return to the game sometimes the map is blank. Just the map. If I ESC and return to the game several times then eventually the map comes back. If it doesn't then I have to just save and reload. Even some announcement screens cause this. No big deal, I'll use the Afro graphics.  :)

UPDATE: I think this 'bug' is caused by the TWBT print mode. As soon as I set that to 2D it's all good. Any graphics and use TWBT and the blank map thing is back. Oh well. 2D text it is then...
Logged

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #81 on: April 09, 2021, 07:49:28 am »


[2021-04-03 01:14:20] INFO: server started on localhost:58881
cannot open path of the current working directory: Permission denied


At startup, LegendsBrowser automatically tries to open the default browser.
That step seems to fail in your case... not sure why.

Not sure if this is exclusive to this pack, or DF as a whole, but when I got my first goblin siege they started attacking my fortress and DF quit. I reloaded and I was back to the save before the siege. Siege happened again. Same again... as soon as they start attacking the fort the game quit.

Any ideas? Anything I can check??

UPDATE: changed graphics from Vettlingr to Ironhand and it didn't crash.
« Last Edit: April 09, 2021, 10:10:57 am by ronnietucker »
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #82 on: April 09, 2021, 12:28:35 pm »

Not sure if this is exclusive to this pack, or DF as a whole, but when I got my first goblin siege they started attacking my fortress and DF quit. I reloaded and I was back to the save before the siege. Siege happened again. Same again... as soon as they start attacking the fort the game quit.
Any ideas? Anything I can check??
UPDATE: changed graphics from Vettlingr to Ironhand and it didn't crash.

Interesting, with or without TwbT?
Crashes may also be investigated by reloading without DFHack.

ronnietucker

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.04 with DFHack r5
« Reply #83 on: April 09, 2021, 12:37:40 pm »

Not sure if this is exclusive to this pack, or DF as a whole, but when I got my first goblin siege they started attacking my fortress and DF quit. I reloaded and I was back to the save before the siege. Siege happened again. Same again... as soon as they start attacking the fort the game quit.
Any ideas? Anything I can check??
UPDATE: changed graphics from Vettlingr to Ironhand and it didn't crash.

Interesting, with or without TwbT?

Crashes may also be investigated by reloading without DFHack.

IronHand works fine with 2D and TTF=yes
Vettlingr was TWBT (I think). But it was giving me grief before with a blank screen when I came out of announcement/menu screens.
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #84 on: April 11, 2021, 03:37:56 pm »

I tried the Deb distribution of your LNP first on Pop_OS (an Ubuntu-based distribution). When I double-clicked it, it said it was missing Qt. So I read the instructions and tried the command line command, but it said it was missing dependencies. So I downloaded your normal Linux distribution and Dwarf Fortress ran fine out-of-the-box.
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #85 on: April 12, 2021, 02:17:15 pm »

I tried the Deb distribution of your LNP first on Pop_OS (an Ubuntu-based distribution). When I double-clicked it, it said it was missing Qt. So I read the instructions and tried the command line command, but it said it was missing dependencies. So I downloaded your normal Linux distribution and Dwarf Fortress ran fine out-of-the-box.
Thanks for reporting!
Could you try installing again on Pop_OS from a terminal and post the log here?
Code: [Select]
$ sudo dpkg -i  linux-dwarf-pack_0.47.05-r1_amd64.deb(or in a root shell, without sudo)

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #86 on: April 14, 2021, 08:47:45 pm »

Code: [Select]
User:~$ sudo dpkg -i '/home/user/Downloads/linux-dwarf-pack_0.47.05-r1_amd64.deb'
[sudo] password for User:
(Reading database ... 294385 files and directories currently installed.)
Preparing to unpack .../linux-dwarf-pack_0.47.05-r1_amd64.deb ...
Unpacking linux-dwarf-pack (0.47.05-r1) over (0.47.05-r1) ...
dpkg: dependency problems prevent configuration of linux-dwarf-pack:
 linux-dwarf-pack depends on libopenal-dev; however:
  Package libopenal-dev is not installed.
 linux-dwarf-pack depends on libsndfile-dev; however:
  Package libsndfile-dev is not installed.
 linux-dwarf-pack depends on openjdk-8-jre; however:
  Package openjdk-8-jre is not installed.
 linux-dwarf-pack depends on python-tk; however:
  Package python-tk is not installed.
 linux-dwarf-pack depends on python3-distutils; however:
  Package python3-distutils is not installed.
 linux-dwarf-pack depends on python3-pil.imagetk; however:
  Package python3-pil.imagetk is not installed.
 linux-dwarf-pack depends on qt5-default; however:
  Package qt5-default is not installed.
 linux-dwarf-pack depends on libqt5qml5; however:
  Package libqt5qml5 is not installed.
 linux-dwarf-pack depends on unionfs-fuse; however:
  Package unionfs-fuse is not installed.

dpkg: error processing package linux-dwarf-pack (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-dwarf-pack
User:~$ ▉

Spoiler: screenshot (click to show/hide)
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #87 on: April 16, 2021, 06:06:16 am »

Code: [Select]
User:~$ sudo dpkg -i '/home/user/Downloads/linux-dwarf-pack_0.47.05-r1_amd64.deb'
[sudo] password for User:
(Reading database ... 294385 files and directories currently installed.)
Preparing to unpack .../linux-dwarf-pack_0.47.05-r1_amd64.deb ...
Unpacking linux-dwarf-pack (0.47.05-r1) over (0.47.05-r1) ...
dpkg: dependency problems prevent configuration of linux-dwarf-pack:
 linux-dwarf-pack depends on libopenal-dev; however:
  Package libopenal-dev is not installed.
 linux-dwarf-pack depends on libsndfile-dev; however:
  Package libsndfile-dev is not installed.
 linux-dwarf-pack depends on openjdk-8-jre; however:
  Package openjdk-8-jre is not installed.
 linux-dwarf-pack depends on python-tk; however:
  Package python-tk is not installed.
 linux-dwarf-pack depends on python3-distutils; however:
  Package python3-distutils is not installed.
 linux-dwarf-pack depends on python3-pil.imagetk; however:
  Package python3-pil.imagetk is not installed.
 linux-dwarf-pack depends on qt5-default; however:
  Package qt5-default is not installed.
 linux-dwarf-pack depends on libqt5qml5; however:
  Package libqt5qml5 is not installed.
 linux-dwarf-pack depends on unionfs-fuse; however:
  Package unionfs-fuse is not installed.

dpkg: error processing package linux-dwarf-pack (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-dwarf-pack
User:~$ ▉

My bad, it seems like dpkg does not pull dependencies automatically.
The most efficient installation command would be:
Code: [Select]
$ sudo apt install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
(mind the './' - it may be replaced with any directory)

jecowa

  • Bay Watcher
    • View Profile
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #88 on: April 16, 2021, 10:14:23 pm »

Code: [Select]
User@pop-os:~/Downloads$ sudo apt install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
[sudo] password for User:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-dwarf-pack : Depends: libopenal-dev but it is not installed
                    Depends: libsnfile-dev
                    Depends: openjdk-8-jre but it is not installed
                    Depends: python3-tk but it is not installed
                    Depends: python3-distutils but it is not installed
                    Depends: python3-pil.imagetk but it is not installed
                    Depends: qt5-default but it is not installed
                    Depends: libqt5qml5 but it is not installed
                    Depends: unionfs-fuse
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
User@pop-os:~/Downloads$ ▉

I searched the Internet a little and discovered that "--fix-broken" is just the long form of "-f".

I'm guessing I would need to install all those libraries to get the deb package to work.

I thought it was interesting that this time it didn't tell me that libsnfile-dev and unionfs-fuse weren't installed.
« Last Edit: April 16, 2021, 10:16:16 pm by jecowa »
Logged

McArcady

  • Bay Watcher
  • working on a mysterious construction
    • View Profile
    • LinuxDwarfPack - a ready-to-play pack for Linux
Re: LinuxDwarfPack for DF 0.47.05 with DFHack r1
« Reply #89 on: April 17, 2021, 06:47:49 am »

I searched the Internet a little and discovered that "--fix-broken" is just the long form of "-f".
I'm guessing I would need to install all those libraries to get the deb package to work.
I thought it was interesting that this time it didn't tell me that libsnfile-dev and unionfs-fuse weren't installed.

Indeed, it seems that -f forces apt to fix missing dependencies.
I was able to install them along the pack with this command:
Code: [Select]
$ sudo apt -f install ./linux-dwarf-pack_0.47.05-r1_amd64.deb
Did it work on your system?
Pages: 1 ... 4 5 [6] 7 8 ... 14