From 012d22fa4f8c6562ed9fc9e11b6059942fa5e8c8 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sun, 11 Nov 2012 17:24:13 +0400 Subject: [PATCH] Add a script for manipulating binary patches at runtime, and some patches. --- NEWS | 1 + Readme.html | 151 ++++++++++-------- Readme.rst | 11 ++ dfhack.init-example | 23 +++ library/CMakeLists.txt | 4 + patches/v0.34.11 SDL/armorstand-capacity.dif | 142 ++++++++++++++++ patches/v0.34.11 SDL/custom-reagent-size.dif | 91 +++++++++++ patches/v0.34.11 SDL/deconstruct-heapfall.dif | 61 +++++++ patches/v0.34.11 SDL/deconstruct-teleport.dif | 104 ++++++++++++ .../v0.34.11 SDL/hospital-overstocking.dif | 62 +++++++ patches/v0.34.11 SDL/training-ammo.dif | 83 ++++++++++ patches/v0.34.11 SDL/weaponrack-unassign.dif | 61 +++++++ .../v0.34.11 linux/armorstand-capacity.dif | 147 +++++++++++++++++ .../v0.34.11 linux/custom-reagent-size.dif | 40 +++++ .../v0.34.11 linux/deconstruct-heapfall.dif | 83 ++++++++++ .../v0.34.11 linux/deconstruct-teleport.dif | 139 ++++++++++++++++ .../v0.34.11 linux/hospital-overstocking.dif | 60 +++++++ patches/v0.34.11 linux/training-ammo.dif | 85 ++++++++++ .../v0.34.11 linux/weaponrack-unassign.dif | 45 ++++++ scripts/binpatch.lua | 117 ++++++++++++++ 20 files changed, 1440 insertions(+), 70 deletions(-) create mode 100644 patches/v0.34.11 SDL/armorstand-capacity.dif create mode 100644 patches/v0.34.11 SDL/custom-reagent-size.dif create mode 100644 patches/v0.34.11 SDL/deconstruct-heapfall.dif create mode 100644 patches/v0.34.11 SDL/deconstruct-teleport.dif create mode 100644 patches/v0.34.11 SDL/hospital-overstocking.dif create mode 100644 patches/v0.34.11 SDL/training-ammo.dif create mode 100644 patches/v0.34.11 SDL/weaponrack-unassign.dif create mode 100644 patches/v0.34.11 linux/armorstand-capacity.dif create mode 100644 patches/v0.34.11 linux/custom-reagent-size.dif create mode 100644 patches/v0.34.11 linux/deconstruct-heapfall.dif create mode 100644 patches/v0.34.11 linux/deconstruct-teleport.dif create mode 100644 patches/v0.34.11 linux/hospital-overstocking.dif create mode 100644 patches/v0.34.11 linux/training-ammo.dif create mode 100644 patches/v0.34.11 linux/weaponrack-unassign.dif create mode 100644 scripts/binpatch.lua diff --git a/NEWS b/NEWS index 51321be95..494a6c680 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ DFHack future - added a small stand-alone utility for applying and removing binary patches. - removebadthoughts: add --dry-run option New scripts: + - binpatch: the same as the stand-alone binpatch.exe, but works at runtime. - region-pops: displays animal populations of the region and allows tweaking them. New GUI scripts: - gui/guide-path: displays the cached path for minecart Guide orders. diff --git a/Readme.html b/Readme.html index 16f3aed5a..737963372 100644 --- a/Readme.html +++ b/Readme.html @@ -489,49 +489,50 @@ access DF memory and allow for easier development of new tools.

  • Scripts
  • -
  • In-game interface tools