derrod / legendary

Legendary - A free and open-source replacement for the Epic Games Launcher
https://legendary.gl/discord
GNU General Public License v3.0
4.66k stars 167 forks source link

Catch com.epicgames.launcher links on windows #644

Open NoelJacob opened 9 months ago

NoelJacob commented 9 months ago

It shows cannot find app on microsoft store

derrod commented 9 months ago

Fill in the template to explain what you mean or this will be closed.

RehanPlayz commented 9 months ago

Having the same issue when trying to launch GTA V (Premium Edition) from Epic Games image

RehanPlayz commented 9 months ago

Having the same issue when trying to launch GTA V (Premium Edition) from Epic Games image

Found a fix for this on the Heroic Game launcher discord, you apparently need to start the Rockstar launcher and then start the game with the launcher already running.

The user queenbiscuit311 posted this batch script to automate it over there.

start /B "null" "C:\Program Files\Rockstar Games\Launcher\LauncherPatcher.exe"

ping -n 10 localhost > nul

start heroic://launch/legendary/9d2d0eb64d5c44529cece33fe2a46482
Karl255 commented 3 months ago

Can something be done about this? I have the same issue when trying to launch GTA V. The fix mentioned above doesn't do anything for me (I didn't even use Heroic before this and installing it changed nothing). The Rockstar Games Launcher is running, so this isn't the problem. I can't start the game at all like this.

anadius commented 2 months ago

Open a terminal as an administrator and paste this: reg add HKCR\com.epicgames.launcher (alternatively you can open the registry and add com.epicgames.launcher key yourself to HKEY_CLASSES_ROOT).

This is what helped for me. Then I started the game with legendary launch 9d2d0eb64d5c44529cece33fe2a46482 and the Rockstar Games Launcher asked me to link my accounts. And in fact it DIDN'T work when I ran the legendary command with the launcher open, I had to close it first.

So in short, add the registry key, close everything, run the game with legendary launch <game ID>