Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

[Bug] Cannot log in on HeroicBashLauncher #130

Closed
redirectto opened this issue Aug 2, 2023 · 10 comments
Closed

[Bug] Cannot log in on HeroicBashLauncher #130

redirectto opened this issue Aug 2, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@redirectto
Copy link

redirectto commented Aug 2, 2023

Describe the bug
Generated game scripts do not launch their respective games and thus they don't work on either steam or lutris.

To Reproduce

  1. Go to "/home/deck/Games/Heroic/HeroicBashLauncher/GameFiles/"
  2. Double click a game script for example "NEOTheWorldEndswithYou_Heroic.sh"

Expected behavior
The game should launch.

Game script

#!/bin/bash

    #Generate log
    exec > logs/NEOTheWorldEndswithYou_Heroic.log 2>&1

    #Enable UTF-8 Encoding
    export LC_ALL=en_US.UTF-8

    #Game Name = NEO: The World Ends with You (epic) 

    #App Name = 5ab31c70e0b14ce5bddfd9f9c28f944d

    #Override launch parameters
    /home/deck/Games/Heroic/HeroicBashLauncher/HeroicBashLauncher --update "NEO: The World Ends with You" "5ab31c70e0b14ce5bddfd9f9c28f944d" "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/5ab31c70e0b14ce5bddfd9f9c28f944d.json" "epic"

    

    flatpak run --command=./launchflatpakgame.sh com.heroicgameslauncher.hgl

    #Launch Command
    #/app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch 5ab31c70e0b14ce5bddfd9f9c28f944d --language es --wine-prefix "/home/deck/Games/Heroic/Prefixes/default/NEO The World Ends with You" --wine /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-12/bin/wine

Log

Using Bash Launcher v3.2.4
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

[cli] INFO: Logging in...
Traceback (most recent call last):
  File "legendary/cli.py", line 3061, in <module>
  File "legendary/cli.py", line 2976, in main
  File "legendary/cli.py", line 592, in launch_game
  File "legendary/core.py", line 187, in login
ValueError: No saved credentials
[4] Failed to execute script 'cli' due to unhandled exception!
wineserver stopped
NEO: The World Ends with You stopped

Details

  • Platform: Steam Deck
  • OS: Steam OS
  • Heroic Version: v2.9.1 Flatpak
  • Bash Launcher Version: v3.2.4 Flatpak
@redromnon
Copy link
Owner

Traceback (most recent call last):
File "legendary/cli.py", line 3061, in
File "legendary/cli.py", line 2976, in main
File "legendary/cli.py", line 592, in launch_game
File "legendary/core.py", line 187, in login
ValueError: No saved credentials
[4] Failed to execute script 'cli' due to unhandled exception!

Please check if you've logged in properly in Heroic. This error shows up if haven't logged in.
Also make sure the game launches through Heroic first.

@redirectto
Copy link
Author

Logged in again in various attempts, still the same outcome.
I've tried to close steam, to open steam, to close heroic to open heroic, to recreate the shortcuts and still doesn't work.
My password contains a weird character, maybe that's the reason.

@redirectto redirectto changed the title [Bug] [Bug] Cannot log in on HeroicBashLauncher Aug 4, 2023
@redromnon
Copy link
Owner

I can confirm this is happening to me too. Trying to find a solution for the issue. The game launches fine in Heroic but not outside Heroic.
legendary cannot authenticate if run outside Heroic like /opt/Heroic/resources/app.asar.unpacked/build/bin/lilegendary list.

@redromnon redromnon added the bug Something isn't working label Aug 6, 2023
@redromnon
Copy link
Owner

Let me know if this build works

It's not final though, need to make some more fixes. But it should launch games just fine.

@redirectto
Copy link
Author

I have tried 3 games and now they launch properly.
I'll wait for the final build.
Thank you for your time.

@redromnon
Copy link
Owner

Feel free to close this issue when I publish the next release.

@redromnon
Copy link
Owner

@redirectto Was MangoHUD working for you and displaying the default metrics while playing a game?

@redirectto
Copy link
Author

@redromnon Is MangoHUD the GPU usage, FPS counter etc... inside gaming mode using the 3 dot button?, If so I can test it out tonight.

@redromnon
Copy link
Owner

Yep. There's a checkbox under Settings. Although, I'm not sure if the Steam Deck has a global MangoHud shortcut button.

@redirectto
Copy link
Author

I think it works alright
https://i.imgur.com/p3pUsHl.jpg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants