OS4 DepotLogo by Alkaron 
(anonymous IP: 18.117.75.53,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Filetool » gpatch.lha

Gpatch

Description: Patch system for software updates
Download: gpatch.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 66kb
Version: 3.1
Date: 06 Dec 2011
Author: Ralf Gruner, AOS4 port by Chris Young.
Submitter: Spot / Up Rough
Email: spotUP/gmail com
Category: utility/filetool
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 6753
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 291  (Current version)
291  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
This is an OS4 native build of GPatch.
Below readme is the original from Aminet util/misc/gpatch.lha

GCompare / GPatch - A high quality patch system for software updates
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
GCompare generates patch files for the distribution of file updates.
GPatch applies the patches.

The patch file can contain patches for any number of files.
The file format is optimized for size - the patch files are very short.
CRC error checking provides safe operations.
The programs work with any type of files.

The patch files are portable. GPatch and GCompare executables are
available for some IX platforms and Windows.


Changes since last upload:

Added the PPC versions.
GCompare: Small changes in the help text.
Some changes in the guide and in the example scripts.


Changes since previous version:

GCompare: New algorithm for very high search speed (three-dimensional
search arrays). Needs more than 128 MB of memory for one patch or more
than 256 MB for additional patches. (Works of course still with fewer
memory available.)
Changed the CRC algorithm to get a comparable result with other programs.
New algorithm for Amiga executables (reloc hunk encoding) for much better
results.
Many improvements of the coding algorithms. New file format.

GPatch: Can now replace the old file and make an optional backup.

-------------------------------------------------------------------

Why should you use GCompare?
Here you have an example with different patch programs:

Let's assume, you have a new file of your program AWeb-II.
The world is using the old versions 3.2 and 3.3, and you want to
provide an update to the new version 3.4.
What you have to do is:


Build the difference files:

scompare -oAWeb32-34.spatch AWeb-II-3.2 AWeb-II-3.4
scompare -oAWeb33-34.spatch AWeb-II-3.3 AWeb-II-3.4

This needs 1:28 minutes, and you have two files:

AWeb32-34.spatch                240960 ----rwed
AWeb33-34.spatch                193328 ----rwed


or you use

gcompare AWeb-II-3.2 AWeb-II-3.3 AWeb.gpatch
gcompare AWeb-II-3.3 AWeb-II-3.4 AWeb.gpatch

This needs 0:59 minutes, and you have one file for both patches:

AWeb.gpatch                     220694 ----rwed

-----
Now you have to create the distribution archive. You have to add
the patcher and a script to build the new file.
For the example we leave the script out. The relevant lines of
the scripts would be:

spatch -oAWeb-II-3.4 -pAWeb32-34.spatch AWeb-II  (and for the other)
spatch -oAWeb-II-3.4 -pAWeb33-34.spatch AWeb-II
copy AWeb-II-3.4 AWeb3:AWeb-II

or

gpatch AWeb3:AWeb-II AWeb.gpatch RECURSIVE DIRECT

(This line patches both versions of the program.)

-----
So, let's build the archive:

lha -a a awebupdateS AWeb32-34.spatch
lha -a a awebupdateS AWeb33-34.spatch
lha -a a awebupdateS spatch

or

lha -a a awebupdateG AWeb.gpatch
lha -a a awebupdateG gpatch

-----
The resulting file is:

awebupdateS.lha                 277258 ----rwed

or

awebupdateG.lha                 163593 ----rwed




Copyright © 2004-2024 by Björn Hagström All Rights Reserved