Tremulous Forum

Mods => Modding Center => Topic started by: Le Compilateur on May 29, 2008, 09:44:42 pm

Title: Yet Another Noob Question...
Post by: Le Compilateur on May 29, 2008, 09:44:42 pm
I have several directories to keep my multiple servers from conflicting, but I don't know if this will work or not. Each server has a different admin.dat.

Here are the directories.
Code: [Select]
/Users/me/Library/Application Support/Tremulous/server-1/
/Users/me/Library/Application Support/Tremulous/server-2/
/Users/me/Library/Application Support/Tremulous/server-3/

I am just wondering if this will actually work and whether I can give each one a different layouts folder. So if I want server-2 to have its own layouts and I put the "layouts" folder in server-2's directory, will it use the layouts in that folder and no others?

Also, does putting a separate QVM in each server's directory make it use just that QVM, or does it use the /Users/me/Library/Application Support/Tremulous/base/vm/ one no matter what I do? Because if I take the QVM out of server-3/vm/, tremded still finds one and uses it.

Sorry for the truckload of questions but I really am a n00b to how Tremulous handles filesystems.
Title: Re: Yet Another Noob Question...
Post by: David on May 29, 2008, 11:58:07 pm
If its can't find a file in its mod folder it looks in base.
The suggested way of doing it is one user per server, or at least to set fs_homepath as using fs_basepath screws with clients.
Title: Re: Yet Another Noob Question...
Post by: Le Compilateur on May 29, 2008, 11:59:48 pm
Umm k. Thanks, I will try this.
Title: Re: Yet Another Noob Question...
Post by: tuple on June 02, 2008, 12:03:47 pm
You could also run each instance as a seperate user, since the default location for configs is $HOME/.tremulous/

As far as qvm's, trem has the equivalent of a $PATH variable that may in fact be named path :P  Trem searches through the path for pk3s, qvms and I don't know what else.  The $HOME config directory is the last area searched, so try putting server specific things there (configs, qvms or even maps).  You can even copy the whole tremulous game directory (or just download the zip) and run it from within the user home directory.  That way its search path would be
Code: [Select]
$HOME/.tremulous/base
$HOME/.tremulous/
$HOME/tremulousbinarylocation/
So it would load things in the home config, but still find needed pk3s in the "install" directory.
etc, etc.  You get the picture.  It will gobble up more space and make managing it a bit of a headache, but it will work in a pinch to get the damn thing running ;)
Title: Re: Yet Another Noob Question...
Post by: Le Compilateur on June 02, 2008, 08:56:01 pm
TY for the help but I just set fs_game and it worked fine. :D :P