Game Development Community

Patching won't work on W2K

by Jorge Luis Gandulfo · in Torque Game Engine · 10/20/2003 (6:03 am) · 7 replies

Readed a lot of docs about patching.

Tried the patch.exe included in wincvs 1.2.

Downloaded the unixtools patch.exe.

When i try to patch i get no response from the command line, non error or anything.

Well i think im doing something wrong, but anyway i hate the patching system, you will never be sure about how it works with thouse diff head versions out there.

So when someone post a modification i guess the best choice is to explain what to do, instead of wasting time in this stupid non-sense patching system.

im trying patch -p0

can you help me out?

#1
10/20/2003 (7:02 am)
A patch is a text file... you can "see what to do".
#2
10/20/2003 (7:14 am)
Heh, feeling a little crabby?

...
ok.

during all your reading, did you manage to find the part about path?

where are you placing the patch file with respect to the source dir?

that is prolly the problem.

patch is awesome ..
it's the best way to pass code snippets around for a codebase.
it's been used by the pro's for a long time.

but Like Joshua has stated.

if you prefer the step by step
do that instead, simply read the patch learn how to interpret it, and apply it manually.
#3
10/20/2003 (7:36 am)
Josh mate, I think you're getting a little 'bitter' in your old age :-D
#4
10/20/2003 (7:49 am)
Jorge, you can try using -p3 as an option, or, as Josh said, you can open the .patch file in notepad and do it manually.

To do that, the .patch file basically tells you what file to open, what line number to go to, and there are "-" and "+" signs to tell you what to add or remove. This knowledge is very handy when the .patch doesn't get everything in(which happens especially after you've been throwing ungodly amounts of snippets at your HEAD, lol), and in that case you'll *have* to add it manually.

The other advantage to manually adding patches is that you get a better idea of what's going on in all these functions.

Hope that helps!
#5
10/20/2003 (7:50 am)
Hahaha ..
I wasnt talking to Josh myself..
I was talking to Jorge.
#6
10/20/2003 (12:39 pm)
Yeah.. maybe its me getting old..

About the path i followed the instructions about patching.

Once im in the torque main path, i call the .patch file with the complete path.

And that even didn't worked.

But i will try to add things manually i guess..

(They i will ask again, why this patch system?)
#7
10/20/2003 (12:53 pm)
Patch is awesome. One of the best things ever, of course when there's differences you can just patch it and then fix the parts that didnt patch correctly by reading the .rej (reject) files.

I wonder if Linux would even exist without patch nowadays ;)