Replies: 1 comment 9 replies
-
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Sorry for opening that as an issue first :o )
I have compiled the latest git version of devilutionx on my computer at home (openSUSE Tumbleweed), following the guide in the docs. No issues with that.
However, this build always insists in loading assets (lua stuff etc) from the build tree, and doesn't run if those cannot be found. The binary in the release doesn't show that behavior.
I.e., if I run (from an xterm)
<path_to_build>/devilutionx
the game runs fine. If I copy the binary to ~/bin and run it from there I get a (graphical) warning that it cannot find (IIRC) lua/events.lua. I can only acknowledge, and the game closes.
Running strace (for both cases) shows that it loads (or tries to) <path_to_binary>/assets/lua/....
which of course doesn't exist for the binary in ~/bin. The binary from the official release doesn't do this, it runs without the on-disk assets directory.
I was searching whether I need some additional flags to cmake, but didn't find anything.
A hint what I'm probably doing wrong would be highly appreciated....
Beta Was this translation helpful? Give feedback.
All reactions