ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sun Jun 24, 2018 8:42 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Nov 01, 2014 3:21 pm 
Offline
Low Yeek

Joined: Fri Nov 22, 2013 8:41 pm
Posts: 9
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).


Top
 Profile  
 
PostPosted: Sat Nov 01, 2014 8:37 pm 
Offline
Uruivellas

Joined: Wed Apr 30, 2008 5:55 pm
Posts: 708
~/.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. :)


Top
 Profile  
 
PostPosted: Sat Nov 01, 2014 10:42 pm 
Offline
Low Yeek

Joined: Fri Nov 22, 2013 8:41 pm
Posts: 9
Indeed, that does the trick! Many thanks :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group