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

[Linux] Alternate method for people having problems with protonhax #95

Open
ghost opened this issue Jul 28, 2024 · 2 comments
Open

[Linux] Alternate method for people having problems with protonhax #95

ghost opened this issue Jul 28, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@ghost
Copy link

ghost commented Jul 28, 2024

So, I'm one of those peeps that can't get protonhax to work properly; perhaps it's something to do with each distro, perhaps not. Maybe I should have enabled logging and verified everything before wasting any more time in this? Most definetely. But here is a surefire way to get proton to launch more than a single program under the same prefix at the same time.

TL;DR: I just wrote some batch wrappers to launch both seamless/vanilla and CE, then parsed %command% to launch the .bat.

There are three steps to the madness:

  1. Install Cheat Engine somewhere (I choose the elden ring prefix itself, installed normally — yikes — disabling the ads using the piping %command% to sed on steam launch options method that I'll demonstrate shortly);
  2. Tailor the .bat scripts to your CE setup;
  3. Tailor the steam launch options to replace content from the %command% string.

Here is the content of the batch script cewrapper.bat. I placed it in the Game folder:

@echo off

start .\eldenring.exe
rem start .\ersc_launcher.exe

start cmd /k "C:\Program Files\Cheat Engine 7.5\cheatengine-x86_64-SSE4-AVX2.exe"
rem start cmd /k "C:\Program Files\Cheat Engine 7.5\cheatengine-x86_64.exe"

If you want to change what you're going to launch, keep in mind rem is the comment-out syntax, so just move it to the line above where desired.

Here are the launch options for the cewrapper.bat, the ole piping to sed to sh method:

echo "%command%" | sed 's/start_protected_game.exe/cewrapper.bat/' | sh

Anyway. Hope this helps someone, somehow.

And thank you, Norii, for the table :)

@ghost
Copy link
Author

ghost commented Jul 28, 2024

Alternatively, I'll take a look at PINCE whenever I get the chance. Seems interesting, but AppImage...

@inuNorii
Copy link
Member

Hey thanks for this, I'll keep it open so it can hopefully help others that can't get CE to work through protonhax or protontricks.

Alternatively, I'll take a look at PINCE whenever I get the chance. Seems interesting, but AppImage...

PINCE is not intended for Windows games, and far too bare-bones compared to Cheat Engine, so very much unusable for a project like ours. It doesn't even seem to have scripting features.

@inuNorii inuNorii added the documentation Improvements or additions to documentation label Jul 28, 2024
@github-staff github-staff deleted a comment Aug 27, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
@github-staff github-staff deleted a comment from Lxx-c Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants
@inuNorii and others