LinuxCommandLibrary

flips

IPS and BPS patch creation and application

TLDR

Create IPS patch

$ flips --create [original.rom] [modified.rom] [patch.ips]
copy
Apply IPS patch
$ flips --apply [patch.ips] [input.rom] [output.rom]
copy
Create BPS patch
$ flips --create --bps [original] [modified] [patch.bps]
copy
Apply BPS patch
$ flips --apply [patch.bps] [input] [output]
copy

SYNOPSIS

flips [options] [files...]

DESCRIPTION

Flips (Floating IPS) is a patch creation and application tool for binary files, commonly used in ROM hacking and game modification communities. It supports both the legacy IPS (International Patching System) format and the modern BPS (Binary Patching System) format.
The IPS format has been the standard for ROM patches since the 1990s but has limitations including a 16MB file size restriction and lack of error detection. BPS addresses these issues with support for files of any size, built-in CRC32 checksums for verification, and better compression for smaller patch files.
Flips can create patches by comparing original and modified files, then apply those patches to reproduce the modifications. The BPS format includes metadata and verification to ensure patches apply correctly, preventing corruption from applying patches to incorrect source files.

PARAMETERS

--create

Create a patch.
--apply
Apply a patch.
--bps
Use BPS format instead of IPS.
--exact
Create exact BPS patch.

SEE ALSO

bsdiff(1), xdelta(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community