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

Programs run through protontricks don't seem to have access to game directories #4

Open
BrainBlasted opened this issue Nov 22, 2021 · 5 comments

Comments

@BrainBlasted
Copy link

Hi there - I'm trying to get Skyrim SSE set up with Mod Organizer in protontricks. However, when using Explorer in prontricks to set the path to the game, I discovered that it wasn't mounted anywhere (as far as I can tell). I couldn't manager to navigate to my steam folder and point MO to my Skyrim directory.

I'm using the Steam flatpak and the protontricks flatpak. Filesystem permissions have not been modified from the defaults, so ~/.var/app/com.valvesoftware.Steam access remains.

@Matoking
Copy link
Collaborator

You'll have to add permissions for the separate Steam library directories manually due to the Flatpak security model. Flatseal is probably the easiest option for this.

You can check the full path for the Steam library folders under Steam's Storage Manager (Settings -> Downloads -> Steam Library Folders -> check the path near the size utilization bar). You can add the path for each Steam library folder under Filesystem -> Other files in Flatseal.

@BrainBlasted
Copy link
Author

BrainBlasted commented Nov 25, 2021

I haven't changed my library path - adding ~/.var/app/com.valvesoftware.Steam/.local/share/Steam and ~/.local/share/Steam in Flatseal does not work as far as I can tell. I still haven't found a way to navigate to and access them from within protontricks.

@Matoking
Copy link
Collaborator

Starting with Protontricks 1.7.0, the application will print warnings for Steam library directories it cannot access, which usually happens because the Flatpak sandbox has insufficient filesystem permissions. If you still have the issue, could you check if it prints anything?

@equesvasil
Copy link

equesvasil commented Jan 21, 2022

could you check if it prints anything?

protontricks (WARNING): Flatpak version is too old (<1.12.1) to support sub-sandboxes. Disabling bwrap. --no-bwrap will be ignored. Traceback (most recent call last): File "/app/bin/protontricks", line 8, in <module> sys.exit(cli()) File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 28, in cli main(args) File "/app/lib/python3.9/site-packages/protontricks/cli/util.py", line 143, in wrapper return cli_func(self, *args, **kwargs) File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 220, in main run_command( File "/app/lib/python3.9/site-packages/protontricks/util.py", line 352, in run_command str(proton_app.proton_dist_path / "bin" / "wine") TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'

@Matoking
Copy link
Collaborator

could you check if it prints anything?

protontricks (WARNING): Flatpak version is too old (<1.12.1) to support sub-sandboxes. Disabling bwrap. --no-bwrap will be ignored. Traceback (most recent call last): File "/app/bin/protontricks", line 8, in <module> sys.exit(cli()) File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 28, in cli main(args) File "/app/lib/python3.9/site-packages/protontricks/cli/util.py", line 143, in wrapper return cli_func(self, *args, **kwargs) File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 220, in main run_command( File "/app/lib/python3.9/site-packages/protontricks/util.py", line 352, in run_command str(proton_app.proton_dist_path / "bin" / "wine") TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'

@equesvasil That seems to be a different problem. Could you create a new GitHub issue for this? You can try running Protontricks with the -v flag for additional details. For example, could you try running the following command to trigger the error?

$ flatpak run com.github.Matoking.protontricks -v --gui

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

3 participants