Inside3D!
     

QC Folder Structure

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Junrall



Joined: 21 Sep 2009
Posts: 136
Location: North West Oregon, USA

PostPosted: Fri May 21, 2010 12:06 am    Post subject: QC Folder Structure Reply with quote

How do you folks structure your working folder... in regards to qc files, progs.src, and progs.dat?

Do you place all of your qc files, progs.src, and progs.dat into a single folder? How many of you separate your qc files into separate folders?

I, personally, like all of my qc files and .src file in one folder. I like having progs.dat compiled into my mod folder under Quake:
Code:

Quake Folder
           |
     My Mod Folder
                 |
                 progs.dat
                 QC Files Folder
                               |
                               progs.src
                               ai.qc
                               boss.qc
                               (and so on...)

Who here has their qc files located entirely out of the Quake directory?

Lol, I know these sound like noob questions, but really they aren't! I'm creating my own qc editor. (I know... yet another one?! Laughing )
I like one or two features of other programing editors, but have yet to find the same features packed into one editor. So, I'm attempting to make my own... one that is simple, has my favorite features that are easy accessible, and be able to utilize the progs.src file live.
Anyways... If I should ever release this "monstrosity" I would like it to be flexible in regards to where a user's files are located. And so, I ask the above questions to get a feel for how people like to manipulate their qc files.

Hopefully, by this weekend, I will be able to post some images in What are you working on? thread.
_________________
Good God! You shot my leg off!
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Fri May 21, 2010 9:09 am    Post subject: Reply with quote

quake/gamedir/src/progs.src
qc files in the same dir as the src file.
notepad to edit qc code
fte's 'compile;restart' console command for the qcc, resulting in the progs.dat itself being saved in the user's home dir somewhere else entirely. which is slightly annoying, but hey
I do separate qc files for ssqc/csqc/menu/common, in which case its a separate sub directory for each, the src files are always in gamedir/src/ though. no real need for other distinctions, generally.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
gnounc



Joined: 06 Apr 2009
Posts: 120

PostPosted: Fri May 21, 2010 9:40 am    Post subject: Reply with quote

I make a copy of my quake folder...rename it something like


Code:
quakeTest_Folder
     |         |
quake.exe     ID1
                |
        mod_source_folder
                         |
                         compiler.exe


using Qcide to edit the files (associated with .qc)
and a shortcut to my compiler and quake engine on the taskbar.

That way, I can have the qc file open to edit, and when I'm done
I click the compiler shortcut, progs.dat appears in the id1 folder where it should be, and then I click quake.exe and bam I'm playing my mod

(yes I know..but I'm too lazy to make a bat file)
Back to top
View user's profile Send private message
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Fri May 21, 2010 4:43 pm    Post subject: Reply with quote

Spike wrote:
quake/gamedir/src/progs.src
qc files in the same dir as the src file.
notepad to edit qc code
fte's 'compile;restart' console command for the qcc, resulting in the progs.dat itself being saved in the user's home dir somewhere else entirely. which is slightly annoying, but hey
I do separate qc files for ssqc/csqc/menu/common, in which case its a separate sub directory for each, the src files are always in gamedir/src/ though. no real need for other distinctions, generally.


I do this, except the source dir is called either qc or qcsrc, depending on the weather. I use Notepad or MSVC6 for editing now. It sucked back in the Win98 days, when Notepad couldn't edit a file larger than 32KB or so (usually client.qc). Then again, Notepad has always been about 20 years behind the times. The WinXP one still has annoying wordwrap glitch when saving (of course you shouldn't use wordwrap when coding).
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Back to top
View user's profile Send private message
Dr. Shadowborg
Inside3D Staff


Joined: 16 Oct 2004
Posts: 726

PostPosted: Fri May 21, 2010 5:00 pm    Post subject: Reply with quote

Here's how I do it these days:

quake/gamedir/src/progs.src
quake/gamedir/src/(subfolders for specific stuff, i.e. drs, fbx, frikac, wazat, etc.)

I use programmer's notepad.
_________________
"Roboto suggests Plasma Bazooka."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
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 © 2004 phpBB Group