H: Jonson <jonson@ms5.url.com.tw>
: patch-author <patch-author@miau.hort.ntu.edu.tw>
D: BinPatch 3.0g ²(G)
: 1999~43 AM 06:16

janAڬO Jonson

ѩWGA|AGɤW㪺

o@ BinPatch sW[HUO:
=============================================================================
History Patch (SW Multiversion Patch) h Patch AH -l  -m  -q  -s  -v -z OСC

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
BinPatch 3.0g ²   Written by Johnson Wu   E-mail:fwbook@ms25.hinet.net
                                                               Date: 1999/4/2
@̺: http://www.kayhayen.com
=============================================================================

BinPatch O@MѼwH Kay Hayen Ҭo@Mɮ patch {AتOϥΪ
ھڨӷsªɮפtӲͤ@Ӥpnɮ (²٬ patch )A Ө
LHuݭnQγoӤpɮקYiNªɮഫsI

ť_ZAO]\H|Go}_I HKWN@dn
 patch ɡK

TAXӤWnҦpGRTPatch, WinPatch, MDIFF...۷ƶq
̡ALJMO BinPatchAo BinPatch XOҩ~ڡC

]ڧ@F@z@UG

  zwwwwwswwwwwwwswwwwwwwswwwwwswwwwww{
  x          x   BinPatch   x   RTPatch    x WinPatch x   MDIFF    x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  xϥ²ʢx     e     x     ·     x   A   x    e    x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  xAΪ@~xDOS,Win31/95/ xDOS,Win31/95/ x Win95/98 xDOS,Win95/98x
  xx      x98/NT,OS/2,   x98/NT,OS/2,   x          x            x
  x          xLinux         xLinux Ψ䥦..x          x            x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  x۰ʷjMɢx     iH     x     iH     x      x        x
  x        x              x              x          x            x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  x۰ʷjMnx              x              x          x            x
  x      x     iH     x     iH     x      x        x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  xROCάOx              x              x          x            x
  xGUI   x          x          x Ȧ GUI x uROC x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  xͪɮעx              x              x          x            x
  xjp      x      p      x     ܤj     x   ܤj   x        x
  uwwwwwqwwwwwwwqwwwwwwwqwwwwwqwwwwwwt
  xƦhx              x              x          x            x
  xpatch \x            x            x      x        x
  |wwwwwrwwwwwwwrwwwwwwwrwwwwwrwwwwww}

ѦҤW椧AzO_ BinPatch U_F@IHߩOH

Uڭ̥ܽd@հ򥻪ΪkG

            GenPatch  c:\old  c:\new  patch
            ---+----  --+---  --+---  --+--
               |        |       |       |
               |        |       |       nͪ patch ɦW
               |        |       sɮ
               |        lɮ
               BinPatch D{

HWRON| c:\old H c:\new ӥؿUҦɮ (]Alؿ)AåB
ӤGͤ@ӦW٬ patch.utp ɮסAЪ`NGɦW .utp O{۰ʥ[
WhAҥHݭnۦK[C

Ūo̡Azi|P_Ǭ󲣥ͪɮרëDO(.exe)OH ]WҤl
uO²檺ΪkA .utp 榡 patch ɦ]వ۰ʭקɮתʧ@AҥHn
M BinPatch t@Ӫ[{ DoPatch.exeAϥΪkpUG

DoPatch test.utp

Ъ`NGϥ DoPatch ɡAϥΪ̥nw@ӧ㪺ɦWA] .utp ]nۦ[
        J~iHC

򰵤~ಣͧڭ̭n۰ʭק (SelF-Applying, HU²٬ SFA) OH

бz{ѲĤ@ӰѼƤeD`D`nƭniDzA b BinPatch Ҧ
ƳjpgϧOAҦpG -a M -A OPѼơAаȥOoI

OkA "-s" Oz@wnOoѼơA\NO SFA ɡC UOdҡG

GenPatch c:\old c:\new patch -s

ѤWҤlڭ̥iHo patch.exe ɡC

LA٦@ӰDAlɮ׳Q patch.exe ק粒Aoɮ׷|쨺̥h
OH YɶQܡAlɮפ@w|sbӳnҦbmW٬ "backup" 
ؿUCҦpAb c:\test קɮסAhlɮ׳̫Nsb c:\test\backup UC
"backup" oӥؿO patch ɮפ SFA ۤvͪAziO²ªhLy@
I :-)

t@ӦΪ\٬ "History Patch" S٬ "h Patch"C "h Patch"H
ڭ̮ɱ`ݹL\hnbXsɡA Ӥq|bWѤɯϥΪ̤U
AҦpGɯɪϥλ|zK "{Ȩ 1.1, 1.2  1.5 ϥΪ̤
Ũ 2.0 K"AMAo patch ɨäuw@ɯšAӬOӪ
Τ᳣AΡC

BinPatch ]ѳoرjj\I 򰵩OH k²Aڭ̥HW쪺p
ܽd "h Patch" ΪkG

GenPatch c:\v11 c:\v12 c:\v15 c:\v20 upgrade -s
         ------ ------ ------ ------
                          

 BB եؿsUӤPɮסA ̫@()sɮסAo˩
ͪ patch  (upgrade.exe) N֦TؤPϥΪ̤ɯŨ 2.0 FI

ݨo̪Ū̥߱zAwg~աI 򥻤WAu -s oӰѼƤ]wgܰΤFA
]ڱNoӻⳡA qHU}lbqO䥦ѼƨϥΤСAYO
z]iHѦҤ@UC
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

BinPatch 3.0g Ѽƨϥλ (Used for GenPatch)
==========================

ѼƦW    ^W    γ~
-------- ---------------- ---------------------------------------------------
  @file                   file OҦѼƶAH欰ѼƤjšAr # 
                          ѦCɮפiAIs䥦ѼɡC
-------- ---------------- ---------------------------------------------------
  -a           All         BinPatch BzҦɮסC [W -a iH@ֳBz
  -all                    ɡC
-------- ---------------- ---------------------------------------------------
  -b          Backup      wlɮשҭns񪺥ؿC Y[WѼƫhw]
                          ؿ "Backup"C

                          d: -b="Backup Directory"
                                -b=OldFiles
                                -nobackup
                                -backup=none
                                -backup=no
-------- ---------------- ---------------------------------------------------
  -c         Comment      N patch ɥ[WYѤrC b patch ɰɷ|
  -comment                qXϥΪ[ݡC

                          d: -c="ѪW 10 x 76 Ӧr\niHC"
                                -c=@comment.txt

                           1: "\n" OSŸAiѦ۰ʴC
                           2: "@comment.txt" w comment.txt ɪe
                                ѡC
-------- ---------------- ---------------------------------------------------
  -cache      cache       Preserve patch information for later reuse. May 
                          speed up your testing of BinPatch options to just 
                          enter and be done once you have created the patch 
                          information for files. When you change a single file
                          not all other information needs to be renewed. While
                          BinPatch is so really fast that you may not need it
                          in most cases, this option is a big helper if you 
                          got some hard nuts for BinPatch in your software.
-------- ---------------- ---------------------------------------------------
  -d          Delete      b patch ɮ׮ɡARwɮסC

                          d: -d="a secret file.doc"
                                -d=security.sys
                                -d=file*.hlp
-------- ---------------- ---------------------------------------------------
  -e          exact       This option makes sense in directory mode only. It 
  -exact                  will force that only filenames with exactly the same
                          filename are considered when it comes to selecting 
                          how to produce a file in the end state. You disable 
                          autodetection for the file using this option. If no 
                          file with the same name is present, the effect is 
                          the same as -nopatch since when no creation path is
                          found, GenPatch must include the file without 
                          producing it by patching.

                          d: -exact="filename with spaces"
                                -exact=pattern
                                -e=pattern
                                -e
-------- ---------------- ---------------------------------------------------
  -f          force       j patchAɮקۦPC
  -force
                          d: -f
                                -f=*
                                -force
                                -force="filename with spaces"
                                -force=pattern

                           1: eTӽdҬOۦPC
                           2: GӶȭϥΩ directory modeC
-------- ---------------- ---------------------------------------------------
  -h           help        GenPatch ²ykTC
  -help
-------- ---------------- ---------------------------------------------------
  -i          Ignore      wBzɮסAO̰uBzvC
  -ignore
                          d: -i="filename with spaces"
                                -i=file.b?k
-------- ---------------- ---------------------------------------------------
  -j      no-compression  BinPatch ئYtΡA ҥHsyXӪ patch ɹ
                          ڤWwgYLFA pGzFYǲzѤ@NYA
                          hiHϥ -j Y\C

                          : аѾ\ -z ѼơC
-------- ---------------- ---------------------------------------------------
  -k           Key        oO BinPatch D`n\A \S٬Gn
  -key                    jM(registry searching)C

                          ڭ̱Ns@n patch ɥᵹLHήɡAnҼ{
                          ϥΪ̦bϥΤWKQʡA pGϥΪ̤дon
                          b@ӥؿUϥ, un@ patch ɴNରڭ̧
                          ҦƱ, OܤK?

                          q`nwˤA |bnɸYdUɮצs񪺸
                          |C

                          bڭ̰]Hns边@ key G
                          "HKEY_CURRENT_USER\Software\My Program"

                          ] key W (key name) G "InstDir"
                          ] key  (key value) G
                          "C:\Program Files\My Application"

                          hϥΥHUROi patch ɰ^ key ȡG
                          -k="HKEY_CURRENT_USER\Software\My Program\InstDir"

                          hG| BinPatch ۰ʤG
                          "C:\Program Files\My Program" ؿUקɮסC

                          S]b HKEY_CURRENT_USER\Software\My Program"
                          o key t@ӹw] (default)ChiΤUCR
                          O BinPatch ۰^ȡG
                          -k="HKEY_CURRENT_USER\Software\My Program\"

                          yH|o{hF@ "\" ŸA ӥ[W "\" NN
                          OŪw](default)C

                          d: 
                          -key="\HKEY_LOCAL_MACHINE\Software\YourApp\YourValue"
                          -key=HKEY_LOCAL_MACHINE/Software/YourApp/YourValue
                          -k=HKLM\Software\YourApp\ThisKeysDefaultValueToTake\


                          -K=@RegManip.reg,HKLM/Software/YX/Install,yourmain.exe,r
                          (not implemented yet)
                          Specify a registry manipulation to be done after 
                          successfully applying the patch file. The file given
                          is expected to be in REGEDIT4 file format as output
                          by the registry editor on Win32 platforms. A single
                          exception: You specify a single replacement character
                          that is being replaced with the contents of the 
                          specified registry key contents at runtime. Ie. all
                          occurances of %r in the values will be replaced with
                          what is found on the client machine at the time the
                          patch is applied. You are free to choose any numeric
                          or alpha character and the replace marking is case 
                          sensitive. The manipulation requires full access to
                          manipulated keys and read access to the lookup key.
                          To maximize use of this, you can specify a base 
                          value which is known to be always present and that 
                          e.g. parts a path part that you want to replace 
                          elsewhere from the not needed filename.
-------- ---------------- ---------------------------------------------------
  -l         Log file     N BinPatch  patch ɪL{sO(log)C
                          ] patch ɪW٬ test.exe h log ɱNRWG
                          test.logC

                          d: -l=txt
                                -l=htm
                                -l

                           1: "txt" Oإ߯¤rA log ɡC
                           2: "htm" ܩҫإߪ log ɬ html 榡C
                           3: w log Ahw] txt ɡC
-------- ---------------- ---------------------------------------------------
  -m          Memory       BinPatch إ patch ɩһݭnϥΪOC

                          d: -m=6
                                -m=99

                           1: -m=nAn Ƚdi 5-100AȶVjh BinPatch
                                ϥΪOV֡A ۹諸]|Cإ patch
                                ɪtסC
                           2: w]Ȭ 5C
-------- ---------------- ---------------------------------------------------
  -nopatch    nopatch     wϥ patching ɮסAYªPsɮפPA
                          h|ɮקtAb patch ApiTOɮ patch 
                          \C

                          d: -nopatch="filename with spaces"
                                -nopatch=file.e?e
-------- ---------------- ---------------------------------------------------
  -q           Quiet      إ patch ɪL{ȶqܬTbùWC
  -quiet
-------- ---------------- ---------------------------------------------------
  -qp     quiet-progress  ϥγBzi׭pqAb patch jqpɮ׮ɨϥΦO
  -quiet-progress         i[ֳBztסC
-------- ---------------- ---------------------------------------------------
  -s      Self-applying   إ SFA patch (ɦW .exe)C

                          d: -s=gui32
                                -s=gui16
                                -s=gui
                                -s=dos
                                -s=os2
                                -s=linux
                                -s

                           1: gui32 ܫإ Windows 95/98/NT 㦳ާ@
                                 SFAC
                           2: gui16 إ Windows 3.1  SFAC

                           3: u -s ܫإ Windows 95/98 DOS 
                                A SFAC

                           4: dos ܫإ߯ DOS SFAC

                           ثeäĳzϥ gui32  gui16 ҦA ]
                             ܪr٤վγ]w (઺)A@
                             wgӿձNioӯIC
-------- ---------------- ---------------------------------------------------
  -t           Time       bإ patch ɪL{A BinPatch |NҦQBz
                          sɮתObysy patch ɤAӤ
                          Ϊ̰ patch ɡA BinPatch hϥγoǰO@֧Q
                          ק諸ɮפܧPsy̪ɮפ@PC -t
                          ѼƬOΨӧ BinPatch ɮפBz覡C

                          d: -t=n    (n = now)
                                -t=l    (l = latest)
                                -t=a    (a = apply)

                           1: "n" ܪHثe/ɶ@ק᪺s
                                פC
                           2: "l" H̱{bɮ׬ǡA 䥦ɮת
                                Pɮפ@PC
-------- ---------------- ---------------------------------------------------
  -u     Unimportant File UWNANOwɮ׬OnC ]NOק
-unimportant              ɮ׮ɡA YɮפsbBŦXΪ̥uO@Ӥpp
                          rɮɷ|ɭP BinPatch LoɮפBzC

                          :b`pU BinPatch J󤣲Ūɮ׮ɷ|
                             ק諸ʧ@A åB_{AҥHϥ -u=*.*
                              -u iHקKoرεo͡C

                          d: -u="unimportant files.doc"
                                -u=program.exe
                                -u=*.txt
                                -u=* P -u NۦP
-------- ---------------- ---------------------------------------------------
  -v          Version      BinPatch TC
-------- ---------------- ---------------------------------------------------
  -z           zip        Nҫإߪ patch ɥHwY{HYC
                          -z Ѽƥثe䴩UCY{G

                          InfoZipBLHABRARBGZipBPKZipBARJ M JARC

                          LϥήɽХt[W -j ѼƨӨ BinPatch تY
                          \A _hyYϦӷ|ϱo patch ɧjA٦
                          ެOw@Y{AϥΫeTwzq
                          oY{sbAӥBnbtίo쪺|U
                          ~@ΡC

                          d: -z=RAR
                                -z=ARJ
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww


-- via MDaemon 2.75
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
(patch-author) Ƨ@̰Q Mailing List
1.󤺳ϥΡAФŦbg|ΤUA~ǰeHD patch-author C
2.W[wHcbq\ɡAмgH Kii Ali <kiiali@ftp1.gep.ncu.edu.tw> ʳBzC
3.wHcbq\ɡAмgH MDaemon@miau.hort.ntu.edu.tw
  DuťաvAH󤺮eжW unsubscribe patch-author
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
