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.02k stars 422 forks source link

Missing "Known Fixes" File When Downloading Cyberpunk 2077 #3851

Closed kagashe closed 2 months ago

kagashe commented 3 months ago

Describe the bug

Cyberpunk fails to download because it can't find a fixes file on the heroic Github repo.

Add logs

(19:20:35) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
(19:20:35) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
(19:20:35) INFO:    [Connection]:       Connectivity: check-online
(19:20:35) INFO:    [Connection]:       Pinging external endpoints
(19:20:35) INFO:    [Gog]:              Checking for existing gog manifests
(19:20:35) INFO:    [Backend]:          DRM module staus {
  "oimompecagnajdejgnnjijobebaeigek": {
    "status": "new",
    "title": "Widevine Content Decryption Module",
    "version": "4.10.2710.0"
  }
}
(19:20:35) WARNING: [Backend]:          Failed to register protocol with OS.
(19:20:35) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary --version
(19:20:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version
(19:20:35) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/nile --version
(19:20:35) INFO:    [Connection]:       Connectivity: online
(19:20:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:35) INFO:    [Gog]:              Checking if login is valid
(19:20:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:35) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(19:20:35) INFO:    [Backend]:          
System Information:
CPU: 16x AMD Ryzen 7 5800X 8-Core Processor
Memory: 33.56 GB (used: 5.47 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT]
    IDs: D=747e V=1002 SD=d475 SV=1da2
    Driver: amdgpu
OS: Fedora Linux 40 (KDE Plasma) (linux)

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

Software Versions:
  Heroic: 2.14.1 Flame Emperor Sabo
  Legendary: 0.20.34 Direct Intervention
  gogdl: 1.0.1
  Nile: 1.0.2 Jonathan Joestar

(19:20:35) INFO:    [Frontend]:         Refreshing undefined Library
(19:20:35) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(19:20:35) INFO:    [Legendary]:        Refreshing library...
(19:20:35) INFO:    [Legendary]:        Refreshing Epic Games...
(19:20:35) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:35) INFO:    [Backend]:          Frontend Ready
(19:20:36) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(19:20:36) INFO:    [Gog]:              Getting GOG library
(19:20:36) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:36) INFO:    [Backend]:          Checking for current version changelog
(19:20:36) INFO:    [Gog]:              Saved username to config file
(19:20:37) INFO:    [Gog]:              Saved games data
(19:20:39) INFO:    [Winetricks]:       Downloading Winetricks
(19:20:39) INFO:    [Legendary]:        Game list updated, got 198 games & DLCs
(19:20:39) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(19:20:39) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:39) INFO:    [Gog]:              Found 0 game(s) to update
(19:20:39) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(19:20:40) INFO:    [WineDownloader]:   Updating wine versions info
(19:20:40) INFO:    [WineDownloader]:   Fetching upstream information...
(19:20:40) INFO:    [Backend]:          Starting the Download Queue
(19:20:41) INFO:    [Legendary]:        Found 0 games to update
(19:20:41) INFO:    [WineDownloader]:   wine versions updated
(19:20:44) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:45) INFO:    [Gog]:              Getting game metadata: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json info 1423049311 --os windows
(19:20:49) INFO:    [Backend]:          Writing config for 1423049311
(19:20:49) INFO:    [Gog]:              Got install info from cache for 1423049311 on windows platform
(19:20:49) INFO:    [DownloadManager]:  Cyberpunk 2077  was added to the download queue.
(19:20:49) INFO:    [Backend]:          Preventing machine to sleep
(19:20:49) INFO:    [Gog]:              Updating GOG redistributables
(19:20:49) INFO:    [Gog]:              GOG REDIST:: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json redist --ids ISI,MSVC2012_x64,MSVC2013_x64,MSVC2015_x64,MSVC2015,DirectX,UE4REDIST,MSVC2012,MSVC2019 --path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/redist/gog
(19:20:49) DEBUG:   [Gog]:              Logging to file "/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/gog-redist.log"
(19:20:49) INFO:    [DownloadManager]:  gog-redist added to download manager finished.
(19:20:49) INFO:    [DownloadManager]:  gog-redist removed from download manager.
(19:20:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:49) INFO:    [Frontend]:         Refreshing gog Library
(19:20:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:50) INFO:    [Gog]:              Installing 1423049311: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json download 1423049311 --platform windows --path /home/al/extra_data_nvme/Heroic --support /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig/heroic_gogdl/gog-support/1423049311 --skip-dlcs --lang en-US
(19:20:50) DEBUG:   [Gog]:              Logging to file "/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1423049311.log"
(19:20:50) INFO:    [Gog]:              Getting GOG library
(19:20:50) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:50) ERROR:   [DownloadManager]:  Downloader: Failed to get headers for https://raw.githubusercontent.com/Heroic-Games-Launcher/known-fixes/main/gog/1423049311-gog.json. 
Error: Error: Request failed with status code 404
(19:20:50) INFO:    [Gog]:              Got install info from cache for 1423049311 on windows platform
(19:20:50) ERROR:   [DownloadManager]:  Installation of 1423049311 failed with: Error: ENOENT: no such file or directory, lstat '/home/al/extra_data_nvme/Heroic/Cyberpunk 2077'
(19:20:50) WARNING: [DownloadManager]:  Installation of 1423049311 failed!
(19:20:50) INFO:    [DownloadManager]:  1423049311 added to download manager finished.
(19:20:50) INFO:    [DownloadManager]:  1423049311 removed from download manager.
(19:20:50) INFO:    [Gog]:              Saved games data
(19:20:50) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(19:20:50) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(19:20:51) INFO:    [Gog]:              Found 0 game(s) to update
(19:20:51) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(19:20:52) INFO:    [Legendary]:        Found 0 games to update
(21:41:18) INFO:    [Gog]:              Got install info from cache for 1423049311 on windows platform
(21:41:24) INFO:    [Backend]:          Writing config for 1423049311
(21:41:24) INFO:    [Gog]:              Got install info from cache for 1423049311 on windows platform
(21:41:24) INFO:    [DownloadManager]:  Cyberpunk 2077  was added to the download queue.
(21:41:24) INFO:    [Backend]:          Preventing machine to sleep
(21:41:24) INFO:    [Gog]:              Updating GOG redistributables
(21:41:24) INFO:    [Gog]:              GOG REDIST:: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json redist --ids ISI,MSVC2012_x64,MSVC2013_x64,MSVC2015_x64,MSVC2015,DirectX,UE4REDIST,MSVC2012,MSVC2019 --path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/redist/gog
(21:41:24) DEBUG:   [Gog]:              Logging to file "/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/gog-redist.log"
(21:41:25) INFO:    [DownloadManager]:  gog-redist added to download manager finished.
(21:41:25) INFO:    [DownloadManager]:  gog-redist removed from download manager.
(21:41:25) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(21:41:25) INFO:    [Frontend]:         Refreshing gog Library
(21:41:25) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(21:41:25) INFO:    [Gog]:              Installing 1423049311: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json download 1423049311 --platform windows --path /home/al/extra_data_nvme/Heroic --support /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig/heroic_gogdl/gog-support/1423049311 --skip-dlcs --lang en-US
(21:41:25) DEBUG:   [Gog]:              Logging to file "/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1423049311.log"
(21:41:25) INFO:    [Gog]:              Getting GOG library
(21:41:25) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(21:41:25) ERROR:   [DownloadManager]:  Downloader: Failed to get headers for https://raw.githubusercontent.com/Heroic-Games-Launcher/known-fixes/main/gog/1423049311-gog.json. 
Error: Error: Request failed with status code 404
(21:41:25) INFO:    [Gog]:              Got install info from cache for 1423049311 on windows platform
(21:41:25) ERROR:   [DownloadManager]:  Installation of 1423049311 failed with: Error: ENOENT: no such file or directory, lstat '/home/al/extra_data_nvme/Heroic/Cyberpunk 2077'
(21:41:25) WARNING: [DownloadManager]:  Installation of 1423049311 failed!
(21:41:25) INFO:    [DownloadManager]:  1423049311 added to download manager finished.
(21:41:25) INFO:    [DownloadManager]:  1423049311 removed from download manager.
(21:41:25) INFO:    [Backend]:          Stopping Power Saver Blocker
(21:41:26) INFO:    [Gog]:              Saved games data
(21:41:26) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(21:41:26) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(21:41:26) INFO:    [Gog]:              Found 0 game(s) to update
(21:41:26) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary list --third-party
(21:41:28) INFO:    [Legendary]:        Found 0 games to update


### Steps to reproduce

1. Open Heroic
2. Download Cyberpunk 2077

### Expected behavior

Cyberpunk 2077 should begin to download.

### Screenshots

_No response_

### Heroic Version

Latest Stable

### System Information

- OS: Fedora 40
- Kernel: 6.9.7-200.fc40.x86_64
- Heroic Install Method: Flatpak

### Additional information

This only seems to affect cyberpunk so far in my library.
imLinguin commented 3 months ago

The download didn't fall because of it. Could you share the /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1423049311.log as well?

kagashe commented 3 months ago

@imLinguin Sure thing, here you go

❯ cat /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1423049311.log
[GENERIC DOWNLOAD_MANAGER] INFO: Depot version: 2
[V2] INFO: Initialized V2 Download Manager
[V2] INFO: Creating Manifest instance from existing manifest
[V2] INFO: No patch found, falling back to chunk based updates
[V2] INFO: Deleted: 0 New: 0 Changed: 0
[API] INFO: Getting Dependencies repository
[V2] INFO: Nothing to do
arielj commented 2 months ago

that error can be ignored, there's no known fixes file for that game ID so it fails to download it

the next heroic version will not show this error which is only misleading

you can safely ignore this, it does not affect the game in any way

imLinguin commented 2 months ago

As to why the game doesn't download is because for some reason you have a manifest in place already remove 1423049311.json file found in manifests directory in /home/al/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig