SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

A way to hide the launcher terminal? For Steam Deck

LiamDawe opened this issue ยท 12 comments

commented

Hi, trying to do a video on this for the Steam Deck but i've come up against an issue.

When you go to load with SMAPI installed, the terminal that comes up to tell you it's loading mods entirely covers the game and the Deck UI doesn't have an alt-tab like thing to swap to the actual Stardew Valley screen. Is there a way to have this SMAPI screen hidden somehow?

commented

So, I currently have an ugly solution.

if [ "$HOSTNAME" == "steamos" ]; then
SKIP_TERMINAL=true
fi

Obviously this will break if someone decides to change the systems hostname. Trying to figure out a way to check /etc/os-release as that will never change as long as the user is running steamos3 itself.

1426489 2850000001_image

commented

Yep, you can do it like this on Linux (and I assume it's the same on Steam Deck):

  1. Open your game folder.
  2. Open the StardewValley file (the one with no file extension) in a text editor.
  3. Change SKIP_TERMINAL=false near the top to SKIP_TERMINAL=true.

You'll need to do that again each time you update SMAPI though, since it'll replace the launcher.

commented

Ah, perfect!

Did I miss this in the setup guide, I didn't spot a section on it.

commented

Nope, it was only meant as a last resort for a gamepad support issue. We'll probably need a section for instructions specific to the Steam Deck in the Linux install guide now though.

commented

Well, thanks to your help, I could whip up a video guide :D https://youtu.be/CrrWtqdbvC4

commented

Thanks for the guide! I added the initial Steam Deck info to the Linux install guide, and added a link to your video.

commented

Oh wow, thank you! <3

commented

What does $(uname) return? We're already using that to check for macOS, so it might work for SteamOS too.

commented

This should probably be separated from the Linux guide as many users won't know what Linux is.

Is it also not possible to have a check to auto hide the terminal similar to how it checks for different terms?

commented

They still need to run the Linux installer, but we could maybe have something like this in the install guide?

I don't have a Steam Deck myself, but pull requests are welcome if you want to add Steam Deck detection to the launcher!

commented

I'm terrible at scripting but I'll give it a go.

commented

uname just returns Linux, although uname --nodename does return steamdeck so that could be an option.

image