How do I use patches?

Make suggestions for improving one of the best games on the net!
Post Reply
User avatar
Storm
Private First Class
Private First Class
Posts: 6
Joined: Thu Dec 26, 2002 9:32 pm
Contact:

How do I use patches?

Post by Storm » Mon Dec 30, 2002 12:05 pm

I would like to try some of the patches, but I do not have a clue how to. Could somebody give tell me please :)

User avatar
bamf.
Private First Class
Private First Class
Posts: 190
Joined: Mon Dec 09, 2002 2:31 pm
Location: New York
Contact:

what version?

Post by bamf. » Mon Dec 30, 2002 1:11 pm

What operating system are you running?
What version of BZFlag are you using?
You can get the latest version of BZFlag (1.7g0) at:
http://sourceforge.net/projects/bzflag
Just install the download (for Windows, it's self extracting).

User avatar
MrApathyCream
Dev Wizard
Dev Wizard
Posts: 66
Joined: Fri Dec 06, 2002 9:16 pm
Location: Warwick, MD
Contact:

patches

Post by MrApathyCream » Mon Dec 30, 2002 1:51 pm

Well first you need to get the source code.

You need to get a cvs client for your operating system, then pull down the latest using

cvs co -r v1_7 bzflag

Next get the patch your interested in,

and patch the source code like this

patch -p0 -i {path to patch file} -d {path to source code}

Then you need to compile the code

michaelh20
Private First Class
Private First Class
Posts: 57
Joined: Thu Dec 12, 2002 2:28 am
Location: MN USA

Post by michaelh20 » Mon Dec 30, 2002 8:12 pm

I'd recommend cygwin if you are using windows, it allows you decent enough control over cvs and patching (patch) without having to go through a whole mess to get the utilities you need.

Also tortoise cvs http://www.tortoisecvs.org/ for an easy way to use cvs

And for me at least it seems to work with patch -p1 not p0 :)

Post Reply