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

Script using Steam installed as a flatpak does not install #298

Closed
Jdreioe opened this issue Jan 22, 2022 · 2 comments
Closed

Script using Steam installed as a flatpak does not install #298

Jdreioe opened this issue Jan 22, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Jdreioe
Copy link

Jdreioe commented Jan 22, 2022

After installing all of the requirements on my Arch install, I tried running ./install in the terminal, however since I installed Steam as a Flatpak (flatpaks are generally more secure), the Steam installation directory could not be found according to the script.
The flatpak Steam dir is $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam

@sergiofenoll
Copy link

Hey! I got this to work yesterday, so I this could help you out.

Are you using native protontricks (installed via pacman/AUR) or protontricks via flatpak?

If you're using native protontricks, you'll have to edit the scripts to set the environment variable STEAM_DIR to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam. Native protontricks never tries to look for Steam in the flatpak directory. What you should do is edit install.sh and add this to the top:

#!/bin/bash

export STEAM_DIR=$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam

...

This way, your protontricks install should be able to find your Steam install dir.

If you're using protontricks via flatpak, you should download the 4.2.2 pre-release and make the following edit in step/download_external_resources.sh

# replace the following line
# downloaded_winetricks="$downloads_cache/winetricks"
downloaded_winetricks="$HOME/.var/app/com.valvesoftware.Steam/winetricks"

This makes it so your protontricks can actually find the winetricks that the script is installing.

After doing either of these two, you should be able to install Mod Organizer using this repo's scripts!

One thing though, I also found out that Mod Organizer won't work unless you install it in a path that's accessible for the game you're trying to mod. I wrote about it in issue #296, so you might want to look at that as well. In short, what worked for me is installing MO in the install directory of the game I'm trying to mod.

Hope this could help you!

@rockerbacon rockerbacon added the duplicate This issue or pull request already exists label Jan 24, 2022
@rockerbacon
Copy link
Owner

Duplicate of #289

@rockerbacon rockerbacon marked this as a duplicate of #289 Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants