I got tired of not having a tiny, open source, multi-platform IPS command-line tool, so I made one. Enjoy.
Utilize an IPS patch file (RLE supported) to patch a file.
Produces "out.bin"
Create an IPS file from two input files. (Currently does not RLE compress)
Produces "out.ips"
Other tools:
Calculates 16-bit checksum by adding every byte (8 bits) in a file.
Searches for a valid ROM header, calculates valid SNES/SFC checksum and patches it.
Makes a BIPS file ("Big IPS", IPS with support for up to 4GB files) from two input files.
BIPS file format is identical to IPS, but offset and length for each patch is 4 bytes long to support up to 4GB.
Warning: Loads entire file into memory!