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

Multi-instance does not work with flatpak version. #69

Open
Biguibi opened this issue Nov 7, 2023 · 0 comments
Open

Multi-instance does not work with flatpak version. #69

Biguibi opened this issue Nov 7, 2023 · 0 comments

Comments

@Biguibi
Copy link

Biguibi commented Nov 7, 2023

When opening multiple PPSSPP Windows, the instances cannot detect one another thus multiplayer on the same PC does not work.

Multiple instance netplay depends on shared memory as seen on this commit
hrydgard/ppsspp#14907
which fixes this issue:
hrydgard/ppsspp#14906

Enabling shared memory (device=shm) with flatseal seems to fix the issue and the instances can detect each other, which can be easily verified by having a grayed out "Backend" option and muted audio on all but the first instance.
For some reason new instances stop being detected after the "Network Initialized" message.

Off-topic note: For playing with multiple saves on Linux I would recommended creating a script to run your other instances with a different HOME variable, thus one home folder for each player, and the device=shm permission needs to be set with flatseal (or command-line) for each one of them, otherwise all instances will use the same saves which may lead to conflicts in games where all saves are within one single file.

All of this was tested with Monster Hunter Portable 3rd.

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

1 participant