HeroicGamesLauncher icon indicating copy to clipboard operation
HeroicGamesLauncher copied to clipboard

[BUG] Fresh install of Fortnite starts with ~44%

Open Nocccer opened this issue 2 years ago • 0 comments

Describe the bug

If you start installing Fortnite it jumps directly to ~44% but legendary starts at 0%. This happens on Linux and Windows.

Guess: The total download size is not correct or include dlc's, so the calculation by heroic is incorrect. But could be something else. Error is maybe in function onInstallOrUpdateOutput in electron/legendary/games.ts.

Add logs

(02:06:17) INFO:    [Legendary]:       Running command : /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary --version
(02:06:17) INFO:    [Legendary]:       Legendary location: /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary
(02:06:17) INFO:    [Gog]:             GOGDL location: /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/gogdl
(02:06:17) INFO:    [Backend]:         

Heroic Version: 2.4.0-beta Caesar Clown
Legendary Version:  0.20.26 Dark Energy
OS: Pop KERNEL: 5.17.5-76051705-generic ARCH: x64
CPU: AMD Ryzen 7 3700X 8-Core Processor @3.6 GOVERNOR: schedutil
RAM: Total: 15.63 GiB Available: 10.97 GiB
GRAPHICS: GPU0: NVIDIA GeForce RTX 2060 SUPER VRAM: 8192MB DRIVER: 510.73.05 
PROTOCOL: x11

(02:06:17) INFO:    [Gog]:             Getting data about the user
(02:06:17) INFO:    [Gog]:             Refreshing access_token
(02:06:18) WARNING: [Backend]:         Failed to register protocol with OS.
(02:06:18) INFO:    [Gog]:             Token refreshed successfully
(02:06:18) INFO:    [Gog]:             Saved user data to config
(02:06:18) INFO:    [Frontend]:        Refreshing Library
(02:06:18) INFO:    [Legendary]:       Refreshing library...
(02:06:18) INFO:    [Legendary]:       Refreshing Epic Games...
(02:06:18) INFO:    [Gog]:             Getting GOG library
(02:06:18) INFO:    [Gog]:             Number of library pages: 1
(02:06:18) INFO:    [Gog]:             Saved games data
(02:06:19) INFO:    [Legendary]:       Running command : /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary list
(02:06:20) INFO:    [Legendary]:       Updating game list
(02:06:20) INFO:    [Legendary]:       Game List Updated
(02:06:20) INFO:    [Legendary]:       Checking for game updates.
(02:06:20) INFO:    [Legendary]:       Running command : /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary list-installed --check-updates --tsv
(02:06:20) INFO:    [Backend]:         Downloaded Winetricks
(02:06:21) INFO:    [Legendary]:       Found 0 game(s) to update
(02:06:21) INFO:    [Gog]:             Found 0 game(s) to update
(02:06:22) DEBUG:   [Legendary]:       Using cached install info
(02:06:23) DEBUG:   [Legendary]:       Using cached install info
(02:06:23) DEBUG:   [Legendary]:       Using cached install info
(02:06:23) WARNING: [Backend]:         default is not writable
(02:06:23) WARNING: [Backend]:          is not writable
(02:06:23) WARNING: [Backend]:          is not writable
(02:06:31) INFO:    [Backend]:         Writing config for Fortnite
(02:06:31) INFO:    [Backend]:         {
  "audioFix": false,
  "autoInstallDxvk": false,
  "autoInstallVkd3d": false,
  "enableEsync": false,
  "enableFsync": false,
  "nvidiaPrime": false,
  "otherOptions": "",
  "showFps": false,
  "showMangohud": false,
  "useGameMode": false,
  "winePrefix": "/Fortnite",
  "wineCrossoverBottle": "Heroic",
  "wineVersion": {
    "bin": "/usr/bin/wine",
    "name": "Wine Default"
  },
  "language": ""
}
(02:06:31) DEBUG:   [Legendary]:       Using cached install info
(02:06:32) DEBUG:   [Legendary]:       Using cached install info
(02:06:32) INFO:    [Legendary]:       Installing Fortnite : /tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary install Fortnite --platform Windows --base-path /home/niklas/Games/Heroic --skip-dlcs --install-tag="" --install-tag=chunk0 --install-tag=chunk10 -y
(02:06:32) DEBUG:   [Legendary]:       Logging to file "/home/niklas/.config/heroic/GamesConfig/Fortnite.log"
(02:06:34) INFO:    [Legendary]:       Progress for Fortnite: 44.93%/0.00MiB/00:00:00
(02:06:35) INFO:    [Legendary]:       Progress for Fortnite: 44.93%/0.56MiB/00:00:00
(02:06:36) INFO:    [Legendary]:       Progress for Fortnite: 44.98%/16.58MiB/00:46:18
(02:06:37) INFO:    [Legendary]:       Progress for Fortnite: 45.01%/27.48MiB/00:36:48
(02:06:38) INFO:    [Legendary]:       Progress for Fortnite: 45.06%/43.94MiB/00:30:44
(02:06:39) INFO:    [Legendary]:       killing Fortnite
(02:06:39) INFO:    [Legendary]:       Fortnite killed
(02:06:39) ERROR:   [Legendary]:       Error running command "/tmp/.mount_HeroicrrOwuW/resources/app.asar.unpacked/build/bin/linux/legendary install Fortnite --platform Windows --base-path /home/niklas/Games/Heroic --skip-dlcs --install-tag="" --install-tag=chunk0 --install-tag=chunk10 -y": Process terminated with signal SIGTERM
(02:06:39) INFO:    [Backend]:         finished installing
(02:06:39) INFO:    [Backend]:         operation interrupted
(02:06:39) INFO:    [Backend]:         operation interrupted
(02:06:39) INFO:    [Frontend]:        Refreshing Library
(02:06:39) INFO:    [Legendary]:       Refreshing library...
(02:06:39) INFO:    [Legendary]:       Updating game list
(02:06:39) INFO:    [Legendary]:       Game List Updated
(02:06:39) DEBUG:   [Legendary]:       Using cached install info
(02:06:39) DEBUG:   [Legendary]:       Using cached install info
(02:06:39) DEBUG:   [Legendary]:       Using cached install info

Steps to reproduce

Start installation of fortnite.

Expected behavior

Start downloading from 0%.

Screenshots

No response

System Information

  • OS ["Linux", "Windows"]:
  • Heroic Version [Heroic-2.4.0-beta ]:

Additional information

No response

Nocccer avatar Jun 16 '22 00:06 Nocccer