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

Moderator: Moderator

Post Reply
Message
Author
Akien
Low Yeek
Posts: 9
Joined: Fri Nov 22, 2013 8:41 pm

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

#1 Post 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).

grayswandir
Uruivellas
Posts: 708
Joined: Wed Apr 30, 2008 5:55 pm

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

#2 Post by grayswandir »

~/.t-engine/4.0/addons
Addons: Arcane Blade Tweaks, Fallen Race, Monk Class, Weapons Pack
Currently working on Elementals. It's a big project, so any help would be appreciated. :)

Akien
Low Yeek
Posts: 9
Joined: Fri Nov 22, 2013 8:41 pm

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

#3 Post by Akien »

Indeed, that does the trick! Many thanks :-)

Post Reply