redromnon / HeroicBashLauncher

Directly launch any Epic Games Store and GOG game from anywhere without Heroic on Linux.
GNU General Public License v3.0
353 stars 17 forks source link

[Bug] Color bars on videos in THPS 1+2 #113

Closed andres-asm closed 1 year ago

andres-asm commented 1 year ago

Before posting this issue, make sure you've read the Issues section in the Readme and the Flatpak/Steam-Deck guide.

Describe the bug Launching the game from Heroic and from Steam shows different issues On Heroic the splash videos show as white:

image

When I launch from steam they show as colored bars:

image

Expected behavior Ideally videos should play, but I'd like to address this different behavior first and try to find how to fix it

Details

Additional context Add any other context about the problem here.

andres-asm commented 1 year ago

I checked the running processes with ps and it looks like the parameters are identical:

/home/deck/.local/share/Steam/steamapps/common/Proton 7.0/proton run /home/deck/Games/Heroic/TonyHawksProSkater/THPS12.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=redacted -AUTH_TYPE=exchangecode -epicapp=Guppy -epicenv=Prod -epicovt=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/tmp/deab864e1abf4357b303bcd5ff6fe8da1a40708749eb41958c568b0638247eb1.ovt -EpicPortal -epicusername=Radius44 -epicuserid=977fcb3da8e241689a7f841a5a7bfb9e -epiclocale=en -epicsandboxid=deab864e1abf4357b303bcd5ff6fe8da
/home/deck/.local/share/Steam/steamapps/common/Proton 7.0/proton run /home/deck/Games/Heroic/TonyHawksProSkater/THPS12.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=redacted -AUTH_TYPE=exchangecode -epicapp=Guppy -epicenv=Prod -epicovt=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/legendary/tmp/deab864e1abf4357b303bcd5ff6fe8da1a40708749eb41958c568b0638247eb1.ovt -EpicPortal -epicusername=Radius44 -epicuserid=977fcb3da8e241689a7f841a5a7bfb9e -epiclocale=en -epicsandboxid=deab864e1abf4357b303bcd5ff6fe8da

So there must be some environment variable causing this

redromnon commented 1 year ago

So there must be some environment variable causing this

That's most likely the case

Can you check what parameters in Heroic's Launch Command are missing in the Bash Launcher's Launch Command?

For Heroic : Game->GameSettings->Log->You'll find "Launch Command:" in the log file For Bash Launcher : HeroicBashLauncher folder->GameFiles folder-> Open game_name.sh in a text editor or use cat and you should see #Launch Command

redromnon commented 1 year ago

By the way, Heroic has its own "Add to Steam" feature now.

andres-asm commented 1 year ago

Is that available on the flatpak now?

andres-asm commented 1 year ago

HGL without prefer system libraries

LD_LIBRARY_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-34/lib:/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-34/lib64: PULSE_LATENCY_MSEC=60 WINEPREFIX=/home/deck/Games/Heroic/Prefixes/TonyHawksProSkater /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch Guppy --language en  --wine /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-34/bin/wine --wine-prefix /home/deck/Games/Heroic/Prefixes/TonyHawksProSkater

HBL

PULSE_LATENCY_MSEC=60 LD_PRELOAD= /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/legendary launch Guppy --language en --wine /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-34/bin/wine --wine-prefix "/home/deck/Games/Heroic/Prefixes/TonyHawksProSkater"
redromnon commented 1 year ago

Is that available on the flatpak now?

It's been there since the 2.4.0 I guess.

redromnon commented 1 year ago

I'll add the Prefer System Libraries setting detection as discussed on Discord.

Maybe you can test it then.

redromnon commented 1 year ago

I've added the check for Prefer System Libraries. Can you test if it works?

https://github.com/redromnon/HeroicBashLauncher/actions/runs/3486772425

Download the build and replace it with the existing executable.

redromnon commented 1 year ago

This issue should be fixed in the latest release.