RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Error using HeroicBashLauncher

    Scheduled Pinned Locked Moved Help and Support
    heroicgog games
    1 Posts 1 Posters 156 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WhiteT982
      last edited by

      Pi Model or other hardware: Ubuntu 22.04
      RetroPie Version Used: 4.8.2
      Built From: Setup Script downloaded according to the docs guide
      USB Devices connected: xbox 360 controller and wireless keyboard/mouse
      Controller used: xbox 360
      Error messages received: Process stopped Please unzip or copy the HeroicBashLauncher folder to ~/Games/Heroic

      So on my pc I wanted to launch my GOG games from Emulationstation using the Heroic Games Launcher. I used the HeroicBashLauncher to create a launching script for each game and then made my own script to put in Emulationstation that points to the launch script. Game shows up in Emulationstation and launches but has an error window like this
      Screenshot from 2023-01-26 09-40-34.png
      The folder is there and if i click ok the game will launch and run with no problem. I would like to be able to get rid of the error window if possible though.

      Here is my script from within Emulationstation

      #!/bin/bash 
      /home/pi/Games/Heroic/HeroicBashLauncher-3.1.1/HeroicBashLauncher/GameFiles/Symphonia_Heroic.sh
      

      The Symphonia_Heroic.sh made by the bash launcher

      #!/bin/bash 
      
          #Generate log
          exec > logs/Symphonia_Heroic.log 2>&1
      
          #Enable UTF-8 Encoding
          export LC_ALL=en_US.UTF-8
      
          #Game Name = Symphonia (gog-win) 
      
          #App Name = 2069516170
      
          #Override launch parameters
          /home/pi/Games/Heroic/HeroicBashLauncher-3.1.1/HeroicBashLauncher/HeroicBashLauncher --update "Symphonia" "2069516170" "/home/pi/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/2069516170.json" "gog-win"
      
          
      
          flatpak run --command=/home/pi/Games/Heroic/HeroicBashLauncher-3.1.1/HeroicBashLauncher/GameFiles/launchflatpakgame.sh com.heroicgameslauncher.hgl
      
          #Launch Command
          #PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/pi/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH="/home/pi/Games/Heroic/Prefixes/Symphonia" LD_PRELOAD= /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/home/pi/Games/Heroic/Symphonia" 2069516170 --no-wine --wrapper "'/home/pi/.local/share/Steam/steamapps/common/Proton - Experimental/proton' run" --os windows 
      

      And the launchflatpakgame.sh also made by the launcher

      #!/bin/bash
      
          #Currently created launch script for Symphonia (2069516170) (gog-win)
          #Launches from Symphonia_Heroic.sh
      
      
          
      
          #Launch game
          PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 STEAM_COMPAT_APP_ID=0 SteamAppId=0 STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/pi/.var/app/com.heroicgameslauncher.hgl/.steam/steam STEAM_COMPAT_DATA_PATH="/home/pi/Games/Heroic/Prefixes/Symphonia" LD_PRELOAD= /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/home/pi/Games/Heroic/Symphonia" 2069516170 --no-wine --wrapper "'/home/pi/.local/share/Steam/steamapps/common/Proton - Experimental/proton' run" --os windows 
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.