Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #36  
Old 04-17-2002, 11:32 AM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

I agree completely with Trumpcard -- diff is the way to go. Also, you'll want to use the command line options -Naur to create "proper" patch files (which can be used by the unix tool patch). So what you want to do is run in the directory above the EMU directory
Code:
diff -Naur eqemu-original/file.txt eqemu-working/file.txt > patchfile.txt
(assuming that your changes are in the eqemu-working directory and the original is in the eqemu-original directory)

Then, to apply the changes in patchfile.txt, you go to the EMU directory and run
Code:
patch -p1 < patchfile.txt
You can also have changes to multiple files or whole directories with the same system (just give the directory name instead of the file name when running diff).

You can get both diff and patch with cygwin if you're running Windows. The GNU utilities are really nice, even if they take a little time to get used to.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:18 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3