
Originally Posted by
[b
Quote[/b] ]Usage:
patchPbo [-OverrideOption] <patchfile[.pbo]> <targetfile[.pbo]>
options : -a Arma
-A Arma w sha-key (recommended)
-r Resistance
-c cwc
-e elite
if not specified, output pbo will be determined by highest order input file. Eg
if patch is a cwc and target is an Arma file, output is arma.
example:
patchpbo MyPatches APboFile
The output is sent to ApboFile.patched.pbo
NEITHER source files are affected.
You can, as easily, reverse files to
patchbpo ApboFile MyPatches
Output will be to MyPatches.patched.pbo
---
Patchpbo returns NON zero on any error encountered.
PatchPbo will STRIP resistance format out of pbo files as being
entirely redundant (and a bloody pain)
PatchPbo RETAINS the original compression (if any) AND
encryption (if any) of the original files.
DELETING PBO's
simply supply a file of zero length inside the <PatchPboFile>
if this routine discovers the same name in the target pbo, it will remove it.
*importantly*, if it does NOT discover one in the target pbo, it
considers this to be a geniune attempt to add a zero length file.
Such files are ofen used as version flags.
Enjoy.