Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Dungeons & Dynasties

Football Manager meets D&D: a guild-management sim that writes its own history. · By Bretticus82

Launch bug on Arch Linux (and workaround until fixed)

A topic by bobjonesesq created 30 days ago Views: 143 Replies: 4
Viewing posts 1 to 3

Hello!

Firstly: loving this. Well done! Streamed it earlier on my twitch channel. May well stream it again (as gariusthebrit) and today's will go up on my youtube next week.

Two things:
1) worth getting it added as a game category on twitch! i was playing it under the general d&d category.

2) The game currently, as bundled, doesn't want to run on Arch Linux (at least for me!). This is because it tries to set gfx variables in a way that won't work with Wayland.

Would be great to fix this in future compiles! As right now it won't work out of the box for some people and they may never get to enjoy it.

Workaround for anyone reading this having this issue.

Before running it, open a terminal window in the same folder as you've put the app image and run:

set -x  LD_PRELOAD /usr/lib/libwayland-client.so.0

(if it moans that it can't find that library, do a locate and change the path)

this effectively overrides the faulty lib param for the duration of this terminal session

- then run ./<appimagename> to start the game.

(SHOUTOUT: The kind linux people on my discord who worked out all the above and helped me run it)

Developer

Thank you so much for playing and for leaving feedback.

I've never really looked at how Twitch works with games from Itch so this is great advice!

Will see if I can fix the issues with your download going forward!

See you in the Halls!

Heads up: the LD_PRELOAD=/usr/lib/libwayland-client.so.0 fix in this thread gets the app to launch, but it crashed when I attempted to go fullscreen.

The AppImage bundles its own WebKitGTK, GTK3, glib, GStreamer, systemd, and ICU built against Ubuntu 22.04. On Arch those fight with the system libraries. What worked for me:

  1. ./Dungeons.and.Dynasties_1.9.8_amd64.AppImage --appimage-extract
  2. Delete the bundled GTK/WebKit/glib/GStreamer/systemd libraries from squashfs-root/usr/lib
  3. Keep libxml2.so.2 (Arch is on soname 16, or install libxml2-legacy)
  4. ln -s /usr/lib/gstreamer-1.0 squashfs-root/usr/lib/gstreamer-1.0 — the app hardcodes GST_PLUGIN_SYSTEM_PATH to the bundle path, so audio stays silent without this
  5. Run ./AppRun from the extracted folder

Rule of thumb while you work through it: "undefined symbol" means a bundled library is too old — delete it. "cannot open shared object" means your system is missing it — install it or copy that one file back.

Tested on Arch with webkit2gtk-4.1 2.52.6, GTK3 3.24.52, GStreamer 1.28.6, Mesa 26.2.1.

(+1)

Still having some performance issues on Arch

Developer

Is there anything in particular if you can pinpoint or describe I can look into a fix or something that may help the build and the performance,
Let me know and I will see what I can do!