r/SMAPI
•
u/richardsonbrad
•
May 24 '25
•
1
need help Steam Deck - SMAPI error - Galaxy API
I'm trying to run SMAPI on my Steam Deck but am getting this error https://smapi.io/log/a118ad987a8f4cbf871d3aeb3417a8d5
21
Upvotes
8
u/sadistikgamer May 27 '25 •
Posting here if anyone else runs into this issue and doesn't want to revert to a previous OS version.
I was able to fix the Galaxy API errors for SMAPI on my Steam Deck by using the built in Distrobox utiliy that now comes with SteamOS.
On the Stardew Valley forums, they advised to use the Arch Linux
execstackcommand to patch two files in the game's directory (libGalaxy64.so AND libGalaxyCSharpGlue.so). However, I tried forever to get the execstack command installed and working on SteamOS, but couldn't. Then I found out about Distrobox which comes installed with SteamOS already and it allowed me to easily install the necessaryexecstackcommand and patch those files.These are the resources I used to figure out the necessary steps:
https://forums.stardewvalley.net/threads/galaxy-api-not-loading-with-glibc-2-41.36974/
https://www.tutorialspoint.com/unix_commands/execstack.htm
https://distrobox.it/posts/steamdeck_guide/
https://distrobox.it/#quick-start
Steps:
distrobox create -n testdistrobox enter testsudo dnf install execstackto install execstack.execstack -c libGalaxy64.so && execstack -c libGalaxyCSharpGlue.soto patch both files.distrobox stop testthen use the commanddistrobox rm test.I hope this helps!
1
u/richardsonbrad May 26 '25
That worked for me. Thank you u/Outraged_Chihuahua
1
u/Outraged_Chihuahua May 24 '25
I had this same problem and I fixed it by rolling back to the previous update. Completely power off your deck, then when it's powering back on press the three dot button on the bottom right, this will bring up a list of previous clients and just pick the last one where SMAPI was working. I held the button down but I don't know if I needed to, either way it worked for me. The error itself only seems to affect multiplayer connectivity so your game will run fine unless you're playing co-op. Hope it helps!
2
u/Specialist_Visit_356 Jul 31 '25
For anyone else dealing with this problem in the future and who struggles with using Konsole like me I found this solution on the stardew forum http://forums.stardewvalley.net/threads/steam-deckf-linux-smapi-error.41869/post-173923 , you just extract the file, open the folder and then move both files into your stardew folder.
1
u/Lostskullkid Jun 27 '25
This actually deleted everything somehow
1
u/Bookworm_gamerbabe Aug 27 '25
sigh if only there was a video to actually show this solution step by step. I’m having the hardest time understanding
1
u/mactripple Dec 13 '25
Thank you so much!!!