Skip to content
asdfmonster261 edited this page May 3, 2026 · 4 revisions

PatchForge

A video game binary patch and installer generator that produces self-contained Windows executables. Three modes:

  • Update Patch — diff an old and new copy of a game directory and produce a standalone patcher .exe users double-click to update their install
  • Repack — compress a complete game directory into a standalone installer .exe users double-click to install the game from scratch
  • Archive — log into Steam, watch one or more appids, download every new build to a 7z archive, optionally crack + upload + post — fully automated mirroring of game updates

Documentation

  • Features — full feature list across all three modes
  • Installation — requirements and setup (including the optional archive extra)
  • CLI-Reference — every flag for build, repack, archive, and the project-file commands
  • Repack-Mode — compression, optional components, silent install, project files
  • Archive-Mode — Steam login, polling cadence, depot histories, BBCode posts, MultiUp / Telegram / Discord plumbing
  • Engines-and-Presets — engine comparison and preset reference
  • Output-Formats — binary format specification for patch and repack exes
  • Stub-System — pre-built stubs and how to rebuild them from source

Quick start

# GUI
patchforge

# Update patch (CLI)
patchforge build \
  --source-dir game_v1.0/ \
  --target-dir game_v1.1/ \
  --output-dir dist/ \
  --app-name "My Game" \
  --version 1.1

# Repack installer (CLI)
patchforge repack \
  --game-dir game/ \
  --output-dir dist/ \
  --app-name "My Game" \
  --codec lzma \
  --compression max \
  --threads 8

# Archive mode — log in once, then poll an appid
patchforge archive login         # one-shot QR / password login
patchforge archive download \
  --project mygame.xarchive \
  --restart-delay 1800           # check every 30 minutes

Clone this wiki locally