Forum

Compile me???

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Compile me???

Postby frsotywinters » Wed Mar 15, 2006 2:43 pm

Ok im am a complete tool when it comes to doing any thing that begins with the letter c, so along with with caligraphy, compiling appears to be a no no with me!!

Ok so what do i need to compile my .qc files?? Anybody want to give me an idiots guide to compiling?? I have (well not in my possession but as soon as my robber monkey, like the one aladdin had, what was his name, apu, gets back ill have it) the Quake 3 Arena game. Does that have a built in compiler??

After i compile the .qc files what do they compile into ?? Is is a progs.dat file???
frsotywinters
 
Posts: 14
Joined: Wed Jan 25, 2006 11:34 am

Postby frsotywinters » Wed Mar 15, 2006 3:20 pm

Ok i have half answered my own question,

i managed to compile my .qc file into a progs.dat thing??

Now where do i put it in my Quake 3 Arena game??

Also i want to put my progs.dat file in that Nexiuz game so where do i put it in that??

Maybe i should give caligraphy another try aswell!!
frsotywinters
 
Posts: 14
Joined: Wed Jan 25, 2006 11:34 am

Postby lth » Wed Mar 15, 2006 4:16 pm

Maybe you should - progs.dat is the compiled game logic for Quake 1, not Quake 3...
User avatar
lth
 
Posts: 144
Joined: Thu Nov 11, 2004 1:15 pm

Postby frsotywinters » Wed Mar 15, 2006 4:22 pm

Mighty so im guessing that my shiney new progs.dat file will work in the nexuiz game so?? Dont suppose you know where i might put that??
frsotywinters
 
Posts: 14
Joined: Wed Jan 25, 2006 11:34 am

Dr. Shadowborg's Idiot Guide to QuakeC compiling.

Postby Dr. Shadowborg » Wed Mar 15, 2006 5:21 pm

1. Prerequisites (That cool ass stuff you need to know / have beforehand)

Firstly, if you think that you can run a QuakeC progs.dat file with Quake2 or Quake3 Arena, forget it. They are completly different games, and as such have different operating files. This means Quake2 and Quake3 use C/C++ based GAMEX86.DLL files, not QuakeC based PROGS.DAT files. Short of having a GAMEX86.DLL file that works as an interpreter for a PROGS.DAT file (Non-exisitant as of right now), it's not going to happen.

Second, certain custom engines for Quake that can run PROGS.DAT files, can also run Quake2 and Quake3 Maps in addition to Normal Quake maps. (Otherwise known as .bsp files.) Try Darkplaces, not too sure about Nexuiz, but since it's also based on Darkplaces, I would imagine things aren't too different.

Third, you'll need both the .qc files, and a compiler (FrikQcc recommended). Please note that you must place the frikqcc.exe file into the same directory that you have placed your .qc files. Also keep in mind that by default, a sucessfully compiled PROGS.DAT file will be placed one directory level below your current one. Therefore it is recommended that you place your frikqcc.exe and .qc files into a directory off of your gamedir called SRC. (ex. c:/games/quake/gamedir/src) Once you have successfuly compiled a PROGS.DAT file, place this PROGS.DAT file into the root of whatever gamedir your mod is named.

Fourth, to run, use something like this:
quake.exe -game gamedir

Where gamedir is the directory you have placed your PROGS.DAT file into.
User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1110
Joined: Sat Oct 16, 2004 3:34 pm

Postby frsotywinters » Wed Mar 15, 2006 5:57 pm

Sweet dude, and cheers for the detailed explaination!!!
frsotywinters
 
Posts: 14
Joined: Wed Jan 25, 2006 11:34 am

Postby FrikaC » Thu Mar 16, 2006 1:52 pm

Quake 3 uses qvm files also.
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest