Skip to content

Pre launch scripts no longer working #5243

@bubblesnout

Description

@bubblesnout

Describe the bug

Since the latest update on Linux (CachyOS) any pre-launch script is not working, the game logs suggest it's trying to launch the script and then never proceeds any further. Even if the script is effectively empty the behaviour remains the same, the game simply says stays in "Launching" state indefinitely and I need to force the Heroic process closed.

Add logs

(19:16:00) [INFO]:    [Backend]:         System Information: CPU: 12x Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Memory: 16.61 GB (used: 5.36 GB)
GPUs:
  GPU 0:
    Name: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh]
    IDs: D=1f14 V=10de SD=2011 SV=1a58
    Driver: nvidia
  GPU 1:
    Name: Intel Corporation CometLake-H GT2 [UHD Graphics]
    IDs: D=9bc4 V=8086 SD=2011 SV=1a58
    Driver: i915
OS: CachyOS Linux 6.18.7-2-cachyos (linux)

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

Software Versions:
  Heroic: 2.19.1 Punk 01 - Shaka
  Legendary: 0.20.39 This Vortal Coil (Heroic)
  gogdl: 1.2.0
  comet: comet 0.2.0
  Nile: 1.1.2 Will A. Zeppeli
(19:16:00) [INFO]:    [Connection]:      Pinging external endpoints
(19:16:00) [INFO]:    [Connection]:      Connectivity: check-online
(19:16:00) [INFO]:    [Gog]:             Checking for existing gog manifests
(19:16:00) [WARNING]: [Backend]:         Protocol already registered.
(19:16:00) [INFO]:    [Legendary]:       Running command: LEGENDARY_CONFIG_PATH=/home/dean/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version
(19:16:00) [INFO]:    [Nile]:            Running command: NILE_CONFIG_PATH=/home/dean/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
(19:16:00) [INFO]:    [Gog]:             Running command: GOGDL_CONFIG_PATH=/home/dean/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/dean/.config/heroic/gog_store/auth.json --version
(19:16:00) [DEBUG]:   [Legendary]:       Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/legendary.log"
(19:16:00) [DEBUG]:   [Nile]:            Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/nile.log"
(19:16:00) [DEBUG]:   [Gog]:             Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/gog.log"
(19:16:00) [INFO]:    [Connection]:      Connectivity: online
(19:16:00) [INFO]:    [Gog]:             Running command: GOGDL_CONFIG_PATH=/home/dean/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/dean/.config/heroic/gog_store/auth.json auth
(19:16:00) [ERROR]:   [Gog]:             Unable to syncQueued playtime, userData not present
(19:16:00) [DEBUG]:   [Gog]:             Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/gog.log"
(19:16:00) [INFO]:    [Backend]:         AreWeAntiCheatYet data downloaded
(19:16:01) [INFO]:    [Frontend]:        Refreshing undefined Library
(19:16:01) [WARNING]: refresh not implemented on Sideload Library Manager
(19:16:01) [INFO]:    [Legendary]:       Refreshing library...
(19:16:01) [INFO]:    [Legendary]:       Refreshing Epic Games...
(19:16:01) [INFO]:    [Backend]:         Frontend Ready
(19:16:01) [INFO]:    [Legendary]:       Running command: LEGENDARY_CONFIG_PATH=/home/dean/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party
(19:16:01) [DEBUG]:   [Legendary]:       Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/legendary.log"
(19:16:01) [INFO]:    [Backend]:         Checking for new Heroic Updates
(19:16:01) [INFO]:    [Backend]:         Checking for current version changelog
(19:16:01) [ERROR]:   [Backend]:         Error when checking for current Heroic changelog: AxiosError: Request failed with status code 403
    at settle (/opt/Heroic/resources/app.asar/node_modules/axios/lib/core/settle.js:19:12)
    at IncomingMessage.handleStreamEnd (/opt/Heroic/resources/app.asar/node_modules/axios/lib/adapters/http.js:793:11)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at processTicksAndRejections (node:internal/process/task_queues:90:21)
    at Axios.request (/opt/Heroic/resources/app.asar/node_modules/axios/lib/core/Axios.js:45:41)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Tm (/opt/Heroic/resources/app.asar/build/main/main.js:166:1491)
    at Session.<anonymous> (node:electron/js2c/browser_init:2:107280)
(19:16:01) [ERROR]:   [Backend]:         Error when checking for Heroic updates AxiosError: Request failed with status code 403
    at settle (/opt/Heroic/resources/app.asar/node_modules/axios/lib/core/settle.js:19:12)
    at IncomingMessage.handleStreamEnd (/opt/Heroic/resources/app.asar/node_modules/axios/lib/adapters/http.js:793:11)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at processTicksAndRejections (node:internal/process/task_queues:90:21)
    at Axios.request (/opt/Heroic/resources/app.asar/node_modules/axios/lib/core/Axios.js:45:41)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Fm (/opt/Heroic/resources/app.asar/build/main/main.js:166:926)
    at Session.<anonymous> (node:electron/js2c/browser_init:2:107280)
(19:16:03) [INFO]:    [Winetricks]:      Downloading Winetricks
(19:16:03) [INFO]:    [Legendary]:       Game list updated, got 2 games & DLCs
(19:16:03) [WARNING]: listUpdateableGames not implemented on Sideload Library Manager
(19:16:03) [INFO]:    [Legendary]:       Checking for game updates: LEGENDARY_CONFIG_PATH=/home/dean/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party
(19:16:03) [DEBUG]:   [Legendary]:       Logging to file(s) "/home/dean/.local/state/Heroic/logs/runners/legendary.log"
(19:16:05) [INFO]:    [Legendary]:       Found 0 games to update
(19:16:05) [WARNING]: [Zoom]:            listUpdateableGames not implemented for Zoom
(19:16:05) [INFO]:    [WineDownloader]:  Updating wine versions info
(19:16:05) [INFO]:    [WineDownloader]:  Fetching upstream information...
(19:16:05) [ERROR]:   [WineDownloader]:  Error: Could not fetch available releases from https://api.github.com/repos/GloriousEggroll/wine-ge-custom/releases with error:
 AxiosError: Request failed with status code 403
    at /opt/Heroic/resources/app.asar/build/main/main.js:156:11917
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
(19:16:05) [ERROR]:   [WineDownloader]:  Error: Could not fetch available releases from https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases with error:
 AxiosError: Request failed with status code 403
    at /opt/Heroic/resources/app.asar/build/main/main.js:156:11917
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
(19:16:05) [INFO]:    [WineDownloader]:  wine versions updated
(19:16:06) [INFO]:    [Backend]:         Starting the Download Queue
(19:16:41) [DEBUG]:   [Legendary]:       Using cached install info
(19:16:41) [INFO]:    [Backend]:         Launching Rocket League® (Sugar)
(19:16:41) [INFO]:    [Backend]:         Preventing display from sleep
(19:16:41) [INFO]:    [Backend]:         Checking if wine version exists: proton-cachyos
(19:16:41) [INFO]:    [Backend]:         Preventing machine to sleep



GAME LOG (Rocket League):

Running script before Rocket League® (/home/dean/Scripts/start-replay.sh)

Steps to reproduce

  1. Create a bash (.sh) script, ensure it's executable.
  2. Add the path to the pre-launch script against a game
  3. Run the game

Expected behavior

The script should run then the game should launch

Screenshots

No response

Heroic Version

Latest Stable

System Information

  • OS [e. g. "Ubuntu"]: CachyOS (Arch)

Additional information

Removing the pre-launch script the game runs normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:unconfirmedSomeone works on identifying the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions