View previous topic :: View next topic |
Author |
Message |
[chris]
Joined: 01 Aug 2003
Posts: 17
|
Posted: Wed Aug 13, 2003 6:55 pm Post subject: Quake's Directory structure. [request] |
|
|
Fuh do you think it's possible in a version, sooner or later, to be able to define the location of everything inside quake? Examples:
sys_dir \sys
exe_dir \clients
uss_dir \screenshots
Thing's like that so the quake directory could be organized with clients in one folder (since there are so many quake clients) system files like dll files and such to have there own folder... And also possibly the ability to define paths when using fuhquake.exe +gamedir
Example:
fuhquake.exe +gamedir mods\fbca
more organization
Thanks. |
|
Back to top |
|
|
meez
Guest
|
Posted: Wed Aug 13, 2003 7:29 pm Post subject: |
|
|
maybe, but so much time for something which doesnt mke that much good... |
|
Back to top |
|
|
dkure
Joined: 26 Sep 2002
Posts: 861
Location: Sydney, Australia
|
Posted: Wed Aug 13, 2003 7:39 pm Post subject: |
|
|
problem is that all quake clients would have to adopt the same standard. And no longer would normal quake work. |
|
Back to top |
|
|
Tonik
Joined: 26 Feb 2003
Posts: 103
Location: St. Petersburg, Russia
|
Posted: Fri Aug 15, 2003 6:27 pm Post subject: |
|
|
-basedir is your friend, chris
quake/
quake/bin
quake/bin/fuhquake_security.dll
quake/bin/fuhquake.exe
quake/bin/fuh.bat
fuh.bat:
fuhquake -basedir .. -dinput -foo -bar
as for mods/, it ain't possible without breaking compatibility with almost everything out there. quake servers and clients expect the gamedir to be a single filename, not a path.
_________________
8) Tonik |
|
Back to top |
|
|
dkure
Joined: 26 Sep 2002
Posts: 861
Location: Sydney, Australia
|
Posted: Fri Aug 15, 2003 6:33 pm Post subject: |
|
|
how many clients does that work for, all? |
|
Back to top |
|
|
Tonik
Joined: 26 Feb 2003
Posts: 103
Location: St. Petersburg, Russia
|
Posted: Fri Aug 15, 2003 10:34 pm Post subject: |
|
|
dkure wrote: |
how many clients does that work for, all? |
-basedir works everywhere including DOS Quake
_________________
8) Tonik
|
|
Back to top |
|
|
dkure
Joined: 26 Sep 2002
Posts: 861
Location: Sydney, Australia
|
Posted: Fri Aug 15, 2003 11:45 pm Post subject: |
|
|
thanks, this should help cleaning up my base quake dir |
|
Back to top |
|
|
[chris]
Joined: 01 Aug 2003
Posts: 17
|
Posted: Sun Aug 17, 2003 4:05 pm Post subject: |
|
|
Bleh, such commands are only known by the elite programmers Quake never had good documentation on all of it's command line variables... Or much of a manual at all I do remember one good site for quakeworld commands though, but that's all out the window with these new clients... |
|
Back to top |
|
|
Telejano
Joined: 19 Sep 2002
Posts: 120
|
Posted: Sun Aug 17, 2003 9:03 pm Post subject: Re: Quake's Directory structure. [request] |
|
|
A interesting posible feature can be to separate textures in other folder, models in other folder, an have something like this:
/quake/texturepack/textures/
/quake/modelpack/progs/
/quake/newsounds/sounds/
and do from cmdline:
fuhquake -data texturepack -data modelpack -data newsounds -foo -bar
That can be done with a code similar to that:
Code: |
//
// -data <datadir>
// Adds datadirs similar to "-game"
//
i = 1;
while(i = COM_CheckParmOffset ("-data", i))
{
if (i && i < com_argc-1)
{
com_modified = true;
COM_AddGameDirectory (va("%s/%s", basedir, com_argv[i+1]));
}
i++;
}
//qbism// 1999-12-23 Multiple "-data" parameters by Maddes end
|
The resulting path in quake can be (path command output):
cmdline " -data modelpack -data qe1 +map dm6"
Current search path:
D:\QUAKE/qe1
D:\QUAKE/modelpack
D:\QUAKE/telejano/JOLocalMenus.tpak (44 files)
D:\QUAKE/telejano
D:\QUAKE/id1/pak4.tpak (38 files)
D:\QUAKE/id1/PAK1.PAK (85 files)
D:\QUAKE/id1/PAK0.PAK (339 files)
D:\QUAKE/id1
This show that you can have multiple dirs merged. I know the only problem is to force quake think qw or teamfortress is the latest dir, because will get cfg files from the latest dir, and put condump and other stuff in the latest dir.
|
|
Back to top |
|
|
Scuba Steve
Joined: 02 Oct 2002
Posts: 125
Location: Massachusetts
|
Posted: Mon Aug 18, 2003 5:28 am Post subject: |
|
|
This would be useful for having different setups for spectating/gl/sw. I hate getting black skins on those redone models in sw |
|
Back to top |
|
|
Gleeb
Joined: 07 Mar 2003
Posts: 6
|
Posted: Wed Sep 10, 2003 7:09 pm Post subject: |
|
|
Argh, crap, I knew I was forgetting something |
|
Back to top |
|
|
|