Nexus-Mods / NexusMods.App

Home of the development of the Nexus Mods App
https://nexus-mods.github.io/NexusMods.App/
GNU General Public License v3.0
933 stars 45 forks source link

Consider using ULWGL #854

Open erri120 opened 8 months ago

erri120 commented 8 months ago

Project: https://github.com/GloriousEggroll/ULWGL (https://github.com/Open-Wine-Components)

The Unified Linux Wine Game Launcher (ULWGL) is a currently a proof of concept by GloriousEggroll, who is best known for their custom Proton and WINE builds: proton-ge-custom and wine-ge-custom.

This project can be massive for tools such as the Nexus Mods App, which needs to launch games for Windows on Linux using WINE or Proton. Currently, we only support running Steam games on Linux, and we do that by running the game through Steam: https://github.com/Nexus-Mods/NexusMods.App/blob/61089f3c7fbd277e7402fa963d8b4f7e436443f1/src/NexusMods.DataModel/Games/RunGameTool.cs#L116

If ULWGL becomes a real project, we should look into using it to launch games on Linux, as it makes it very easy to launch any kind of executable inside a WINEPREFIX:

When you use gamelauncher.sh to run a game, it uses the specified WINEPREFIX, proton version, executable, and arguements passed to it to run the game in proton, inside steam's runtime container JUST like if you were running the game through Steam, except now you're no longer limited to Steam's game library or forced to add the game to Steam's library, in fact, you don't even have to have steam installed.

erri120 commented 3 months ago

Related to #308.

nyabinary commented 2 months ago

How would this affect GOG/Heroic Launcher compatibility?

Sewer56 commented 2 months ago

@nyabinary At the moment, not at all.

Detecting games in extra launchers and running them through the most appropriate meaaure are separate issues to implement. Even though it is true that configurations on how to run the games can be copied from the launchers.

nyabinary commented 1 week ago

https://www.gamingonlinux.com/2024/10/unified-linux-wine-game-launcher-umu-gets-a-first-official-release/ The first official release came out recently.