Skip to content

Autodetect does not find RimWorld installed via GOG (macOS and Linux) #2447

Closed

Description

@0-danielviktorovich-0

Problem

When RimWorld is installed through GOG (GOG Galaxy or the offline installer), the Autodetect button in Settings → Locations fails to fill the Game location and Local mods location fields.

PathAutodetectService currently only looks at Steam installations: it parses libraryfolders.vdf and falls back to hardcoded Steam paths. With no Steam installation present, it returns non-existent Steam fallback paths, the fields stay empty, and the essential-paths check keeps failing on every launch.

The same applies on Linux for GOG installs (official offline installer under ~/GOG Games/<title>/game, or Heroic/Lutris under ~/Games/...).

Environment

  • RimSort built from current main (up to 64d9ce7)
  • macOS 15 (Apple Silicon), RimWorld 1.6.4871 via GOG Galaxy, installed at /Applications/RimWorld.app
  • Steam not installed

Notes on the GOG layout (macOS)

The GOG build ships as a single bundle with game content at the bundle root:

/Applications/RimWorld.app
├── Contents/
├── Data/          (Core + DLCs)
├── Mods/
└── Version.txt

So the bundle itself is a valid "game folder" for RimSort's macOS handling (get_executable_path() already expects the .app directory), it is just never looked for outside Steam.

Expectation

Autodetect should also discover non-Steam installations so first-run configuration works without manually locating the game folder (or maintaining symlinks as a workaround).

I have a working implementation and can open a PR. Sketch of the approach: keep Steam detection unchanged, then fall back to launcher metadata (Heroic's GOG installed.json) and a bounded, content-validated search over platform-standard roots (/Applications, ~/Applications, ~/GOG Games, ~/Games), keeping the existing hardcoded paths as the last resort.

Activity

  1. added a commit that references this issue on Sep 17, 2026
    20deaf7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions