SMM3 cant find Installation on Linux
hi i have Satisfactory installed via Epic Games Store in Lutris
i reinstalled everything, rebooted etc. but smm still cant find the install location of my game
i even reinstalled EpicGames and Satisfactory and left everything on the default settings from Lutris
debug log says smm cant run lutris -lj
...but if i run the command in a shell, the command executes fine!
somebody an idea how to fix this?
89 Replies
-# Responding to
Key Details for SMMDebug-2024-10-12-13-45-41.zip
triggered by @Exilium@Mircea (Area Actions)
What's the output and exit code (
echo $?
) after running lutris -lj
in the terminal?running lutris -lj and afterwards echo $? returns 130
Is lutris installed as a flatpak or native?
native
Hmm, 130 is SIGINT, did you ctrl+C the command?
strange, no i didnt
i rerun it, now output is 0
What if you run
LUTRIS_SKIP_INIT=1 lutris -lj
?0 again
And if you run SMM from the terminal?
still cannot find Satisfactory
Still logging
failed to run lutris -lj: exit status 1
?yes
I'll send a build in a moment that logs the output of that command as well, hopefully it will help
This took way longer to build than it should have
no worries
same as before, exit status = 1
i hope the logs will tell you more
-# Responding to
Key Details for SMMDebug-2024-10-12-14-31-55.zip
triggered by @ExiliumUhh
It didn't log the extra thing I added
Did I not upload the correct file?
I did not, but also apparently I can reproduce the issue
What?
uh whats triggering it
How did I get a segfault on something made in python
hmm i dont code in python 😄
i could help if it was asm or Pascal
This seems to be the error in my case
oh no
so an error mostly related to the lutris-installation?
Maybe, but could also be related to being called from within another program
Well, I removed the
LUTRIS_SKIP_INIT=1
and it seems to work now, but it means lutris will show the check for updates popup every time you open SMMwell i would prefer playing the game with mods having an annoying popup over no mods at all 😄
can you share me your version that works?
Hmm, I'm not sure removing that would fix it for the appimage
ah okay :/
Uploaded another build just in case (same link)
But I got a different error when launching the appimage
So the GTK one might have just been on my end
hmm
so no easy way to fix this i assume ^^
I hope just overwriting the PYTHONHOME and PYTHONPATH to empty will make it use the proper system python
Hmm, now I'm getting the GTK error again
Even with the SKIP_INIT commented
Uploaded another build
Same link
well error log is different but same result, lutris exit code = 1 and cant find the game
-# Responding to
Key Details for SMMDebug-2024-10-12-17-07-15.zip
triggered by @Exiliumsry for the delay, had to buy some stuff before closing hour 😄
No worries
And you just reminded me that I should do that too lol
Mh, it's still the GTK error
Why is lutris even trying to initialize its window for this
maybe the -j operator?
lutris -l does list the games properly
if i just execute the -j operator, lutris will open a window
Just the j by itself does nothing
It's only checked when in combination with l
ah okay, then its just the normal bootup 🙂
i hit it and i started Lutris, thats why i misunderstood
Ok, update, it looks like SMM's env vars were not passed to the subprocess if other env vars for the process were set
So when I "fixed" it for the appimage, it broke again because env vars were still set
Now for me it still doesn't work because of the segfault, but it does also log the correct lutris output
Will upload a build soon that I hope will work
Uploaded
same link?
because i tried the google-drive one and it returns the same result
Should be the same
Unless I yet again didn't actually upload the file
file size is different, so it should already be the new one i guess
What's the new output?
-# Responding to
Key Details for SMMDebug-2024-10-12-18-49-17.zip
triggered by @Exiliumagain the lutris exit = 1, then some errors where smm somehow doesnt recognize its appimage file and then multiple GTK-errors
It's a different one this time
hmm so you are kind of on the right track of fixing 🙂
by the way: thank you for your effort and time!!
No worries
New SMM versions can find Heroic Launcher installation. That's why I moved from Epic with Lutris when I was experiencing this issue.
It was very easy as well, just had to copy the files from the Epic installation and verified with the Heroic Launcher.
However you can't get achievements on Heroic, that's the biggest downside, but you can play and update pretty decently, so idc.
Alright, I think I found the final fix
So, some of the parent env vars have to be passed (at least
DISPLAY
, not having it set causes the GDK_IS_SCREEN
error, since GDK doesn't initialize when there is no display, but potentially other env vars have to be passed too)
But passing all of them ends up with lutris using some appimage libs and some system libs, because the LD_LIBRARY_PATH
and PYTHONHOME
are set by the appimage, and a couple of GDK libs lutris wants are found in the appimage, and no python libs are in the appimage, so this breaks
Thankfully, appimage doesn't fully overwrite the LD_PATH_LIBRARY
, it does keep the original at the end, so I made it just remove the entries that are part of the appimageUploaded the build, same link (https://drive.google.com/file/d/1-HinT5TA7pC7C-L4Ww5bNn-CRt7mrvPB/view?usp=sharing), tested on a Manjaro Live CD with just the appimage and lutris installed
Google Docs
SatisfactoryModManager.AppImage
thx for the update, gonna test it as soon as possible and will report back 🙂
-# Responding to
Key Details for SMMDebug-2024-10-14-05-14-18.zip
triggered by @Exilium
same error. Did you upload the new version? ^^
sorry for the bad formatted log text, i sent it from my phone
It's fine
I'll build it again and upload with a different filename
Sorry it took so long, started debugging another thing and forgot I started the build
Will also log the env vars passed to lutris, in case there's another env var that can give it the wrong lib paths
-# Responding to
Key Details for SMMDebug-2024-10-14-12-41-17.zip
triggered by @ExiliumWhere did the code that logged the error go...
what do you mean?
It only logged the env vars, not the lutris stderr, because I stashed that to make a build with a fix for a different issue
well then next try XD i will test it right away 🙂
Uploaded
-# Responding to
Key Details for SMMDebug-2024-10-14-12-57-23.zip
triggered by @ExiliumHmm, there actually was no error
hmm
only thing i could try would be purging and reinstalling Lutris itself
i already tried reinstalling EpicGames (and Satisfactory multiple times)
I'll add more logging on the lutris install checking
maybe sth is messed up with the Game-Path on my end?
/home/pat/Games/epic-games-store/drive_c/Program Files/Epic Games/Satisfactory/FactoryGameEGS.exe
i assume this is the executable run by EGS
thats where Lutris and EGS put the .exe
Uploaded
-# Responding to
Key Details for SMMDebug-2024-10-14-13-14-54.zip
triggered by @ExiliumAh, I see
I've made it so that it reuses the windows epic finder
But converting the path to a wine path using the prefix
And missed adding the conversion in a few places
sounds promising 🙂
Uploaded
whoop, its working! 😄
do u need sth again? another log file or so?
No, if it works it's fine
perfect, thanks for your effort
No worries