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.32k stars 440 forks source link

'Run Installer First' doesn't run any installers. #2975

Closed raspgalax closed 1 year ago

raspgalax commented 1 year ago

Describe the bug

  1. Click on 'Add Game'
  2. Name game
  3. Click on 'Run Installer First'
  4. Select installer and click 'Select'
  5. Nothing happens, it won't run the installer. I've tried this on 5 games. Discover and Flatpak version of Heroic.

Add logs

(14:35:23) INFO:    [Legendary]:        Running command: XDG_CONFIG_HOME=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(14:35:23) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(14:35:23) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(14:35:23) INFO:    [Connection]:       Connectivity: check-online
(14:35:23) INFO:    [Connection]:       Pinging external endpoints
(14:35:23) INFO:    [Backend]:          DRM module staus {
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2557.0"
  }
}
(14:35:24) WARNING: [Backend]:          Failed to register protocol with OS.
(14:35:24) INFO:    [Connection]:       Connectivity: online
(14:35:24) INFO:    [Backend]:          User Not Found, removing it from Store
(14:35:24) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(14:35:24) INFO:    [Gog]:              Running command: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version
(14:35:24) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(14:35:24) INFO:    [Nile]:             Running command: XDG_CONFIG_HOME=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
(14:35:24) INFO:    [Backend]:          Loading Screen Ready
(14:35:24) INFO:    [Backend]:          Frontend Ready
(14:35:24) INFO:    [Backend]:          Checking for current version changelog
(14:35:25) INFO:    [Backend]:          

Heroic Version: 2.9.1 Boa Hancock
Legendary Version:  0.20.32 Dark Energy (hotfix #6)
GOGdl Version: 0.7.3
Nile Version: 1.0.0 Jonathan Joestar

Electron Version: 24.4.1
Chrome Version: 112.0.5615.204
NodeJS Version: 18.14.0

OS: Freedesktop SDK KERNEL: 5.13.0-valve36-1-neptune ARCH: x64
CPU: AMD Custom APU 0405 @2.73 GOVERNOR: schedutil
RAM: Total: 14.47 GiB Available: 7.68 GiB
GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB 
PROTOCOL: x11

(14:35:26) INFO:    [Winetricks]:       Downloading Winetricks
(14:35:29) INFO:    [Backend]:          Starting the Download Queue
(14:35:58) INFO:    [Backend]:          Writing config for hw7Fj5NkoE5Tpd2SiGMniD
(14:35:58) INFO:    [Backend]:          Changed config: winePrefix from /home/deck/Games/Heroic/Prefixes/default to /home/deck/Games/Heroic/Prefixes/default/Zachtronics Solitaire Collection
(14:35:58) WARNING: [Backend]:          Required prefix files are missing, running `verifyWinePrefix` to create prefix
(14:35:58) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(14:35:58) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(15:20:43) INFO:    [Backend]:          Writing config for hw7Fj5NkoE5Tpd2SiGMniD
(15:20:43) WARNING: [Backend]:          Required prefix files are missing, running `verifyWinePrefix` to create prefix
(15:20:43) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(15:20:43) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(15:57:46) INFO:    [Backend]:          Writing config for hw7Fj5NkoE5Tpd2SiGMniD
(15:57:46) WARNING: [Backend]:          Required prefix files are missing, running `verifyWinePrefix` to create prefix
(15:57:46) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found
(15:57:46) INFO:    [Backend]:          Checking if wine version exists: Default Wine - Not Found

Steps to reproduce

  1. Click on 'Add Game'
  2. Name game
  3. Click on 'Run Installer First'
  4. Select installer and click 'Select'
  5. Nothing happens.

Expected behavior

That the installer should run

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

Language is set to English. I have Wine, Wine64 and WineTricks installed already

arielj commented 1 year ago

Try installing Wine-GE from within Heroic itself (check the wine manager in the sidebar)

raspgalax commented 1 year ago

I ended up fixing it in Settings > Games Defaults. It was determined I didn't have Wine until I selected every single version of Proton in the Wine dropdown, until the warning finally went away.