rockerbacon / modorganizer2-linux-installer

An easy-to-use Mod Organizer 2 installer for Linux
GNU General Public License v3.0
1.03k stars 80 forks source link

Prefix not found #585

Closed Overlord30 closed 8 months ago

Overlord30 commented 8 months ago
INFO: all dependencies met
INFO: selected game 'newvegas'
INFO: found Steam in '/home/user/.steam/debian-installation'
INFO: game not found in '/home/user/.steam/debian-installation'
INFO: game not found in '/mnt/BLANK/SteamLibrary'
INFO: game not found in '/mnt/BLANK/SteamLibrary'
INFO: game not found in '/mnt/BLANK/SteamLibrary'
INFO: steam not found in '/home/userl/.var/app/com.valvesoftware.Steam/.local/share/Steam'
INFO: game found in '/mnt/BLANK/SteamLibrary'
INFO: user confirmed prefix setup
ERROR: no prefix found

I'm trying to install for Fallout New Vegas. I have Proton 8 Installed in the same drive as new vegas. I've run and made sure that the game "install" the new proton vers.

rockerbacon commented 8 months ago

Provided logs were not produced by software distributed by us.

Sheemerish commented 8 months ago

I know this is listed as completed but I want to add that I have just been following the directions on this site, downloaded the archive from the link in step 2 and I am running into the exact same thing as Overlord30 reported. If this is not coming from software you distributed you may want to verify that it is your software you are linking to in your installation steps.

rockerbacon commented 8 months ago

@Sheemerish I’m not dismissing the issue, just the report. From the looks of things the original poster either tampered with the logs before sending them or modified the software to produce different logs and I’ll deal with neither

Sheemerish commented 8 months ago

@rockerbacon Okay. I don't think they did tamper with it though. I have run ./install.sh from the Konsole on the Steam Deck and got the identical output. It's not a log file, just terminal output.

Sheemerish commented 8 months ago

I shouldn't say mine is the exact same, sorry. Mine was saying that Steam and the game was found in different directories. Just the same result.

Sheemerish commented 8 months ago

For more detail, this error shows up after the GUI part of selecting "All done..." and also creates a pop up error message with a title of "Error" and a message saying "A prefix for the selected game could not be found. Make sure you have followed the instructions on creating a clean prefix."

Maybe I am just blind but I have not yet found the referenced instructions.

weayer404 commented 8 months ago

Although it might be too late to respond now, the issue seems to be that the Protontricks utility is unable to read your game directory, possibly due to dual-boot system configurations. I encountered a similar problem; when I opened Protontricks, instead of displaying a list of games, it threw an error. This can be resolved by granting Protontricks access to global files using Flatseal. For details, refer to BV1CA411r7DT in bilibili :) (a chinese vedio web). After granting the necessary permissions and reinstalling according to the procedure, the issue should be resolved

namgo commented 8 months ago

@rockerbacon do you want me to open up a new issue? The only thing the original poster modified here afaik is /mnt/BLANK

INFO: selected game 'skyrimspecialedition'
INFO: found Steam in '/home/nathan/.local/share/Steam'
INFO: game not found in '/home/nathan/.local/share/Steam'
INFO: steam not found in '/home/nathan/.var/app/com.valvesoftware.Steam/.local/share/Steam'
INFO: game found in '/media/games/SteamLibrary'
INFO: user confirmed prefix setup
ERROR: no prefix found

After having run the installer with bash -x install.sh I get some more helpful info:

++ load_prefix_locations
+++ /home/nathan/mo2installer/utils/protontricks.sh get-prefix 489830
++ game_prefix=
++ '[' -n '' ']'
++ '[' -z '' ']'
++ log_error 'no prefix found'
++ echo ERROR: 'no prefix found'

Like weayer404 is saying, I (and OP) have the game installed on a second disk which is mounted under /media/games

The error is at least partially an upstream (protontricks) issue though and I'm unclear if I'm getting the error due to 32bit libs being misconfigured on my system, bubblewrap not being installed or the different mounts being a problem?

I did get it working though:

The fix that makes it work for me is adding --no-bwrap on https://github.com/rockerbacon/modorganizer2-linux-installer/blob/b835fd8ed053ce405bd47dd63245c74803b6a493/utils/protontricks.sh#L33