Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Request of patcher

Request of patcher

Scheduled Pinned Locked Moved Article Writing
question
6 Posts 3 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Loghorn
    wrote on last edited by
    #1

    Can anyone submit an article on patching binary files? I've tried myself, but the results are not very good: I get a patch file as big as the file compared :-( What I need is something like RTpatch, but free and with sources :-) If someone is interested I can send him my not-very-good code as a starting point. Thank you all Alessandro Vergani

    L B 2 Replies Last reply
    0
    • L Loghorn

      Can anyone submit an article on patching binary files? I've tried myself, but the results are not very good: I get a patch file as big as the file compared :-( What I need is something like RTpatch, but free and with sources :-) If someone is interested I can send him my not-very-good code as a starting point. Thank you all Alessandro Vergani

      L Offline
      L Offline
      lm
      wrote on last edited by
      #2

      Have you looked into the GNU tools for patching? They're free under GNU copyleft, provide source and are available on most platforms including Windows. Check any GNU archive for a copy or see the Gnu web site for more information.

      L 1 Reply Last reply
      0
      • L lm

        Have you looked into the GNU tools for patching? They're free under GNU copyleft, provide source and are available on most platforms including Windows. Check any GNU archive for a copy or see the Gnu web site for more information.

        L Offline
        L Offline
        Loghorn
        wrote on last edited by
        #3

        The GNU tools (diff and patch) are good only for text files. I need a patcher for binary files.

        L 1 Reply Last reply
        0
        • L Loghorn

          The GNU tools (diff and patch) are good only for text files. I need a patcher for binary files.

          L Offline
          L Offline
          lm
          wrote on last edited by
          #4

          They handle binary files in CVS, so some of the gnu tools must have been adapted to do this.

          1 Reply Last reply
          0
          • L Loghorn

            Can anyone submit an article on patching binary files? I've tried myself, but the results are not very good: I get a patch file as big as the file compared :-( What I need is something like RTpatch, but free and with sources :-) If someone is interested I can send him my not-very-good code as a starting point. Thank you all Alessandro Vergani

            B Offline
            B Offline
            Blake Miller
            wrote on last edited by
            #5

            You should investigate the patch dll that comes with the Microsoft Windows Installer SDK. This DLL has a function that accepts two files and outputs a third file that contains the 'patch' information to cause the first file to be transformed into the second file. Another function in the DLL can 'apply' the patch. There are various options for compression and such in the API.

            L 1 Reply Last reply
            0
            • B Blake Miller

              You should investigate the patch dll that comes with the Microsoft Windows Installer SDK. This DLL has a function that accepts two files and outputs a third file that contains the 'patch' information to cause the first file to be transformed into the second file. Another function in the DLL can 'apply' the patch. There are various options for compression and such in the API.

              L Offline
              L Offline
              Loghorn
              wrote on last edited by
              #6

              I'll check it... and if it works good, maybe I'll write an article :-) Thank you. BTW: These API are not documented (apart in the PatchApi.h header) :-(

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups