Patch files come in several formats. Three dominate Game Boy-era hacking: IPS, UPS and BPS. They all describe how to turn an original file into a modified one, but they differ in what they can express and, crucially, in whether they can tell when something is wrong.
IPS: simple, old and unchecked
IPS dates back to the early days of console hacking, and its design is very simple:
- A file starts with the five letters
PATCHand ends withEOF. - In between is a list of records, each saying “at offset X, write these N bytes”. A variant called run-length encoding writes the same byte many times, saving space.
- Offsets are 24-bit numbers, so IPS can only address the first 16 MiB of a file.
IPS has no checksums. If you apply an IPS patch to the wrong game, or the wrong revision, it will happily write its bytes anyway, and you will only find out when the game crashes. Rocket Edition ships an IPS patch, which is why its official patcher checks your FireRed file’s checksum separately before patching.
UPS: checksummed and reversible
UPS was designed to fix IPS’s biggest weaknesses:
- It records the size of both the original and the patched file, so files can grow or shrink and offsets are not limited to 16 MiB.
- It stores changes as XOR differences. Because XOR undoes itself, the same patch converts original to modified and back again.
- It ends with three CRC-32 checksums: one for the original, one for the result and one for the patch itself.
Those checksums let a patcher refuse to patch the wrong file, detect a damaged download, and confirm the output is exactly what the creator built.
BPS: the modern default
BPS keeps UPS’s checksums and adds a smarter way of describing changes. Instead of only XOR-ing bytes in place, a BPS patch is a series of actions:
| Action | Meaning |
|---|---|
| SourceRead | Copy bytes from the original at the same position |
| TargetRead | Insert new bytes stored in the patch |
| SourceCopy | Copy bytes from anywhere in the original |
| TargetCopy | Repeat bytes already written to the output |
Because data that moved can be copied instead of stored again, BPS patches stay compact even when a hack rearranges large parts of a game. BPS also allows embedded metadata, such as a title or notes. FRLG+ distributes its patch as .bps.
Comparing the three
| IPS | UPS | BPS | |
|---|---|---|---|
| Detects the wrong original game | No | Yes (CRC-32) | Yes (CRC-32) |
| Detects a corrupted patch | No | Yes | Yes |
| Verifies the result | No | Yes | Yes |
| Files larger than 16 MiB | No | Yes | Yes |
| Handles moved data efficiently | No | No | Yes |
What about xdelta?
Many Nintendo DS hacks use xdelta, a general-purpose format based on VCDIFF, because DS games are large and heavily restructured. xdelta has its own tools. MonPatch does not currently support it, so use the tools the creator recommends.
Checksums in practice
A checksum is a short fingerprint of a file. If the documentation says the expected original has CRC-32 XXXXXXXX and your file does not match, you have the wrong revision, a modified file, or a damaged one. No patcher can fix that. MonPatch shows the CRC-32 and SHA-1 of the file you select and, for UPS and BPS, tells you exactly which checksum failed.
Summary
- Prefer BPS when a creator offers a choice. It is safe, compact and verifiable.
- With IPS, verify your original against the documentation yourself.
- Always download patches from the creator’s official page. Each game profile links to it where verified.

