I continued to poke around with the terminal. I went into the Stardew Valley.app and, in the Contents/MacOS folder, found the bash script 'StardewValley' that appears to check the macOS version and then load the game. The last line was
./"Stardew Valley" $@
So I looked at the contents of the folder and saw there was indeed another file called 'Stardew Valley' (note the space between the words compared to the script). I did a
chmod +x "Stardew Valley" to make it executable. When I tried to open the game via the command line (
./"Stardew Valley"), I was surprised to see it open. And it spewed out this:
NoFpsCap: This feature is not available
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=
savePreferences(); async=False, languageCode=en
[S_API FAIL] SteamAPI_Init() failed; ipcserver init failed .
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Could not determine Steam client install directory.
System.InvalidOperationException: Steamworks is not initialized.
at Steamworks.InteropHelp.TestIfAvailableClient()
at StardewValley.SDKs.SteamHelper.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\SteamHelper.cs:line 142
loadPreferences(); begin - languageCode=
savePreferences(); async=False, languageCode=en
loadPreferences(); begin - languageCode=en
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:1440 Height:900}
Disconnected: ClosedGame
zsh: killed ./"Stardew Valley"
I also ran the game successfully via the icon in my Applications folder, and also through GoG Galaxy.
However, there was still no option in co-op to Enter Invite Code, which there used to be when running the game through GoG Galaxy.