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

How to run multiple applicaitons in the same pressure-vessel? #283

Open
puyebu opened this issue Nov 23, 2024 · 5 comments
Open

How to run multiple applicaitons in the same pressure-vessel? #283

puyebu opened this issue Nov 23, 2024 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@puyebu
Copy link

puyebu commented Nov 23, 2024

How to run an application in the same pressure-vessel?
Without it, second application cannot access memory of the first application.
They do run in the same prefix.

@puyebu puyebu changed the title Access issue running Cheat Engine Access issue between applications running in the same prefix with umu Nov 28, 2024
@puyebu puyebu changed the title Access issue between applications running in the same prefix with umu How to run multiple applicaitons in the same pressure-vessel? Nov 29, 2024
@mmbossoni
Copy link

mmbossoni commented Nov 29, 2024

Quick workaround now is to set PRESSURE_VESSEL_SHELL=after variable.
This will open a shell inside pressure vessel were you can $PROTON_PATH/proton run /path/to/the/exe

A few helper variables will exist inside it, like $WINEPREFIX for your current prefix and $@ is the game command being executed

@Faugus
Copy link

Faugus commented Dec 5, 2024

@mmbossoni thanks for this!

PROTON_PATH wasn't set inside the shell, so I had to navigate to ~/.local/share/Steam/compatibilitytools.d/GE-Proton9-20/ and run ./proton run /path/to/the/exe.

@R1kaB3rN any chance to make an option for this? Like a PROTON_VERB or something.
This is pretty helpful for using mods, trainers, cheat engine, etc.

@loathingKernel
Copy link
Contributor

loathingKernel commented Dec 5, 2024

Just to confirm, trainers and cheat engine do not work with the documented verb manipulation i.e. running the first application with waitforexitandrun and any subsequent applications with runinprefix?

@Faugus
Copy link

Faugus commented Dec 5, 2024

@loathingKernel It doesn't work. It detects the game's executable, but can't apply the modifications.

image

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Dec 5, 2024

@R1kaB3rN any chance to make an option for this? Like a PROTON_VERB or something. This is pretty helpful for using mods, trainers, cheat engine, etc.

Sure, pull requests are welcome. And while I have some ideas to approach this, I think the less involved way for now is to do this within protonfixes. For example, there'll need to be a Python function in util.py that'll create the subprocess for the trainer or whatever in the background. This feature would be configurable to clients/users via a new environment variable separate from GAMEID. But in the future, for organization, it would probably be best to extrapolate that specific functionality as a separate module.

@R1kaB3rN R1kaB3rN added enhancement New feature or request question Further information is requested labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants