Difference between revisions of "Talk:Patching"

From NetHackWiki
Jump to navigation Jump to search
(I don't understand this)
Line 8: Line 8:
 
:Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.[[User:Addps4cat|Addps4cat]] 13:31, 7 September 2007 (UTC)
 
:Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.[[User:Addps4cat|Addps4cat]] 13:31, 7 September 2007 (UTC)
  
=== I don't understand this ===
+
=== My files don't have diffs ===
  
Like, at all.
+
Slethe is .patch, and the rest are all text files. No diffs at all. I try to change names and patch with them and it won't work: All kinds of errors it says.
 
 
Can't remember how I applied Menucolors on Nethack, but I didn't need to do any of this stuff here. When I switched on SLASH'EM, I simply copy-pasted the Color stuff from Nethack Defaults to SLASH'EM Defaults, and it worked.
 
 
 
Anyway, I'm trying to get [[SLethe]] and Underground Rivers[http://bamgames.free.fr/Slashem/patches/S0.0.7E7F2/S0.0.7E7F2-underground-rivers.txt] working. Any help?
 

Revision as of 19:02, 27 November 2007

Can someone please expand on this? As a windoze programmer I have never used patch and am trying to apply the vs2005 patch and it keeps failing and I do not understand why...

missing header for context diff at line 13 of patch

I assume you're speaking of this patch. I unpacked nethack's sources, and downloaded the vc2005-file in the source root directory, and typed
patch -p0 < vc2005

in the command line, which seems to work ok for me, but I'm on linux... Haven't tried compiling nethack with that patch either. --Paxed 14:59, 19 July 2007 (UTC)

Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.Addps4cat 13:31, 7 September 2007 (UTC)

My files don't have diffs

Slethe is .patch, and the rest are all text files. No diffs at all. I try to change names and patch with them and it won't work: All kinds of errors it says.