Page 1 of 1

Search for addons in ~/.t-engine/4.0 on Linux

Posted: Sat Nov 01, 2014 3:21 pm
by Akien
Hi there,

I have t-engine4 and ToME installed system wide on Linux in /usr/share/games/t-engine4
I know that to install an addon I should add it in /usr/share/games/t-engine4/game/addons, but I would like to have the possibility to let a normal user (and not root) handle the addons, and therefore be able to place addons in the user directory in ~/.t-engine/4.0
I've tried to place the Ashes of Urh'Rok addon in ~/.t-engine/4.0/game/addons, but it doesn't seem to work, so unless I'm guessing the path wrong, I guess t-engine does not support loading addons from the user directory.

I've had a quick look at the source code but could not find an easy way to add the user path to the virtual filesystem (mostly because I don't speak lua that well yet).

I'd like to patch this for Mageia's package, so that I can also advertise the new addon in the description and give installation instructions to the users (without having to ask them to put files in /usr which is not meant to be fiddle with by end users).

Re: Search for addons in ~/.t-engine/4.0 on Linux

Posted: Sat Nov 01, 2014 8:37 pm
by grayswandir
~/.t-engine/4.0/addons

Re: Search for addons in ~/.t-engine/4.0 on Linux

Posted: Sat Nov 01, 2014 10:42 pm
by Akien
Indeed, that does the trick! Many thanks :-)