HGL
absent-sapphire

Unable to launch any game and 'Cannot get game info'

Every time I press 'Play Now', a green 'Playing' pops up in the upper-left corner for around 2 seconds, and afterwards, nothing happens. I wanted to verify the game files, but upon clicking in the game to view it's info, to access the verification button, I got a message 'Cannot get game info'. Full Heroic log: https://paste.debian.net/1275976/
24 Replies
absent-sapphire
absent-sapphireOP3y ago
Found a different log too, might be helpful: https://paste.debian.net/hidden/7e079ff2/
harsh-harlequin
harsh-harlequin3y ago
Tim Sweeney (@TimSweeneyEpic)
@leanuxguy @Blastermaster77 @Stormy178 @FortniteGame With regard to anti-cheat on the Linux platform supporting custom kernels and the threat model to a game of Fortnite's size, YES THAT'S EXACTLY RIGHT!
Likes
156
Twitter
absent-sapphire
absent-sapphireOP3y ago
Isn't that about Linux?
harsh-harlequin
harsh-harlequin3y ago
Oh I'm sorry I didn't realise heroic ran on non Linux oses I'll shut up and leave it to people who have a clue lol
statutory-emerald
statutory-emerald3y ago
looks like legendary is trying to do something when the official Epic Games Launcher app, did you have that and then uninstalled it? trying reinstalling it to see if the error disappears
absent-sapphire
absent-sapphireOP3y ago
I reinstalled the Epic Games Launcher, the error is still there. I used to have the Epic Games Launcher, I uninstalled it. After uninstalling it, I realized it also deleted all game files, which were installed with Heroic. After reinstalling the games through Heroic, the aforementioned errors came.
fascinating-indigo
fascinating-indigo3y ago
Probably the install.json is corrupted
absent-sapphire
absent-sapphireOP3y ago
How could I make the file regenerate/fix the issue?
conscious-sapphire
conscious-sapphire3y ago
remove the ~/.config/legendary/installed.json, it should do the trick oh, wait, you're on windows the file is somewhere else then, find it and remove it
CommandMC
CommandMC3y ago
Try disabling EGL Sync completely:
C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary egl-sync --disable-sync
C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary egl-sync --disable-sync
I'd be curious how you came to that conclusion
absent-sapphire
absent-sapphireOP3y ago
When opening the legendary.exe, the terminal almost immediately closes.
fascinating-indigo
fascinating-indigo3y ago
Soen json is corrupted maybe not installed.json but some json is corrupted else it would not throw json syntax error in the log
CommandMC
CommandMC3y ago
Right, but that's just because we expect Legendary to give us its launch config, but it doesn't (since it's throwing that exception, and that exception isn't JSON) Run the whole command in a terminal
absent-sapphire
absent-sapphireOP3y ago
The term 'legendary' is not recognized as the name of a cmdlet, function, script file, or operable program.
CommandMC
CommandMC3y ago
That's not the full command. Copy exactly what I've sent, paste it in (with a right-click)
absent-sapphire
absent-sapphireOP3y ago
Nevermind, I just forgot to start the command with .\ The games seem to work now. Can something bad happen if EGL Sync is disabled?
CommandMC
CommandMC3y ago
EGL Sync syncs your Heroic-installed games with the EGL & your EGL-installed games with Heroic If you don't use the EGL, you don't need it at all
absent-sapphire
absent-sapphireOP3y ago
OK, thanks.
fascinating-indigo
fascinating-indigo3y ago
In the log that does not exist anymore it was defently a json parse error
statutory-emerald
statutory-emerald3y ago
what command means is that legendary is failing with this output:
Traceback (most recent call last):
File "legendary\cli.py", line 3069, in <module>
File "legendary\cli.py", line 2984, in main
File "legendary\cli.py", line 578, in launch_game
File "legendary\core.py", line 566, in get_installed_game
File "legendary\core.py", line 1861, in egl_sync
File "legendary\core.py", line 1847, in egl_restore_or_uninstall
File "legendary\core.py", line 1824, in egl_export
File "legendary\lfs\egl.py", line 85, in set_manifest
ValueError: EGS ProgramData path does not exist
[1296] Failed to execute script 'cli' due to unhandled exception!
Traceback (most recent call last):
File "legendary\cli.py", line 3069, in <module>
File "legendary\cli.py", line 2984, in main
File "legendary\cli.py", line 578, in launch_game
File "legendary\core.py", line 566, in get_installed_game
File "legendary\core.py", line 1861, in egl_sync
File "legendary\core.py", line 1847, in egl_restore_or_uninstall
File "legendary\core.py", line 1824, in egl_export
File "legendary\lfs\egl.py", line 85, in set_manifest
ValueError: EGS ProgramData path does not exist
[1296] Failed to execute script 'cli' due to unhandled exception!
and we are trying to parse that output as json, so the error parsing json is caused because the legendary output is an error and not json, not because legendary can't parse a json file
fascinating-indigo
fascinating-indigo3y ago
Ok gotcha now Can we catch the error before we parse it? Probably this should be ozogged to stderr or if spawn is used it should be spawn.on('error')
statutory-emerald
statutory-emerald3y ago
we can, just somebody has to do it haha I mean game will fail to launch but we could also use that catch to suggest the user to disable the egs-sync with a click on a button that runs the legendary command and then relaunch the game, I think it would the most userfriendly option, like saying "this happened, it is common if you uninstalled EGS, do you want to disable this legendary feature and re-launch the game? yes / no"
fascinating-indigo
fascinating-indigo3y ago
Its more about that i feel we don't log all legendary error but maybe i am incorrect. At least the json pasre should not be done on error
CommandMC
CommandMC3y ago
Spawn's error signal only means "something went wrong while spawning the process" (as in, file doesn't exist, file isn't executable, that stuff) All Legendary output is written to Legendary's own log file. Having everything in Heroic's log would be a mess

Did you find this page helpful?