Adding CSQC Support to a Quake Engine.
Moderator: InsideQC Admins
47 posts
• Page 2 of 4 • 1, 2, 3, 4
ignore pr_csqc.c - that file is entirely new and should be, for the most part, a drop in addition. It does interact with the rest of the engine a bit, but hopefully not too drastically.
If you get gnu diff/patch you can do:
diff csqcwinquake vanillawinquake -r -u > moo.diff
cd myengine
patch -p 1 < ../moo.diff
hurrah for commandlines.
You need the apps to be in your path.
Any conflicts will need to be merged by hand. They'll be marked with <<<<< blah ==== blah >>>>> type characters so your compiler will complain nice and loud if it there is a conflict in there.
Be sure to back up your current engine version first.
If you get gnu diff/patch you can do:
diff csqcwinquake vanillawinquake -r -u > moo.diff
cd myengine
patch -p 1 < ../moo.diff
hurrah for commandlines.
You need the apps to be in your path.
Any conflicts will need to be merged by hand. They'll be marked with <<<<< blah ==== blah >>>>> type characters so your compiler will complain nice and loud if it there is a conflict in there.
Be sure to back up your current engine version first.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
I just noticed I already have cygwin installed. So how would I go about using creating a diff file with Cygwin?
These are the path names to the sources.
E:\QuakeEngine\Kurok
E:\QuakeEngine\WinQuakeCSQC\WinQuake
Cygwin is on the E drive as well.
These are the path names to the sources.
E:\QuakeEngine\Kurok
E:\QuakeEngine\WinQuakeCSQC\WinQuake
Cygwin is on the E drive as well.
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
Sorry if I curb the enthusiam but is there really a remote chance that merging such patch with a Fitzquake-derivate (unless Kurok changed its engine) will lead to an easy CSQC implementation? 
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
Ok In Cygwin This is what I got.
I was in
UserName@PCName /cygdrive/e/Engine
I typed in
diff Kurok WinQuake -r -u > CSQC.diff
It said bash: diff: command not found
Then in the E/QuakeEngine directory it created a
0 KB DIFF File named CSQC.diff
It doesn't do anything tho.
I was in
UserName@PCName /cygdrive/e/Engine
I typed in
diff Kurok WinQuake -r -u > CSQC.diff
It said bash: diff: command not found
Then in the E/QuakeEngine directory it created a
0 KB DIFF File named CSQC.diff
It doesn't do anything tho.
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
Is there one with a user interface? Or even one that will just copy the Functions I get when I searched Spike and CSQC in the proper place in the other files?
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
Downsider?
I am wondering what you are going to use to make all of the changes? It would be nice if you could post or pm me please? I can't get the diff to work, Maybe you could help me with it?
I am wondering what you are going to use to make all of the changes? It would be nice if you could post or pm me please? I can't get the diff to work, Maybe you could help me with it?
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
hmm i think winmerge might be something you want, i think its a comparison maker-delio-thing... http://winmerge.org/ i think i used it before :O
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
I got the cygwin diff to work.
It turns out I didn't have the correct packages installed.
I know have the patch file and have to apply it so I can test it out.
should I try using normal Quake source as a base file and choose the psp one as the other one and the CSQC one as the new one?
It turns out I didn't have the correct packages installed.
I know have the patch file and have to apply it so I can test it out.
should I try using normal Quake source as a base file and choose the psp one as the other one and the CSQC one as the new one?
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
r00k wrote:http://www.quakeone.com/qrack/csqcWinQuake.zip
Here is a winquake implementation of CSQC written by Spike i believe.
Awesome.
I might actually start messing around with CSQC now that this is available.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
I guess I will do this by hand.
Thankyou rook for the link.
Thankyou Spike for the Help.
I hope it all works well.
Thankyou!
Also, So If I am going to do this by hand, then does that mean I will only copy the functions that are teh results of the search for Spike and CSQC?
Thankyou rook for the link.
Thankyou Spike for the Help.
I hope it all works well.
Thankyou!
Also, So If I am going to do this by hand, then does that mean I will only copy the functions that are teh results of the search for Spike and CSQC?
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
Well I use ExamDIFF Pro, which is for windows and has a nice interface. The window shows side by side line by line with colored highlights over the changes. This also helps me backtrack the next morning after a late night coding to see what i messed up!
- r00k
- Posts: 1110
- Joined: Sat Nov 13, 2004 10:39 pm
47 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 1 guest
