LinuxCoopFix

Fixes co-op multiplayer for Linux players affected by the glibc 2.41 Galaxy SDK bug.

Linux Coop Fix

Fixes co-op multiplayer issues for Linux players caused by a broken Galaxy SDK initialization.

The Problem

On Linux systems running glibc 2.41+ (common on newer distros like Ubuntu 24.10, Arch, etc.), Stardew Valley fails to load the Galaxy SDK on startup. This causes the game to hang on "Connecting to online services..." and makes co-op completely unavailable — even via Steam.

The root cause is that the Galaxy .so files ship with an executable GNU_STACK header, which glibc 2.41 no longer allows.

What This Mod Does

On first launch, the mod patches the Galaxy .so files directly to remove the executable stack flag. After a restart, the Galaxy SDK loads correctly and co-op works again.

  • No external tools required (no patchelf needed)
  • The patch is only applied once and remembered
  • On Windows and macOS the mod does nothing

Requirements

  • SMAPI 4.0.0 or later
  • Stardew Valley 1.6+
  • Linux with glibc 2.41+ (the mod has no effect on other systems)

Installation

  1. Install SMAPI
  2. Download this mod and unzip it
  3. Place the LinuxCoopFix folder into your Mods folder
  4. Launch the game via SMAPI
  5. Restart the game once after the first launch

Notes

  • If co-op still does not work after restarting, check your SMAPI log for errors from [Linux Coop Fix]
  • Your SMAPI log is located at ~/.config/StardewValley/ErrorLogs/SMAPI-latest.txt
  • You can upload your log at smapi.io/log for easier reading

The LinuxCoopFix Team

profile avatar
Owner
  • 2
    Projects
  • 500
    Downloads