how to use .patch?

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Mon Jun 08, 2009 4:51 am

  • this is gonna sound dumb considering i should know this, but can someone walk me through installing .patch files and make them. i use [-Z-]'s svn build system zip and a current build.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Mon Jun 08, 2009 5:48 pm

  • Mizu Kitsune wrote:this is gonna sound dumb considering i should know this, but can someone walk me through installing .patch files and make them. i use [-Z-]'s svn build system zip and a current build.


    cd into the trunk and do:
    Code: Select all
    patch -p0 < name-of-patch.patch
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Mon Jun 08, 2009 11:10 pm

Mon Jun 08, 2009 11:56 pm

  • Wait are you using NDT?

    if it's properly formated, type:

    ndt -p my_patch_name.patch 6933

    where 6933 is the 'rev_6933' folder in your dev environment or...

    ndt -p my_patch_name.patch /path/to/my/nexuiz/folder/to/patch




    to CREATE a patch

    ndt --cp my_patch_name.patch 6933

    it matches nexuiz_dev against nexuiz_vanilla and spits out a .patch file in the nexuiz_dev folder.


    This will revert a patch:

    ndt --rp my_patch_name.patch /path/to/my/nexuiz/folder/to/patch




    For more help >> ndt -h
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida

Sat Jun 13, 2009 2:37 pm

  • i run windows/unix/KitsuneOS so i can use linux scripts. my cpu doesn't have internet atm but my parents cpu does.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest