gurrgur / er-patcher

Elden Ring enhancement patches (ultrawide support, custom frame rate limits and more) seamlessly integrated with steam.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

permanent patch

KonstantinDjairo opened this issue · comments

can i apply the fps fix permanently to the binary ?
i mean, put some fps lock in that and then permanently patch it into the original exe
that would be awesome, specially for linux users

suggestion

https://pastebin.com/SSZALEWW
usage:
$ python3 patcher.py -r 30 -e /path/to/eldenring.exe -o patched_eldenring.exe

just remove the last line in the script(cleanup portion) then you can just run the script on its own and it will put the modified exe in a temp folder inside the directory and not delete itself.

After removing everything after #cleanup and running the script in the terminal, like this:

$ python3 er-patcher -r 100 -e path/to/ELDEN RING/Game/eldenring.exe -o patched_eldenring.exe

I get this:

path/to/ELDEN RING/Game/er-patcher", line 14, in
patcher_args = sys.argv[1:sys.argv.index("--")]
^^^^^^^^^^^^^^^^^^^^
ValueError: '--' is not in list

System is Nobara Linux. Anything I'm missing?

After removing everything after #cleanup and running the script in the terminal, like this:

$ python3 er-patcher -r 100 -e path/to/ELDEN RING/Game/eldenring.exe -o patched_eldenring.exe

I get this:

path/to/ELDEN RING/Game/er-patcher", line 14, in patcher_args = sys.argv[1:sys.argv.index("--")] ^^^^^^^^^^^^^^^^^^^^ ValueError: '--' is not in list

System is Nobara Linux. Anything I'm missing?

Just in case you're still wanting a fix: https://pastebin.com/aRj62gTi

  1. Make a backup of the original eldenring.exe (I just renamed mine to eldenring.exe.original)
  2. Run the the updated er-patcher (from the pastebin link) like normal and then you will see a 'tmp' directory in the main game folder
  3. Copy and replace (MAKE SURE YOU BACKED UP THE ORIGINAL .exe) the eldenring.exe from the 'tmp' folder into the main game folder.
  4. Launch the game like normal with out the er-patcher as a Launch Parameter

someone could open a PR implementing a CLI argument to do that, your script looks pretty good