diff --git a/README.md b/README.md index bbaab5f..9a75b7e 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ A tool aimed at enhancing the experience when playing the game on linux through - `-v` or `--disable-vigniette` for removing the vigniette overlay - `-c` or `--disable-ca` for disabling chromatic abberation - `-a` or `--increase-animation-distance` for fixing low frame rate animations at screen edges or for distant entities. + - `-s` or `--skip-intro` for skipping intro logos when the game starts - `-f` or `--remove-60hz-fullscreen` for removing the 60Hz limit in fullscreen mode (only applies to windows and has no effect when running the game through proton due to fshack) - Example: `./er-patcher --rate 30 -uavc -- %command%` - Example with mangohud and wine fullscreen fsr: `./er-patcher --rate 144 -uvca -- env WINE_FULLSCREEN_FSR=1 MANGOHUD=1 MANGOHUD_CONFIG=histogram %command%` diff --git a/er-patcher b/er-patcher index f76a640..3410bc6 100755 --- a/er-patcher +++ b/er-patcher @@ -19,6 +19,7 @@ if __name__ == "__main__": 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.") 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.") parser.add_argument("-f", "--remove-60hz-fullscreen", action='store_true', help="Remove 60hz lock in fullscreen.") patch = parser.parse_args(patcher_args) @@ -58,6 +59,12 @@ if __name__ == "__main__": "e82b309c010f28f80f28c6e820359c01f30f5ef80f28cff3410f5e4c2454", "e82b309c010f28f80f28c6e820359c01f30f5ef80f28cf0f57c9660fefc9" ) + + if patch.skip_intro: + exe_hex = exe_hex.replace( + "80 bf b8 00 00 00 00 74 53 48".replace(" ", ""), + "80 bf b8 00 00 00 00 90 90 48".replace(" ", "") + ) if patch.remove_60hz_fullscreen: exe_hex = exe_hex.replace(