Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permanent patch #52

Open
KonstantinDjairo opened this issue Jun 1, 2023 · 4 comments
Open

permanent patch #52

KonstantinDjairo opened this issue Jun 1, 2023 · 4 comments

Comments

@KonstantinDjairo
Copy link

KonstantinDjairo commented Jun 1, 2023

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

@Spark-NV
Copy link

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.

@adraido
Copy link

adraido commented Apr 3, 2024

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?

@jacobpina1
Copy link

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

@KonstantinDjairo
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants