Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - McArcady

Pages: [1] 2 3 ... 6
1
How to build:
flatpak-builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml
or if you installed the flatpak version flatpak-builder:
flatpak run org.flatpak.Builder --user --install --force-clean build com.bay12games.DwarfFortress.yaml

How to pack locally:
flatpak run org.flatpak.Builder --repo=repo --force-clean build com.bay12games.DwarfFortress.yaml
flatpak build-bundle repo com.bay12games.DwarfFortress.flatpak com.bay12games.DwarfFortress

Those are in the build.sh script of https://github.com/feng1st/dwarf-fortress-lnp-flatpak.
Nice work! Thanks for sharing.
May I ask why you did choose the KDE runtime instead of FreeDesktop or GNOME ?
I tried changing the runtime but the build of SDL_ttf then fails (missing FreeType2 library).

2
I've tested this abandoned version link and it works a charm, but it would be nice to align to a proper project like this one.
Thanks for the link!
Too bad the author does not explain how the pack is built. It would be nice to look into that.
This AppImage of the LinuxDwarfPack has the same purpose, except that for now the dependencies have to be installed manually.

3
It says that the test failed and that I should see the log for details. I'm not sure where the log is placed.
You may also try installing package 'xterm' and use this command in the terminal configuration:
"xterm -e $"

4
That did the trick for starting the game, thanks! I used the installer. Now the only problem I still have is that I can't start the dwarf hack. I'm not sure what I have to put in the terminal configuration. I put "$"
Great!
Try this:
Select "Custom command" then "x-terminal-emulator -e $"

5
Hey there folks! I just downloaded the LinuxDwarfPack but am currently having trouble getting it to start the DF game. When I open the pack through the terminal I get some of its output, and when I click on the "Play Dwarf Fortress!" button, it gives out this output:
"./libs/Dwarf_Fortress: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory"
Did you use the .rpm or the .tar.gz package?
Install package 'gtk2' and try again:
Code: [Select]
$ sudo dnf install gtk2

6
Looking for Alpine Linux users to test the new LinuxDwarfPack with Alpine/APK format, available here.

7
Edit: I filed a request for upstream LNP for the last two items: https://github.com/Pidgeot/python-lnp/issues/181
The dfhack-nightly pack has been updated with the new PythonLNP 0.14b:
https://github.com/McArcady/lnp-forge/actions/workflows/build.yml?query=branch%3Adfhack-nightly++

8
For those willing to beta-test the new DFHack-GUI, a nightly build of the pack with the latest DFHack commits is available here: 
https://github.com/McArcady/lnp-forge/actions?query=branch%3Adfhack-nightly++
I recommend testing with the Appimage version, which may be used without replacing your regular install in /opt/linux-dwarf-pack/.

9
Did you set just this up as a terminal command? In your case, you might want to add "-e" or "--command" at the end.
You're correct, that's all I had entered.  I tried adding "-e", and then later "--command" instead of "-e", but neither seem to have made progress unfortunately.
Did you try:
"Custom command" and "x-terminal-emulator -e $"

10
The LinuxDwarfPack has been updated to include DFHack 0.47.05-r5 and LegendsBrowser 2.
release r6

11
The LinuxDwarfPack has been updated to include DFHack 0.47.05-r5 and LegendsBrowser 2.

12
It probably does because the temp directory where are merged the binaries (from /opt/linux-dwarf-pack/) and config files (from ~/.local/share/linux-dwarf-pack) is unmounted when the launcher is closed.
Which launcher does this? I don't remember this being a PyLNP feature. Do you have an extra wrapper around PyLNP?
I don't think any program can reasonably be expected to function if its data files are unmounted from under it. Could the launcher keep track of the subprocesses that it launches and delay unmounting until they exit?
Yes, the LinuxDwarf Pack provides a wrapper-script around PyLNP, that mounts and run everything from a temporary filesystem (unionfs) in /tmp/lnp-XXXXXX. It is intended to keep binaries and data/config files in separate directories.
As a consequence, PyLNP is not supposed to be stopped while DFHack and the game are running. I don't see any easy way to remove this constraint.

13
Closing the launcher after starting DFHack and DF shouldn't make a difference. They're completely separate programs.
It probably does because the temp directory where are merged the binaries (from /opt/linux-dwarf-pack/) and config files (from ~/.local/share/linux-dwarf-pack) is unmounted when the launcher is closed.
The DF/DFHack process stills lives but its base directory has been unmounted.

14
Very nice! Congrats for your work.

15
Creating overlay of /home/connorm/.local/share/linux-dwarf-pack and /opt/linux-dwarf-pack in /tmp/lnp-cIqLnw...
WARNING: Field PRIESTHOOD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
WARNING: Field GUILD_UNIT_COUNTS seems to be missing from file ./df_47_05_linux/data/init/d_init.txt!
INFO: Read installed graphics (CLA) from log
nohup: ignoring input and appending output to 'nohup.out'

Try this:
Code: [Select]
$ mv /home/connorm/.local/share/linux-dwarf-pack/df_47_05_linux/data/init/d_init.txt /home/connorm/.local/share/linux-dwarf-pack/df_47_05_linux/data/init/d_init.txt.bakthen start the LNP again.

Pages: [1] 2 3 ... 6