KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.99k stars 348 forks source link

[Feature]: Recognize Windows instances on Linux #4211

Closed zaafonin closed 1 month ago

zaafonin commented 1 month ago

Problem

Linux CKAN is trying to be smart and only recognize native Linux instances of KSP. However, especially with graphic mods, it might be more performant and stable to run the Windows version of KSP under Wine with DXVK instead of the native Linux version that uses OpenGL.

Suggestion

Windows CKAN already supports Windows installs of KSP (of course it does), so I suggest not disabling that behavior for Linux builds.

Launching game might be a bit tricky but a custom settings menu for wine prefix and env variables can be created. If too complicated, launch functionality isn't really top priority since Wine players probably already have a reliable way to launch the game: a custom crafted .desktop file, a Lutris instance or a Steam import.

Alternatives

If Windows CKAN wasn't crashy on Wine I'd maybe use that, but it's more of a Wine/.NET problem and catering to Wine's quirks is advised against by Wine developers.

Additional context

No response

zaafonin commented 1 month ago

Oh I'm stupid. It's literally what was implemented in the last update.