Skip to content

File Explorer opening on launch, game not opening #2832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kbdevs opened this issue Jul 1, 2023 · 5 comments
Closed

File Explorer opening on launch, game not opening #2832

kbdevs opened this issue Jul 1, 2023 · 5 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@kbdevs
Copy link

kbdevs commented Jul 1, 2023

Describe the bug

Hey everyone, I'm trying to launch a game through heroic and its just launching a file explorer of my prefix folder, any ideas what could I do to fix this?

(Some games have worked on windows version steam)

Add logs

(18:38:37) INFO:    [Backend]:          Adding shortcuts for PC Building Simulator

(18:38:37) INFO:    [DownloadManager]:  Finished Installation of ab277c0995e945d2b2c50c46883627f1

(18:38:37) INFO:    [DownloadManager]:  ab277c0995e945d2b2c50c46883627f1 added to download manager finished.

(18:38:37) INFO:    [DownloadManager]:  ab277c0995e945d2b2c50c46883627f1 removed from download manager.

(18:38:37) INFO:    [Frontend]:         Refreshing legendary Library

(18:38:37) INFO:    [Legendary]:        Refreshing library...

(18:38:37) INFO:    [Legendary]:        Refreshing Epic Games...

(18:38:37) INFO:    [Legendary]:        Game list updated, got 7 games & DLCs

(18:38:37) INFO:    [Backend]:          Stopping Power Saver Blocker

(18:38:37) DEBUG:   [Legendary]:        Using cached install info

(18:38:38) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary eos-overlay info

(18:38:38) DEBUG:   [Legendary]:        Using cached install info

(18:38:38) DEBUG:   [Legendary]:        Using cached install info

(18:38:38) DEBUG:   [Legendary]:        Using cached install info

(18:38:38) INFO:    [Legendary]:        Running command: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary list --third-party

(18:39:26) INFO:    [Backend]:          Launching PC Building Simulator (ab277c0995e945d2b2c50c46883627f1)

(18:39:26) INFO:    [Legendary]:        Running command: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary --version

(18:39:26) INFO:    [Backend]:          Checking if wine version exists: GPTK Wine (DX11/DX12 Only) - wine-7.7

(18:39:26) DEBUG:   [Legendary]:        Using cached install info

(18:39:26) INFO:    [Backend]:          Stopping Power Saver Blocker

(18:39:26) DEBUG:   [Legendary]:        Using cached install info

(18:39:26) DEBUG:   [Legendary]:        Using cached install info

(18:39:26) DEBUG:   [Legendary]:        Using cached install info

(18:39:26) INFO:    [Backend]:          Checking if wine version exists: GPTK Wine (DX11/DX12 Only) - wine-7.7

(18:39:26) INFO:    [Backend]:          Checking if wine version exists: GPTK Wine (DX11/DX12 Only) - wine-7.7

(18:39:26) INFO:    [Backend]:          Checking if wine version exists: GPTK Wine (DX11/DX12 Only) - wine-7.7

(18:39:26) DEBUG:   [Backend]:          Running Wine command: wineboot --init

**(18:39:31) WARNING: [Backend]:          Could not determine System Info**

(18:39:34) INFO:    [Gog]:              Running command: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/kb/Library/Application Support/heroic/gog_store/auth.json" --version

(18:39:36) INFO:    [Legendary]:        Running command: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch ab277c0995e945d2b2c50c46883627f1 --json --offline

(18:39:50) INFO:    [Legendary]:        Launching PC Building Simulator: LD_PRELOAD= WINEESYNC=1 /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch ab277c0995e945d2b2c50c46883627f1 --language en --wrapper "/usr/local/Cellar/game-porting-toolkit/1.0/bin/wine64 /Users/kb/my-game-prefix" --no-wine

(18:40:29) INFO:    [Backend]:          Stopping Display Power Saver Blocker

(18:40:29) INFO:    [Frontend]:         Refreshing legendary Library

(18:40:29) INFO:    [Legendary]:        Refreshing library...

(18:40:29) INFO:    [Legendary]:        Refreshing Epic Games...

(18:40:29) INFO:    [Legendary]:        Game list updated, got 7 games & DLCs

(18:40:29) INFO:    [Legendary]:        Running command: /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary list --third-party

Steps to reproduce

  1. Hit play on the game
  2. Wait
  3. Show File Explorer
  4. Nothing Launches

Expected behavior

The game should launch

Screenshots

No response

Heroic Version

main branch from GitHub

System Information

  • OS [e. g. "Ubuntu"]: MacOS 14.0 Sonoma

Additional information

Trying to use Game porting toolkit

@kbdevs kbdevs added the bug:unconfirmed Someone works on identifying the issue label Jul 1, 2023
@pakkographic
Copy link

pakkographic commented Jul 5, 2023

same issue here, Game Porting Toolkit doesn't work properly, I tried launching the game through the file explorer, and it launches the game but crashes seconds after. (rocket league), while it works properly with Crossover Wine.
screenshot

@vapidinfinity
Copy link

can confirm this is a problem that happens to me as well, here's the command that gets run by heroic:

LD_PRELOAD= /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch 48619f5656da446abccb727b78cda644 --language en --wrapper "/usr/local/Cellar/game-porting-toolkit/1.0.2/bin/wine64 /Users/blackxfiied/Library/Containers/com.isaacmarovitz.Whisky/Bottles/6FAC3D2F-340D-453A-95AF-9D5F5B85D66F" --no-wine

dont mention whisky i've tried not using whisky

@vapidinfinity
Copy link

Found the problem, it's becuase of the --wrapper argument. instead of referencing the "gameportingtoolkit" script in /usr/local/bin, heroic references gameportingtoolkit's wine64 (wine 7.7)

here's what heroic tries to execute according to logs (game launched is pikuniku.)
LD_PRELOAD= /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch 41869934302e4b8cafac2d3c0e7c293d --language en --wrapper "/usr/local/Cellar/game-porting-toolkit/1.0.2/bin/wine64 /Users/blackxfiied/my-game-prefix" --no-wine

this wont work becuase its trying to reference a folder to wine, which will just open the folder in file explorer

what does work is
LD_PRELOAD= /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/legendary launch 48619f5656da446abccb727b78cda644 --language en --wrapper "/usr/local/bin/gameportingtoolkit /Users/blackxfiied/my-game-prefix" --no-wine

becuase the game poprting toolkit script executes it instead of feeding it directly to wine

@arielj
Copy link
Collaborator

arielj commented Jul 29, 2023

can anyone in this thread confirm if this got fixed in 2.9.1?

@arielj
Copy link
Collaborator

arielj commented Aug 6, 2023

Closing this since I understand #2880 fixes this issue

@arielj arielj closed this as completed Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

4 participants