Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

IUBPatchLib

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
7.9 Club score Visit github.com

What IUBPatchLib is

IUBPatchLib is a free C++ library for applying binary patches, with ROM hacks among its intended uses. It supports IPS, UPS, and BPS formats, and provides a modern API using RAII and move semantics. The core library has no external dependencies and works on Windows, Linux, macOS, and other POSIX systems. Optional memory-mapped I/O is available for file processing. Developers can build it with CMake as a shared or static library, then integrate it through find_package, pkg-config, or FetchContent. The included iubpatch-cli can apply patches, inspect patch information, and validate patches. Patch options include checksum verification and backup creation. Tests and command-line tools are enabled by default; examples and benchmarks are off by default. IUBPatchLib is released under the MIT License, which provides the software as-is without warranty. Contributions are invited through issues or pull requests, and changes are reviewed when tests pass.

Who it suits

It suits developers building tools that need to apply binary patches, especially ROM hacks. Its CMake integration and command-line utility also suit projects that need patching in a build workflow or from a terminal.

Good to know, and what to watch

  • Supports IPS, UPS, and BPS patch formats.
  • Core library has no external dependencies.
  • Builds as shared or static libraries with CMake.
  • CLI can apply, inspect, and validate patches.
  • Checksum verification and backup creation are available.
  • Requires a CMake-based build.
  • MIT license provides the software without warranty.

Free

Free

Free plan

Getting started

  1. Visit the project website on GitHub.
  2. Build the project with CMake using a Release configuration.
  3. Choose shared or static library output as needed.
  4. Integrate it through find_package, pkg-config, or FetchContent, or use iubpatch-cli.

The Club's review

Overview

IUBPatchLib is a free C++ library for applying binary patches, including ROM hacks. It is best suited to developers building patching into an application or repeatable command-line workflow. Its combination of patch formats and build integrations is useful, but it is not a graphical tool for occasional patching.

Key features

The library handles IPS, UPS and BPS patches, making it a practical option when a project needs to work with more than one format. Although it was created with ROM hacks in mind, it can be used for other patching tasks too. Its modern C++ API uses RAII and move semantics, so it fits naturally into contemporary C++ codebases; users who do not need a library interface will get less from that design.

The core has no external dependencies, which keeps integration lean. CMake builds can produce shared or static libraries, with integration through find_package, pkg-config or FetchContent. Optional memory-mapped I/O offers a faster file-processing path. The included iubpatch-cli can apply patches, show their information and validate them, giving developers a usable command-line route without writing an application first.

PatchOptions can enable checksum verification and backup creation, safeguards that matter when patching valuable or difficult-to-replace files. Build defaults turn on shared and static libraries, tests and command-line tools; examples and benchmarks are off. That is a sensible starting point for building and checking the project, though teams wanting examples or benchmarks must enable them.

Pricing

IUBPatchLib is free: its Free plan costs nothing and is MIT-licensed. No usage or seat cap is stated. The MIT license permits use under its terms, but provides the software as-is without warranty, so organizations should account for that when deciding whether it suits their support requirements.

Platforms

The library supports Windows, Linux, macOS and other POSIX systems. That breadth helps teams target multiple desktop environments from one C++ project. Its CMake-based build still assumes a developer-oriented setup rather than a ready-to-run graphical installation.

Who it's for

Choose IUBPatchLib if you are a C++ developer who needs IPS, UPS or BPS patch handling inside a project, or wants a CLI for applying and validating patches. Its build integrations and dependency-free core are useful when keeping project integration manageable matters. If you simply want to patch a ROM through a graphical interface, this library is not the right fit.

Pros and cons

  • Pros: IPS, UPS and BPS support covers several patch formats in one library.
  • Pros: CMake integration, shared or static builds and a dependency-free core suit software projects with different build setups.
  • Pros: Checksum verification, backups and CLI validation provide practical safeguards around patching.
  • Cons: The C++ and CMake focus makes it less suitable for users seeking a graphical, one-off patching app.
  • Cons: The MIT license provides no warranty, which may not suit users who require a vendor-backed support commitment.

Alternatives

ROM Patching Software is a useful place to compare other options. Choose EZ ROM Patcher if a free browser-based tool with no account or installation stated better suits your needs. MultiPatch is a free alternative for macOS 10.9 or newer.

Consider Patcher64+ Tool for N64, NES and SNES patching; it requires 64-bit Windows 7 or newer and PowerShell 5.1+. rom-weaver offers free browser and command-line versions without an account. Floating IPS (Flips) is a free option for IPS and BPS patching.

Gaming Optimizer, ROM Bin Patcher (rombp) and BeatDrop Music Visualizer are also listed alternatives.

Verdict

For developers adding binary patching to a C++ project, IUBPatchLib is a strong free choice: it combines three formats, flexible CMake integration and a useful CLI without core dependencies. Look elsewhere if you need a graphical patching app or a software package backed by a warranty.

The verdict

IUBPatchLib covers common patching tasks through both a C++ API and an included CLI. Its cross-platform support and lack of core dependencies may fit developers who want to add patch handling to their projects.

Questions people ask

How much does IUBPatchLib cost?

It has a free plan.

Which patch formats does it support?

It supports IPS, UPS, and BPS.

Which platforms does it support?

It works on Windows, Linux, macOS, and other POSIX systems.

Is IUBPatchLib open source?

It is released under the MIT License.

Does it include a command-line tool?

Yes. iubpatch-cli can apply patches, show patch information, and validate patches.

What the maker publishes

API
The library provides a modern API with RAII and move semantics. source
API style
The library provides a clean modern API with RAII and move semantics. source
Audience
The README says the library was created with ROM hacks in mind but can be used for anything. source
Build
It uses CMake and can be built as shared or static libraries. source
Build options
Shared and static libraries default to ON, tests and command-line tools default to ON, and examples and benchmarks default to OFF. source
Build system
It can be built with CMake using a Release configuration. source
Command line
The project includes an iubpatch-cli tool for applying, inspecting, and validating patches. source
Command-line tool
The included iubpatch-cli can apply patches, show patch information, and validate patches. source
Dependencies
The core library has no external dependencies. source
Dependencies
The core library has no external dependencies. source
File processing
Optional memory-mapped I/O is available for fast file processing. source
Integration
CMake integration supports find_package, pkg-config, and FetchContent. source
Integration
CMake projects can integrate it with find_package, pkg-config, or FetchContent. source
Integrity options
PatchOptions can enable checksum verification and backup creation. source
License
IUBPatchLib is released under the MIT License. source
License
The repository includes an MIT License permitting use, modification, distribution, sublicensing, and sale subject to its terms. source
Patch formats
It supports IPS, UPS, and BPS patch formats. source
Patch formats
It supports IPS, UPS, and BPS patch formats. source
Patch options
The API examples show checksum verification and backup creation options; the CLI example shows backup and disabling memory mapping. source
Performance
Optional memory-mapped I/O is available for fast file processing. source
Platform support
It works on Windows, Linux, macOS, and other POSIX systems. source
Purpose
IUBPatchLib is a modern C++ library for applying binary patches, especially ROM hacks. source
Purpose
IUBPatchLib is a cross-platform C++ library for applying binary patches, designed with ROM hacks in mind. source
Security
The repository page shows a Security and quality section but states no security certifications or compliance claims. source

Checked against the maker's pages on 2 Oct 2026.