Some aspects of upstream make OpenEnroth currently unfit for a global install. Namely, the way it looks for game resources is in $PWD; so running OpenEnroth
from terminal in /home/tea/games/mm7
will have OE look for the game resources in that directory.
We put the shaders in /usr/share/games/mm7
but right now the workflow for actually launching the game would be to install (or extract) the game files to a directory and then copy/symlink /usr/share/games/mm7/shaders
to the same directory as the game files.
There is a OPENENROTH_MM7_PATH
environment variable, but OE currently can't look in multiple paths. ie if you set OPENENROTH_MM7_PATH
to /usr/share/games/mm7:/home/tea/games/mm7
it will expect the path to be literally that.
Pinned Comments
tea commented on 2023-01-23 18:46 (UTC)
Some aspects of upstream make OpenEnroth currently unfit for a global install. Namely, the way it looks for game resources is in $PWD; so running
OpenEnroth
from terminal in/home/tea/games/mm7
will have OE look for the game resources in that directory.We put the shaders in
/usr/share/games/mm7
but right now the workflow for actually launching the game would be to install (or extract) the game files to a directory and then copy/symlink/usr/share/games/mm7/shaders
to the same directory as the game files.There is a
OPENENROTH_MM7_PATH
environment variable, but OE currently can't look in multiple paths. ie if you setOPENENROTH_MM7_PATH
to/usr/share/games/mm7:/home/tea/games/mm7
it will expect the path to be literally that.