Skip to content

A binary (exe,dll,scr,etc.) patching tool made to make distributing patches easy.

License

Notifications You must be signed in to change notification settings

2003HondaCivic/BinPatch

Repository files navigation

BinPatch

BinPatch is a tool to create patches for executable files. Designed to make distributing patches easy.

Game patches & hacks 🎮, Software tweaks🪛, and more🏴‍☠️.

Installation

Download pre-compiled binaries from releases.

Building

Download the source and build using Visual Studio 2022

Usage - Patching

As simple as choosing the target file and the corresponding .patch file and clicking patch. All files that are patched are saved as FileName.ext.bak

MD5 file hash is checked if the MD5 is provided in the .patch file. This is to ensure you patch the right file & version. Toggle the setting in the patcher or settings menu, if using version >= 0.1.1b.

For disabling on version 0.0.1b comment out the MD5 section in your .patch file

MD5: 2f82623f9523c0d167862cad0eff6806 (with check) -> #MD5 2f82623f9523c0d167862cad0eff6806 (exclude check)

Usage - Creating patches

Take the original binary and modified binary and put them into the corresponding sections in the patch file generator, along with any other desired options. Click generate and a .patch file should be generated in the current working directory with the name you chose.

BinPatch was primarily made with instruction patching in mind (however it will work with any file). I prefer Ghidra or x64dbg to patch binaries.

BinPatch needs creators to supply patches! Submit a pull request with your .patch files to have them publicly available here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Attributions

Temporary icon from Binary code icons created by Freepik - Flaticon