FuhQuake Forum Index FuhQuake
https://fuhquake.net
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Quake's Directory structure. [request]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    FuhQuake Forum Index -> General ChitChat
View previous topic :: View next topic  
Author Message
[chris]



Joined: 01 Aug 2003
Posts: 17

PostPosted: Wed Aug 13, 2003 6:55 pm    Post subject: Quake's Directory structure. [request] Reply with quote

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 Smile

Thanks.
Back to top
View user's profile Send private message
meez
Guest





PostPosted: Wed Aug 13, 2003 7:29 pm    Post subject: Reply with quote

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

PostPosted: Wed Aug 13, 2003 7:39 pm    Post subject: Reply with quote

problem is that all quake clients would have to adopt the same standard. And no longer would normal quake work.
Back to top
View user's profile Send private message MSN Messenger
Tonik



Joined: 26 Feb 2003
Posts: 103
Location: St. Petersburg, Russia

PostPosted: Fri Aug 15, 2003 6:27 pm    Post subject: Reply with quote

-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
View user's profile Send private message Visit poster's website
dkure



Joined: 26 Sep 2002
Posts: 861
Location: Sydney, Australia

PostPosted: Fri Aug 15, 2003 6:33 pm    Post subject: Reply with quote

how many clients does that work for, all?
Back to top
View user's profile Send private message MSN Messenger
Tonik



Joined: 26 Feb 2003
Posts: 103
Location: St. Petersburg, Russia

PostPosted: Fri Aug 15, 2003 10:34 pm    Post subject: Reply with quote

dkure wrote:
how many clients does that work for, all?


-basedir works everywhere including DOS Quake
_________________
8) Tonik
Back to top
View user's profile Send private message Visit poster's website
dkure



Joined: 26 Sep 2002
Posts: 861
Location: Sydney, Australia

PostPosted: Fri Aug 15, 2003 11:45 pm    Post subject: Reply with quote

thanks, this should help cleaning up my base quake dir Very Happy
Back to top
View user's profile Send private message MSN Messenger
[chris]



Joined: 01 Aug 2003
Posts: 17

PostPosted: Sun Aug 17, 2003 4:05 pm    Post subject: Reply with quote

Bleh, such commands are only known by the elite programmers Smile Quake never had good documentation on all of it's command line variables... Or much of a manual at all Smile I do remember one good site for quakeworld commands though, but that's all out the window with these new clients...
Back to top
View user's profile Send private message
Telejano



Joined: 19 Sep 2002
Posts: 120

PostPosted: Sun Aug 17, 2003 9:03 pm    Post subject: Re: Quake's Directory structure. [request] Reply with quote

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
View user's profile Send private message
Scuba Steve



Joined: 02 Oct 2002
Posts: 125
Location: Massachusetts

PostPosted: Mon Aug 18, 2003 5:28 am    Post subject: Reply with quote

This would be useful for having different setups for spectating/gl/sw. I hate getting black skins on those redone models in sw Crying or Very sad
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Gleeb



Joined: 07 Mar 2003
Posts: 6

PostPosted: Wed Sep 10, 2003 7:09 pm    Post subject: Reply with quote

Argh, crap, I knew I was forgetting something Smile
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    FuhQuake Forum Index -> General ChitChat All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

hosted by ausgamers