How to install .patch files?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

How to install .patch files?

Post by pokiokio »

Hello , I'd like to know how to install .patch files please.

Thank you
Image
Prolly the youngest L2j user :P
Evilus
Posts: 387
Joined: Mon Jun 09, 2008 6:08 pm

Re: How to install .patch files?

Post by Evilus »

care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
User avatar
pokiokio
Posts: 259
Joined: Wed Mar 04, 2009 8:08 pm

Re: How to install .patch files?

Post by pokiokio »

I did search ^.^ But no proper results. Anyway..DUH
Image
Prolly the youngest L2j user :P
lishawj
Posts: 253
Joined: Thu Apr 30, 2009 12:29 am

Re: How to install .patch files?

Post by lishawj »

Either search this forum or Google the Internet on applying .diff patch, java patch, etc.

In a nutshell:

1) You apply a patch manually by cut and paste.
2) You apply a patch by using Team -> Apply Patch (Eclipse)
3) You apply a patching using Tortoise SVN

Seriously, you can learn a lot these day by simply using Google and a few good keywords.
storm3r
Posts: 8
Joined: Thu Jul 17, 2008 4:50 pm

Re: How to install .patch files?

Post by storm3r »

Evilus wrote:care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
thats got to be the most usless help i have ever read.
no person who is new to eclipse will ever be able to folow that 100%.

patching seems to be a big problem with alot of people.
anyone care to create a more detailed help file?
Evilus
Posts: 387
Joined: Mon Jun 09, 2008 6:08 pm

Re: How to install .patch files?

Post by Evilus »

storm3r wrote:
Evilus wrote:care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
thats got to be the most usless help i have ever read.
no person who is new to eclipse will ever be able to folow that 100%.

patching seems to be a big problem with alot of people.
anyone care to create a more detailed help file?
I find that very informative says exactly what you need to do

Right click on L2_Gameserver. Select Team. Select Apply Patch.
Vapulabe
Posts: 271
Joined: Wed Mar 19, 2008 10:16 am

Re: How to install .patch files?

Post by Vapulabe »

1) install Linux or FreeBSD or NetBSD or OpenBSD
2) use the SVN command to checkout the SVN repository
3) use the patch command to insert the patch
4) build the project

"svn co uri" to checkout a repository
"patch -p0 < file.diff" (or -p1, depend on the patch)
"ant" to build the project

that's not very difficult... (I'd advise Linux as you'll find a J2SE SDK from Sun, unlike *BSD who have to rely on other Java implementations)
Post Reply