From 7faf4c4f25e7786c5d8386b78a62827477c2a23d Mon Sep 17 00:00:00 2001 From: Armin Veres Date: Tue, 27 Dec 2022 12:30:36 +0100 Subject: [PATCH] Fixed vignette spelling --- README.md | 4 ++-- er-patcher | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0d25c9c..78392d7 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Note: There might be some distros (e.g. older Ubuntu releases) that launch pytho | `--disable-rune-loss` | Disable losing runes upon death. | | `--all` | Enable all options except `--rate`, `--executable`, and
gameplay changes like `--disable-rune-loss`. | | `-u` or `--ultrawide` | Remove black bars. | -| `-v` or `--disable-vigniette` | Remove the vigniette overlay. | +| `-v` or `--disable-vignette` | Remove the vignette overlay. | | `-c` or `--disable-ca` | Disable chromatic abberation. | | `-a` or `--increase-animation-distance` | Fix low frame rate animations at screen
edges or for distant entities. | | `-s` or `--skip-intro` | Skip intro logos at game start. | @@ -57,7 +57,7 @@ When the game is launched through steam, the tool creates a patched version of ` - frame time limit adjustment - black bar removal - [Flawless Widescreen](https://www.flawlesswidescreen.org) - - vigniette and ca removal + - vignette and ca removal - animation distance increase - [DarkSouls3RemoveIntroScreens](https://github.com/bladecoding/DarkSouls3RemoveIntroScreens): intro logo skip - [EldenRingMods](https://github.com/techiew/EldenRingMods) + [EldenRingFpsUnlockAndMore](https://github.com/uberhalit/EldenRingFpsUnlockAndMore) diff --git a/er-patcher b/er-patcher index ed73579..7292dbe 100755 --- a/er-patcher +++ b/er-patcher @@ -21,7 +21,7 @@ if __name__ == "__main__": parser.add_argument("--disable-rune-loss", action='store_true', help="Disable losing runes upon death.") parser.add_argument("--all", action='store_true', help="Enable all options except rate adjustment and gamplay changes like `--disable-rune-loss`.") parser.add_argument("-u", "--ultrawide", action='store_true', help="Removes black bars when using a resolution with an aspect ratio other than 16:9.") - parser.add_argument("-v", "--disable-vigniette", action='store_true', help="Disables the vigniette overlay.") + parser.add_argument("-v", "--disable-vignette", action='store_true', help="Disables the vignette overlay.") parser.add_argument("-c", "--disable-ca", action='store_true', help="Disables chromatic abberation.") parser.add_argument("-a", "--increase-animation-distance", action='store_true', help="Increase animation distance.") parser.add_argument("-s", "--skip-intro", action='store_true', help="Skip intro logos.") @@ -63,14 +63,14 @@ if __name__ == "__main__": else: print("er-patcher: ultrawide pattern scan failed") - if patch.disable_vigniette or patch.all: + if patch.disable_vignette or patch.all: v_pattern = 'f3 0f 10 .. .. f3 0f 59 .. .. .. .. .. e8 .. .. .. .. f3 41 0f .. .. f3 45 0f .. .. 4c 8d .. .. .. .. .. .. 48'.replace(" ", "") if (res := re.search(v_pattern, exe_hex)) is not None: v_addr = res.span()[0] + 46 v_patch = "f3 0f 5c c0 90".replace(" ", "") # SUBSS XMM0,XMM0; NOP; all NOP does work too exe_hex = exe_hex[:v_addr] + v_patch + exe_hex[v_addr + len(v_patch):] else: - print("er-patcher: disable_vigniette pattern scan failed") + print("er-patcher: disable_vignette pattern scan failed") if patch.disable_ca or patch.all: ca_pattern = "0f 11 43 60 48 8d 8b 80 00 00 00 0f 10 87 a0 00 00 00 0f 11 41 f0 48 8d 87 b0 00 00 00 0f 10 08 0f 11 09".replace(" ", "")