-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
57 lines (35 loc) · 1.32 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
pcips
=====
Portable C IPS patch utility for Linux and BSD. This program implements the IPS
patching format, including such functions as applying patches to binaries,
generating new patch files from modified binaries, and joining multiple patch
files together in order.
Most of you finding this program know what you're doing, but for those
unfamiliar with the format, I have described it in an included [text file][1].
Build
-----
You'll need an ANSI C compiler and a POSIX build environment. On Debian-based
systems, you can get this with:
# apt install build-essential
pcips uses a simple build process:
$ make
Install
-------
After building, you can install the program with
# make install
Usage
-----
To apply a patch:
$ pcips -a patch_file source_file output_file
If you want to patch the source file in place (overwriting it):
$ pcips -ia patch_file source_file
To create a patch file based on an original and a modified file:
$ pcips -c patch_file source_file modified_file
To join (concatenate) multiple patch files into a single file that will apply
them in the same order:
$ pcips -j output_file input1 [input2 ...]
License
-------
pcips is free software, released under the terms of version 1.0 of the Copyfree
Open Innovation License. See [COPYING](COPYING) for more details.
[1]: format.txt