[Gtkradiant] What is a "magic path word"???
LinuxManMikeC
linuxmanmikec at gmail.com
Wed Dec 6 12:56:24 CST 2006
Just wondering how it would be done for other games, for future
reference. And it would be good to explain in the documentation.
On 12/6/06, ydnar <ydnar at shaderlab.com> wrote:
> If your version of Q3Map2 already supports tremulous natively, then
> that option will not be necessary. Part of the game_t struct has a
> homedir path to look in.
>
> Randy
>
>
> On Dec 6, 2006, at 9:46 AM, LinuxManMikeC wrote:
>
> > So what would be the sytax for multiple basepaths? My guess is:
> > -fs_basepath "/usr/games/tremulous:/home/mike/.tremulous"
> >
> > On 12/6/06, ydnar <ydnar at shaderlab.com> wrote:
> >> You can supply multiple -fs_basepath arguments. Q3Map2 creates an
> >> ordered directory list of all combinations of fs_basepath and fs_game
> >> (as well as defaults).
> >>
> >> Randy
> >>
> >>
> >> On Dec 6, 2006, at 8:30 AM, LinuxManMikeC wrote:
> >>
> >> > Thanks for the reply Randy. Nice to hear it straight from the
> >> horse's
> >> > mouth :-). Looks like "tremulous" was a good guess for the magic
> >> > path.
> >> >
> >> >
> >> > However, -fs_game does not do what I'm looking for.
> >> >
> >> > -fs_game tremulous
> >> > ...gives...
> >> > /home/mike/.q3a/tremulous
> >> >
> >> > ...what I am suggesting is...
> >> >
> >> > -fs_userdir tremulous -fs_game base
> >> > ...which would give...
> >> > /home/mike/.tremulous/base
> >> >
> >> > (I know I would still need -fs_basepath :-) )
> >> >
> >> > Tremulous is no longer a Q3 mod, but a stand-alone game using
> >> the GPL
> >> > Q3 engine. When it was a Q3 mod, q3map2 would work fine as is.
> >> Now
> >> > Tremulous needs a game_tremulous.h in the source with the proper
> >> > settings (just as Jedi Knight 1 and 2, Wolfenstein, etc...). I was
> >> > just suggesting a way to specify some of these changes for future
> >> > games without changing the q3map2 source. This seems to be more
> >> of a
> >> > problem for Unix/Linux systems as all Q3-based games I've seen on
> >> > Windows don't have per-user directories, but I don't fully
> >> understand
> >> > all details of the code yet.
> >> >
> >> > Still would like to know if you'd want to merge the Tremulous
> >> support
> >> > into your dev tree when I'm finished.
> >> >
> >> > Thanks again,
> >> >
> >> > Mike
> >> >
> >> > On 12/6/06, ydnar <ydnar at shaderlab.com> wrote:
> >> >> There is the -fs_game option as well. The magic word code is only
> >> >> used as a fallback when -fs_basepath isn't specified.
> >> >>
> >> >> The code is already part of the GtkRadiant tree--it always has
> >> been.
> >> >>
> >> >> Randy
> >> >>
> >> >>
> >> >> On Dec 5, 2006, at 8:27 PM, LinuxManMikeC wrote:
> >> >>
> >> >> > Hi all,
> >> >> >
> >> >> > Working on adding support to q3map2 for the game Tremulous.
> >> >> Since Q3
> >> >> > went GPL they altered the Tremulous mod into a standalone game.
> >> >> Now
> >> >> > q3map2 doesn't know to look in user directory of .tremulous and
> >> >> > instead looks in .q3a . I got all the basics taken care of
> >> and it
> >> >> > seems to be working fine, but I have no idea what a "magic path
> >> >> word"
> >> >> > is. Can someone please explain? I currently have it set to
> >> >> > "tremulous" and it worked fine with it set to "quake" (the
> >> default
> >> >> > before my changes) and both seem to be no problem. Does it even
> >> >> > matter?
> >> >> >
> >> >> > Also, would you include this in the GTKRadiant source tree
> >> when its
> >> >> > finished? Or should I just see about Tremulous forking q3map2
> >> >> code?
> >> >> > In any case I would suggest that in addition to the -fs_basepath
> >> >> > option, to have a -fs_userpath or something to make it easier to
> >> >> > support new games. I was thinking of implementing this myself
> >> >> after I
> >> >> > finish the Tremulous code, but others are welcome to do it
> >> instead.
> >> >> >
> >> >> > Thanks,
> >> >> >
> >> >> > Mike
> >> >> >
> >> >> > _______________________________________________
> >> >> > Gtkradiant mailing list
> >> >> > Gtkradiant at zerowing.idsoftware.com
> >> >> > http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/
> >> gtkradiant
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Gtkradiant mailing list
> >> >> Gtkradiant at zerowing.idsoftware.com
> >> >> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
> >> >>
> >> >
> >> > _______________________________________________
> >> > Gtkradiant mailing list
> >> > Gtkradiant at zerowing.idsoftware.com
> >> > http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
> >>
> >>
> >> _______________________________________________
> >> Gtkradiant mailing list
> >> Gtkradiant at zerowing.idsoftware.com
> >> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
> >>
> >
> > _______________________________________________
> > Gtkradiant mailing list
> > Gtkradiant at zerowing.idsoftware.com
> > http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
>
>
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
>
More information about the Gtkradiant
mailing list