Game Development Community

Implementing Pathed Interior resource

by Shook · in Artist Corner · 12/10/2004 (9:22 am) · 3 replies

Has anyone here had success implementing the pathed interior resource recently?

(You can find the original resource here and the update for it here.)

I'm having trouble running the patch file. When I try to run the following command (or any variation of it), I receive a number of errors.

The main command I try:

patch -p1 pathedIntHEAD26082004.patch

I've also tried:

patch -p1 <../torque/pathedIntHEAD26082004.patch

I've tried a few variations of this command, some copped from the "patch --help" command, but the only one that gives me any kind of result is the first one listed above --

patch -p1 pathedIntHEAD26082004.patch

-- and that just gives me a long error message with this refrain:


File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line (whichever)
Perhaps you used the wrong -p or --strip option?


Anybody have any luck with this resource? Any suggestions? Thanks in advanced. :)

#1
12/11/2004 (9:06 am)
Have you tried to apply it by hand? That's what I've had to do with most of my patches-after a certain number of snippets added, patching is very hard, and manual patching becomes easier. Just my 2 cents...
#2
12/11/2004 (10:13 am)
Thanks for the response. :)

I haven't tried a manual apply yet, as it features over 10,000 lines of code that I'm not sure I'd understand. :o From what others have said, it apparently features some unnecessary changes as well. As I mentioned in the resource thread, I looked at all the code in the patch file and developed a hollow yet heavy feeling in my stomach. lol

Fortunately, it looks like Todd Harbour had the courage to start a manual merge already, and he's roughly half-way done now. I suspect his result will be more clean than the existing patch, and I'm sure I'll learn more from working from his manual merge than from getting the patch to run.
#3
01/27/2005 (9:49 pm)
I'm not done yet :(

Real Life (tm) got in the way as it always does but I'm still on it. See here (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6109) for more information.