diff --git a/er-patcher b/er-patcher index 4da3d79..053b3cd 100755 --- a/er-patcher +++ b/er-patcher @@ -19,8 +19,7 @@ if __name__ == "__main__": parser.add_argument("-r", "--rate", type=int, default=60, help="Modify the frame rate limit (e.g. 30, 120, 165 or whatever).") parser.add_argument("--with-eac", action='store_true', help="Run game with EAC (Use at own your risk)") parser.add_argument("--disable-rune-loss", action='store_true', help="Disable losing runes upon death.") - parser.add_argument("--fix-camera", action='store_true', help="Disable camera auto-rotation.") - parser.add_argument("--all", action='store_true', help="Enable all options except rate adjustment and gamplay changes like `--fix-camera` and `--disable-rune-loss`.") + 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("-c", "--disable-ca", action='store_true', help="Disables chromatic abberation.") @@ -42,15 +41,6 @@ if __name__ == "__main__": else: print("er-patcher: rate pattern scan failed") - if patch.fix_camera: - cf_pattern = '0f 29 a6 .. .. .. .. 41 0f 28 cf'.replace(" ", "") - if (res := re.search(cf_pattern, exe_hex)) is not None: - cf_addr = res.span()[0] - cf_patch = "90 90 90 90 90 90 90".replace(" ", "") - exe_hex = exe_hex[:cf_addr] + cf_patch + exe_hex[cf_addr + len(cf_patch):] - else: - print("er-patcher: fix_camera pattern scan failed") - if patch.disable_rune_loss: rl_pattern = "b0 01 .. 8b .. e8 .. .. .. .. .. 8b .. .. .. 32 c0 .. 83 .. 28 c3".replace(" ", "") if (res := re.search(rl_pattern, exe_hex)) is not None: