Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.3k stars 439 forks source link

[Bug] Wine-related options appearing for Linux Native games #1998

Closed redromnon closed 2 years ago

redromnon commented 2 years ago

Describe the bug

All the wine-related options used for Windows games are appearing for Linux native games as well (OpenTTD in my case). I'm not sure if this occurs for Mac native games too.

Add logs

(12:17:34) INFO: [Connection]: Connectivity: check-online (12:17:34) INFO: [Connection]: Pinging external endpoints (12:17:34) INFO: [Legendary]: Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version (12:17:34) INFO: [Legendary]: Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary (12:17:34) INFO: [Gog]: GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl (12:17:34) WARNING: [Backend]: Protocol already registered. (12:17:35) INFO: [Gog]: Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --version (12:17:35) INFO: [Connection]: Connectivity: online (12:17:35) INFO: [Gog]: Getting data about the user (12:17:36) INFO: [Backend]:

Heroic Version: 2.5.0-beta.2 Caesar Clown Legendary Version: 0.20.30 Dark Energy (hotfix #4) GOGdl Version: 0.5 OS: Pop KERNEL: 6.0.3-76060003-generic ARCH: x64 CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx @2.1 GOVERNOR: powersave RAM: Total: 13.57 GiB Available: 6.72 GiB GRAPHICS: GPU0: Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] VRAM: 512MB DRIVER:
PROTOCOL: x11

(12:17:37) INFO: [Backend]: Checking for new Heroic Updates (12:17:37) INFO: [Frontend]: Refreshing Library (12:17:37) INFO: [Legendary]: Refreshing library... (12:17:37) INFO: [Legendary]: Refreshing Epic Games... (12:17:37) INFO: [Legendary]: Game list updated, got 33 games & DLCs (12:17:37) INFO: [Gog]: Getting GOG library (12:17:40) INFO: [Gog]: Saved user data to config (12:17:40) INFO: [Backend]: AreWeAntiCheatYet data downloaded (12:17:40) INFO: [Gog]: Number of library pages: 1 (12:17:40) INFO: [Winetricks]: Downloaded Winetricks (12:17:40) INFO: [Legendary]: Running command: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary list (12:17:40) INFO: [DXVKInstaller]: Updating vkd3d to: vkd3d-proton-2.7.tar.xz (12:17:40) INFO: [Gog]: Saved games data (12:17:42) INFO: [DXVKInstaller]: downloaded vkd3d (12:17:42) INFO: [DXVKInstaller]: extracting vkd3d (12:17:42) INFO: [DXVKInstaller]: extracting vkd3d updated! (12:17:50) INFO: [Gog]: Getting game metadata: /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl info 1293297882 --token --lang=en-US --os windows (12:18:11) INFO: [Backend]: Writing config for 1293297882 (12:18:11) INFO: [Backend]: { "audioFix": true, "autoInstallDxvk": false, "autoInstallVkd3d": false, "preferSystemLibs": false, "enableFSR": false, "maxSharpness": 2, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "savesPath": "", "showFps": false, "showMangohud": false, "targetExe": "", "useGameMode": false, "useSteamRuntime": false, "language": "", "wineVersion": { "bin": "/usr/bin/wine", "name": "Wine Default - wine-7.10 (Staging)", "type": "wine", "wineserver": "/usr/bin/wineserver", "wineboot": "/usr/bin/wineboot" }, "winePrefix": "/home/redromnon/Games/Heroic/Prefixes/OpenTTD", "wineCrossoverBottle": "Heroic", "eacRuntime": false, "battlEyeRuntime": false, "gogSaves": [] }

Steps to reproduce

  1. Go to Library
  2. Click on any Linux native game
  3. Select Game Settings
  4. See issue

Expected behavior

All settings and options related to Windows games should be disabled or not shown at all for native games.

Screenshots

WineOptions_Linuxgames

System Information

Additional information

No response

CommandMC commented 2 years ago

Resolved with #2008 and #2079