Author Topic: Patches  (Read 5795 times)

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Patches
« on: April 16, 2007, 05:23:42 pm »
Ok ive seen and heard about all these patches but i cant figure out how to get them to function/operate/work.
I tryed google and come up with 310,000 things but not one explains anything useful.

Can someone help with with patching and how it works

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Patches
« Reply #1 on: April 16, 2007, 05:42:28 pm »
download the source, apply the patch, compile it.
There are guides around on here for the downloading and compiling.
The patching is just a standard patch.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Patches
« Reply #2 on: April 17, 2007, 03:33:38 am »
Ok thanks David ill have to look around on here to see if i can get it to work.

twilight

  • Posts: 107
  • Turrets: +0/-0
Patches
« Reply #3 on: April 17, 2007, 04:29:57 am »
patching is for developers who want to edit and recompile the source code...normal players shouldn't worry about it.
rder of Resistance Clan Leader

Check us out at http://ResistanceOrder.Cjb.In

sleekslacker

  • Posts: 407
  • Turrets: +10/-35
Patches
« Reply #4 on: April 17, 2007, 04:57:59 am »
and for server operators who want to tweak their server features.
y last name is Jones, the family motto is "Jones' never give up!"

Currently ignoring all of your spams.

[NubS] Rabbitt

  • Posts: 56
  • Turrets: +0/-0
Patches
« Reply #5 on: April 17, 2007, 05:04:23 am »
Thats why im asking i wanna make sure im up to date with al the bug fixes and all.

Death_First

  • Posts: 141
  • Turrets: +4/-6
Patches
« Reply #6 on: April 29, 2007, 02:15:09 pm »
i cant figure out how to apply the patchs do u just throw them in the svn code?


and on another note: Can u apply 2 or more patchs to the svn code at the same time?

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Patches
« Reply #7 on: April 29, 2007, 03:51:08 pm »
download whatever revision from SVN
download patchfile and put in the root directory of the downloaded svn tree
patch -p0 < patchfile.patch
If it fails saying "can't find file, here's the first 5 lines blah blah", change -p0 to p1. If same, try p2
If one or more "hunks" fails, then you're trying to apply it to a revision that it wasn't made for and something about the code it's looking for has changed and thus the patch isn't compatable.

Applying 2 patches at once is fine, with the caveat that if they are trying to modify a same bit of code, the second will have the "hunks" failing error and it won't work.

.patchfiles are human-readable. If something fails and you are ambitious, you can often go "apply" it manually yourself to the code.

f0rqu3

  • Guest
Patches
« Reply #8 on: April 29, 2007, 05:09:37 pm »
that is what I got from a google search
http://images.google.com/images?q=patches

Death_First

  • Posts: 141
  • Turrets: +4/-6
Patches
« Reply #9 on: April 29, 2007, 10:49:35 pm »
Quote from: "f0rqu3"
that is what I got from a google search
http://images.google.com/images?q=patches

XD!!!!!!!