Hex Analyzer & Patcher Pro Enhanced
Complete User Guide & Documentation

Hex Analyzer & Patcher Pro

A desktop tool for comparing binary files, reviewing differences and conflicts, exporting/importing patches, and applying changes safely to target files.

🔍 Byte-level compare ⚠️ Conflict review (per-offset) 💾 Patch export/import (JSON/CSV) 📦 Batch apply to folder 🔎 Hex/Text search + wildcards 🧾 Strings & metadata
What problem does this solve?
You have an Original file and a Modified file. This tool produces a list of exact byte changes (a “patch”) and safely applies those changes onto a Target file, while detecting and managing conflicts.
⬇️ Download Get started in 3 minutes →
Download password
Password: 1234

Developed by MKhanfar

Table of contents

Safe by default Conflicts start as SKIP until you approve them.
Professional outputs Save-As output, patch export, batch reports.
Fast compare Chunked + responsive progress + cancel.
High visibility Diff table, conflict table, viewers, logs.

1) Installation & running

Commercial / EXE use
This documentation is written for the packaged desktop application. Download and launch the program, then follow this guide to use all features safely.

Windows

  1. Download the installer or EXE package.
  2. Run the application.
  3. If Windows SmartScreen appears, select More infoRun anyway (only if you trust the source).

macOS / Linux

If you provide a packaged build for macOS or Linux, the steps are the same: download → run.

Tip
Keep the app and your files in folders with simple names (avoid very long paths) for best compatibility.

2) Understanding the interface

AreaWhat it does
File Selection Choose Original, Modified, and optionally Target binaries.
Compare Computes differences between Original and Modified, and checks conflicts against Target if loaded.
Review Conflicts Opens a per-conflict decision table (toggle APPLY/SKIP per offset).
Apply Patch → Target Saves an output file with your approved changes applied to Target (Save As).
Export / Import Patch Export diffs to shareable patch files (JSON/CSV). Import JSON patches later.
Batch Apply Apply patch to every file in a folder and generate a CSV report.
Tabs
  • Summary & Diffs: filterable table of changes
  • Hex Viewer: one view with highlighting and search
  • 3-Way Viewer: Original vs Modified vs Target side-by-side
  • Conflicts: all conflicts with per-conflict action
  • Strings & Metadata: ASCII strings, patterns, hashes
Important concept: “conflict”
A conflict happens when the Target file has a different byte than the expected Original byte at a location that needs to change. In other words, the patch is not guaranteed to be compatible at that offset.

3) Quick start (recommended workflow)

Step 1 — Load files

  1. Click Browse on Original and select your baseline file.
  2. Click Browse on Modified and select the edited file.
  3. (Optional) Click Browse on Target to patch a third file.

Step 2 — Compare

  1. Click Compare.
  2. Watch the progress bar.
  3. If needed, click Cancel.

Step 3 — Review

  1. Open Summary & Diffs to browse all changes.
  2. If conflicts exist, click Review Conflicts.
  3. Toggle conflict actions: APPLY or SKIP.

Step 4 — Apply

  1. Click Apply Patch → Target.
  2. Choose an output file with Save As.
  3. Review the summary (applied/skipped/conflicts).
Best practice
Always keep backups of Original/Target, and patch into a new output file (never overwrite your only copy).

4) Core workflows (deep guide)

Workflow A — Compare Original vs Modified

  1. Load Original and Modified.
  2. Click Compare.
  3. Review:
    • Diff count: total number of changed offsets.
    • Conflict count: if Target is loaded, offsets that don’t match expected Original.

Workflow B — Review conflicts

If conflicts exist, the tool assumes SKIP per conflict (safe). You can approve them one by one.

ActionMeaningWhen to use
APPLY Apply the modified byte even though Target differs. When you are sure this offset must change and Target differences are acceptable.
SKIP Do not change this offset in the output. When compatibility is uncertain or Target is known to be different/unsupported.
Override all
The “Override All” option applies every conflict. Use this only when you fully understand the compatibility risks.

Workflow C — Apply patch to Target

  1. Load Target.
  2. Click Apply Patch → Target.
  3. Choose output file name with Save As.
  4. Read the result summary: applied, skipped, conflicts applied, conflicts skipped.

Workflow D — Export a patch (shareable file)

Exporting a patch lets you share changes without sending full binary files (when allowed).

  1. After compare, click Export Patch.
  2. Choose:
    • JSON (recommended): includes metadata + machine readable.
    • CSV: easy to inspect in Excel.

Workflow E — Import a patch (no Modified file required)

  1. Click Import Patch and select a patch JSON file.
  2. Load a Target (optional but recommended).
  3. Review conflicts and apply.

5) Hex viewer & 3-way viewer

Hex Viewer (single view)

The Hex Viewer shows bytes with highlighting for changed bytes and conflicts.

View modeWhat you seeWhy it’s useful
modified_overlay default Original data, but at diff offsets it displays the Modified byte. Great for “what the patched file would look like”.
original Original file as-is. Confirm baseline values at offsets.
modified Modified file as-is. Confirm edited values and context.
target Target file as-is. Check real target bytes at conflict locations.

3-Way Viewer (side-by-side)

This view shows Original, Modified, and Target side-by-side at the same offsets. It is the fastest way to understand why conflicts happen.

Navigation tips
Use Prev Diff / Next Diff buttons to jump between changes quickly. You can also click a row in the Diff table to jump to that offset automatically.

7) Patch export/import (formats)

JSON patch (recommended)

The JSON patch is designed for automation and verification.

{
  "format": "mkpatch/v1",
  "created_unix": 1730000000,
  "meta": {
    "original_path": "...",
    "modified_path": "...",
    "original_size": "1048576",
    "modified_size": "1048576",
    "original_sha256": "...",
    "modified_sha256": "..."
  },
  "diffs": [
    { "offset": 4096, "original": 171, "modified": 172 },
    { "offset": 4097, "original": 1, "modified": 0 }
  ]
}
Why include metadata?
Hashes and sizes help you verify that a patch was created from the correct source files.

CSV patch

CSV is great for human inspection in spreadsheet tools:

offset_hex,offset_dec,original_hex,modified_hex,original_dec,modified_dec
0x1000,4096,AB,AC,171,172
Note
Import is supported for JSON patches. CSV is intended for inspection/export.

8) Batch apply (folder mode)

Batch mode is designed for applying the same patch to many target files quickly.

  1. Compare or import a patch (so diffs exist).
  2. Click Batch Apply (Folder).
  3. Select the input folder containing target files.
  4. Select an output folder.
  5. Choose whether to override conflicts in batch mode.
Batch outputs
The tool creates a patched output for each file and generates batch_report.csv with results.
ColumnDescription
input_fileOriginal file name processed.
statusOK or FAIL with error details.
appliedNumber of applied offsets.
skippedNumber of skipped offsets.
conflicts_appliedNumber of conflicts forced/applied.
conflicts_skippedNumber of conflicts skipped due to safety or action choice.
output_pathWhere the patched file was saved.

9) Strings, metadata, and hashes

Strings extraction

Use this to quickly discover readable labels embedded in the file (ASCII strings).

Hashes

Hashes help you verify file identity and integrity:

Use hashes for “before/after” verification
Save hashes of Original and Target before patching, then hash the output afterward to prove what changed.

Metadata / patterns

The app attempts to extract common identifiers (best-effort). This is a convenience feature to help you spot mismatches early.

10) Safety & best practices

Important
Patching binary files can permanently break devices or software if applied incorrectly. Always work on copies and validate compatibility carefully.

Recommended safety checklist

  1. Backup Original and Target files before making changes.
  2. Compare file sizes and (if applicable) key identifiers.
  3. Review conflicts. Default SKIP is safer than force applying.
  4. Apply patch into a new output file (Save As).
  5. Verify output using hashes and, where relevant, known validation tools.

Understanding conflicts

Conflicts usually mean one of the following:

Pro tip
Use the 3-Way Viewer to inspect Original vs Modified vs Target at conflict offsets before applying.

11) Troubleshooting & FAQ

The app is slow or freezes on big files

Large binaries can take time to scan. The app uses chunked compare and can cancel. If you still see slowness, close other apps and try again.

I get many conflicts — is that normal?

Many conflicts usually mean the patch does not match the target’s base. This is a signal to stop and verify: correct target, correct original base, correct version/variant.

Why can’t I import CSV patches?

CSV export is designed for inspection. JSON import is supported because it preserves structure, types, and metadata.

My output file doesn’t work

Common causes:

Checksums
Some binaries require checksum correction after patching. If your workflow requires it, apply a checksum tool/step after generating the patched output.

FAQ

QuestionAnswer
Can I patch without the Modified file? Yes. Export a JSON patch once, then import it later and apply to targets.
Can I apply only some diffs? Use the diff table filters and conflict actions. For advanced selective apply, extend the tool to add “Apply selected diffs”.
What files does batch mode process? It prioritizes common binary extensions (.bin, .hex, .rom, .img), then falls back to all files if none match.

2-Day Free Trial & Pricing

Try Hex Analyzer & Patcher Pro free for 2 days with full access to all professional features. After the trial, purchase a lifetime license for $60 with premium support and updates included.

🎯 Professional License Offer
Lifetime license only $60
Includes premium support, free updates, and priority feature requests
📧 Purchase Information
Contact developer at e4mwak@gmail.com to purchase your professional license
🚀 Start Free Trial download now 💬 Contact for Purchase
Download password
Password: 1234
Trial vs License Benefits
Free Trial (2 days): Full access to all comparison, patching, batch operations, and professional features.
Lifetime License ($60): Permanent access, premium email support, free updates, priority feature requests, and commercial use rights.

13) Contact us

Support & requests
For support, feature requests, or commercial inquiries, contact the developer: mkhanfare4mwak@gmail.com
TopicHow to contact
Bug reportsEmail with: app version, steps to reproduce, and screenshots if possible.
Feature requestsEmail with: your workflow, file sizes, and what you want automated.
Commercial licensingEmail to discuss licensing model, deployment, and branding.