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
7.71k stars 413 forks source link

Can install an exe and run a game via stock Wine (9.0, flatpak) - but through Heroic "nothing" works #3604

Open dziadulewicz opened 5 months ago

dziadulewicz commented 5 months ago

Describe the bug

Through Run installer first it only gives "invalid command line" and that's it. Then installing and running the game first via stock Wine (9.0, flatpak) outside of Heroic works. Trying to add this game and giving Heroic the same exe only then gives "Starting error". None of the tried Wine-GE-Proton work. How can i point Heroic to use that stock flatpak Wine 9.0 of the system?

How can it be that the stock Wine and right clicking on the exe and launching works but a launcher that is supposed to make things more simpler and tweakable does not even install the game / nevermind launch it?

Have been trying Lutris already too but the installation only stucks to "installing game data". And to press it: stock Wine works but not through these launchers. It is so mind boggling (on why for example recommend installing through these launchers in the case of new comers).

Add logs

(12:53:37) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(12:53:37) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(12:53:37) INFO:    [Connection]:       Connectivity: check-online
(12:53:37) INFO:    [Connection]:       Pinging external endpoints
(12:53:39) INFO:    [Gog]:              Checking for existing gog manifests
(12:53:39) INFO:    [Backend]:          DRM module staus {
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2710.0"
  }
}
(12:53:41) WARNING: [Backend]:          Failed to register protocol with OS.
(12:53:41) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(12:53:41) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version
(12:53:41) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
(12:53:41) INFO:    [Connection]:       Connectivity: online
(12:53:41) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(12:53:41) INFO:    [Backend]:          User Not Found, removing it from Store
(12:53:42) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(12:53:42) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(12:53:43) WARNING: [DXVKInstaller]:    No GPU with Vulkan 1.1 support found, VKD3D will not work
(12:53:43) WARNING: [DXVKInstaller]:    No GPU with Vulkan 1.1 support found, DXVK will not work
(12:53:43) INFO:    [Winetricks]:       Downloading Winetricks
(12:53:44) INFO:    [Backend]:          
System Information:
CPU: 8x Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Memory: 8.31 GB (used: 3.33 GB)
GPUs:
  GPU 0:
    Name: NVIDIA Corporation GT218 [GeForce G210]
    IDs: D=0a60 V=10de SD=9045 SV=1b0a
    Driver: nouveau
OS: Manjaro Linux 6.6.16-2-MANJARO (linux)

The current system is not a Steam Deck
We are running inside a Flatpak container

Software Versions:
  Heroic: 2.13.0 Dorry & Broggy
  Legendary: 0.20.34 Direct Intervention
  gogdl: 1.0.0
  Nile: 1.0.1 Jonathan Joestar

(12:53:45) INFO:    [WineDownloader]:   Updating wine versions info
(12:53:45) INFO:    [WineDownloader]:   Fetching upstream information...
(12:53:46) INFO:    [Backend]:          Frontend Ready
(12:53:46) INFO:    [Backend]:          Checking for current version changelog
(12:53:48) INFO:    [WineDownloader]:   wine versions updated
(12:53:51) INFO:    [Backend]:          Starting the Download Queue
(12:54:02) ERROR:   [Frontend]:         Error: Request failed with status code 404
(12:54:34) INFO:    [Backend]:          Adding shortcuts for HP1
(12:54:34) ERROR:   [DownloadManager]:  Downloader: Failed to get headers for file:///app/bin/heroic/resources/app.asar/build/assets/heroic_card.1b4786a1.jpg. 
Error: Error: connect ECONNREFUSED ::1:80
(12:54:34) INFO:    [Backend]:          Writing config for xBcEBdD5zQcewbxdQoSLbU
(12:54:34) INFO:    [Backend]:          Changed config: winePrefix from /home/tux/Games/Heroic/Prefixes/default to /home/tux/Games/Heroic/Prefixes/default/HP1
(12:54:34) INFO:    [Backend]:          Changed config: wineCrossoverBottle from undefined to 
(12:54:34) INFO:    [Frontend]:         Refreshing sideload Library
(12:54:34) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(12:54:34) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(12:54:42) INFO:    [Backend]:          Launching HP1 (xBcEBdD5zQcewbxdQoSLbU)
(12:54:42) INFO:    [Backend]:          Preventing display from sleep
(12:54:42) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(12:54:42) ERROR:   [Backend]:          Wine version Default Wine - Not Found is not valid, trying another one.
(12:54:42) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(12:54:42) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:54:42) INFO:    [Backend]:          Preventing machine to sleep
(12:54:51) INFO:    [Backend]:          Changing wine version to Wine - Wine-GE-Proton8-26
(12:54:51) INFO:    [Backend]:          xBcEBdD5zQcewbxdQoSLbU: Setting wineVersion to {"bin":"/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine","name":"Wine - Wine-GE-Proton8-26","type":"wine","lib":"/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-26/lib64","lib32":"/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-26/lib","wineserver":"/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wineserver"}
(12:54:52) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:54:52) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:54:52) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:54:52) DEBUG:   [Backend]:          Running Wine command: wineboot --init
(12:55:45) INFO:    [Backend]:          Created/Updated Wineprefix at /home/tux/Games/Heroic/Prefixes/default/HP1
(12:55:45) INFO:    [DXVKInstaller]:    installing dxvk on... /home/tux/Games/Heroic/Prefixes/default/HP1
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d10core /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d11 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d9 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v dxgi /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d10core /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d11 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d9 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v dxgi /d native,builtin /f
(12:55:45) INFO:    [DXVKInstaller]:    installing vkd3d on... /home/tux/Games/Heroic/Prefixes/default/HP1
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d12 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d12core /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d12 /d native,builtin /f
(12:55:45) DEBUG:   [Backend]:          Running Wine command: reg add HKEY_CURRENT_USER\Software\Wine\DllOverrides /v d3d12core /d native,builtin /f
(12:55:45) INFO:    [Backend]:          launching non-native sideloaded: /run/user/1000/doc/67963bc4/HP.exe}
(12:55:45) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(12:55:45) DEBUG:   [Backend]:          Running Wine command: /run/user/1000/doc/67963bc4/HP.exe 
(12:55:45) DEBUG:   [Backend]:          Logging to file "/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/xBcEBdD5zQcewbxdQoSLbU-lastPlay.log"
(12:55:45) INFO:    [Backend]:          Stopping Power Saver Blocker
(12:56:09) INFO:    [Backend]:          Stopping Display Power Saver Blocker
(12:56:09) INFO:    [Frontend]:         Refreshing sideload Library
(12:56:09) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(13:06:20) INFO:    [Backend]:          Launching HP1 (xBcEBdD5zQcewbxdQoSLbU)
(13:06:20) INFO:    [Backend]:          Preventing display from sleep
(13:06:20) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(13:06:20) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(13:06:20) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(13:06:20) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(13:06:20) DEBUG:   [Backend]:          Running Wine command: wineboot --init
(13:06:21) INFO:    [DXVKInstaller]:    installing dxvk on... /home/tux/Games/Heroic/Prefixes/default/HP1
(13:06:21) INFO:    [DXVKInstaller]:    dxvk already installed!
(13:06:21) INFO:    [DXVKInstaller]:    installing vkd3d on... /home/tux/Games/Heroic/Prefixes/default/HP1
(13:06:21) INFO:    [DXVKInstaller]:    vkd3d already installed!
(13:06:21) INFO:    [Backend]:          launching non-native sideloaded: /run/user/1000/doc/67963bc4/HP.exe}
(13:06:21) INFO:    [Backend]:          Checking if wine version exists: Wine - Wine-GE-Proton8-26
(13:06:21) DEBUG:   [Backend]:          Running Wine command: /run/user/1000/doc/67963bc4/HP.exe 
(13:06:21) DEBUG:   [Backend]:          Logging to file "/home/tux/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/xBcEBdD5zQcewbxdQoSLbU-lastPlay.log"
(13:06:21) INFO:    [Backend]:          Stopping Power Saver Blocker
(13:06:25) INFO:    [Backend]:          Stopping Display Power Saver Blocker
(13:06:26) INFO:    [Frontend]:         Refreshing sideload Library
(13:06:26) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

Add game, run installer first, browsing to exe, finish. I can provide screenshots too if this issue seems not believable.

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

Operating System: Manjaro Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.6.16-2-MANJARO (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-2600 CPU @ 3.40GHz Memory: 7.7 GiB of RAM Graphics Processor: NVA8 Manufacturer: Hewlett-Packard Product Name: p6-2083sc

Additional information

No response

shreddeddonut commented 1 month ago

I fixed this by setting Heroics default wine version to Wine GE Latest