Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.7k stars 413 forks source link

GTA5: "You need a new application to open this com.epicgames.launcher link." message pops up. (Windows 10) #3643

Open ZGURemixer opened 4 months ago

ZGURemixer commented 4 months ago

Describe the bug

After uninstalling the official Epic Games launcher and installing Heroic on my PC running Windows 10, when I open Grand Theft Auto 5, the launcher with the Rockstar DRM opens without problems, but when it tries to start the game, nothing happens and this message appears.

I have tested the Heroic launcher on a different device that never had an installation of the official Epic Games launcher using Windows 11 and this problem has not occurred. Some trace of the Epic Games launcher installation must be preventing the Heroic/Legendary protocol from being associated correctly.

I have tried changing the com.epicgames.launcher protocool on the registry myself using this .reg file I manually modified, but nothing seems to happen.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\com.epicgames.launcher]
@="URL:com.epicgames.launcher Protocol"
"URL Protocol"=""

[HKEY_CURRENT_USER\SOFTWARE\Classes\com.epicgames.launcher\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\com.epicgames.launcher\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\com.epicgames.launcher\shell\open\command]
@="\"C:\\Users\\Roger\\AppData\\Local\\Programs\\heroic\\Heroic.exe\" \"%1\""

Add logs

(18:05:10) INFO:    [Legendary]:        Legendary location: C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary
(18:05:10) INFO:    [Gog]:              GOGDL location: C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl
(18:05:10) INFO:    [Connection]:       Connectivity: check-online
(18:05:10) INFO:    [Connection]:       Pinging external endpoints
(18:05:11) INFO:    [Gog]:              Checking for existing gog manifests
(18:05:11) INFO:    [Backend]:          DRM module staus {
  "neifaoindggfcjicffkgpmnlppeffabd": {
    "name": "Google Widevine Windows CDM",
    "status": "new",
    "version": "1.0.2738.0"
  },
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2710.0"
  }
}
(18:05:11) INFO:    [Legendary]:        installed.json updated, refreshing library
(18:05:11) WARNING: [Backend]:          Protocol already registered.
(18:05:11) INFO:    [Connection]:       Connectivity: online
(18:05:11) INFO:    [Gog]:              Checking if login is valid
(18:05:11) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"auth`"" -NoNewWindow
(18:05:11) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"auth`"" -NoNewWindow
(18:05:11) INFO:    [Frontend]:         Refreshing undefined Library
(18:05:11) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(18:05:11) INFO:    [Legendary]:        Refreshing library...
(18:05:11) INFO:    [Legendary]:        Refreshing Epic Games...
(18:05:11) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"auth`"" -NoNewWindow
(18:05:11) INFO:    [Backend]:          Frontend Ready
(18:05:11) INFO:    [ProtocolHandler]:  received 'heroic://launch/legendary/9d2d0eb64d5c44529cece33fe2a46482'
(18:05:11) INFO:    [Backend]:          Launching Grand Theft Auto V (9d2d0eb64d5c44529cece33fe2a46482)
(18:05:11) INFO:    [Backend]:          Preventing display from sleep
(18:05:11) INFO:    [Backend]:          Preventing machine to sleep
(18:05:11) INFO:    [Backend]:          Checking for new Heroic Updates
(18:05:11) INFO:    [Backend]:          Checking for current version changelog
(18:05:12) INFO:    [Backend]:          VCRuntime is installed
(18:05:12) INFO:    [Backend]:          Started Discord Rich Presence
(18:05:12) INFO:    [Legendary]:        Launching Grand Theft Auto V: HEROIC_APP_NAME=9d2d0eb64d5c44529cece33fe2a46482 HEROIC_APP_RUNNER=legendary HEROIC_APP_SOURCE=epic LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"launch`"","`"9d2d0eb64d5c44529cece33fe2a46482`"","`"--language`"","`"en`"" -NoNewWindow
(18:05:12) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"list`"","`"--third-party`"" -NoNewWindow
(18:05:12) INFO:    [Backend]:          Stopping Power Saver Blocker
(18:05:12) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:05:12) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"--version`"" -NoNewWindow
(18:05:12) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\nile_config powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:05:12) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:05:12) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"--version`"" -NoNewWindow
(18:05:12) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\nile_config powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:05:13) INFO:    [WineDownloader]:   Updating wine versions info
(18:05:13) INFO:    [WineDownloader]:   Fetching upstream information...
(18:05:15) INFO:    [Backend]:          
System Information:
CPU: 12x AMD Ryzen 5 5600X 6-Core Processor             
Memory: 17.1 GB (used: 8.87 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Radeon RX 480
    IDs: D=67df V=1002 SD=9480 SV=1682
    Driver: 31.0.21023.2010
OS: Microsoft Windows 10 Pro 10.0.19045 (win32)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
  Heroic: 2.13.0 Dorry & Broggy
  Legendary: 0.20.34 Direct Intervention
  gogdl: 1.0.0
  Nile: 1.0.1 Jonathan Joestar

(18:05:15) INFO:    [Gog]:              Getting GOG library
(18:05:15) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"auth`"" -NoNewWindow
(18:05:15) INFO:    [WineDownloader]:   wine versions updated
(18:05:15) ERROR:   [Backend]:          Could not find default wine version
(18:05:15) INFO:    [Legendary]:        Game list updated, got 126 games & DLCs
(18:05:15) INFO:    [Gog]:              Saved username to config file
(18:05:16) INFO:    [Backend]:          Starting the Download Queue
(18:05:18) INFO:    [Gog]:              Saved games data
(18:05:18) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(18:05:18) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"auth`"" -NoNewWindow
(18:05:20) INFO:    [Gog]:              Found 0 game(s) to update
(18:05:20) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"list`"","`"--third-party`"" -NoNewWindow
(18:05:21) INFO:    [Backend]:          Stopped Discord Rich Presence
(18:05:21) INFO:    [Backend]:          Stopping Display Power Saver Blocker
(18:05:23) INFO:    [Legendary]:        Found 0 games to update
(18:08:00) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:08:00) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"--version`"" -NoNewWindow
(18:08:00) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\nile_config powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:08:00) INFO:    [Legendary]:        Checking if EOS Overlay is enabled: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"eos-overlay`"","`"info`"" -NoNewWindow
(18:08:01) INFO:    [Legendary]:        Abort command "LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"eos-overlay`"","`"info`"" -NoNewWindow"
(18:11:07) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\legendaryConfig\legendary powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow
(18:11:07) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\gogdlConfig powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl`"" -Wait -ArgumentList "`"--auth-config-path`"","`"C:\Users\Roger\AppData\Roaming\heroic\gog_store\auth.json`"","`"--version`"" -NoNewWindow
(18:11:07) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\Roger\AppData\Roaming\heroic\nile_config powershell Start-Process "`"C:\Users\Roger\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile`"" -Wait -ArgumentList "`"--version`"" -NoNewWindow

Steps to reproduce

  1. Install the official Epic Games Launcher.
  2. Install Grand Theft Auto V and the Rockstar Launcher through EGS.
  3. Run Grand Theft Auto V once through EGS.
  4. Uninstall Grand Theft Auto V, Epic Games Client, and the Rockstar Launcher through a tool like Revo Uninstaller.
  5. Install Heroic.
  6. Install Grand Theft Auto V and the Rockstar Launcher through Heroic.
  7. Run Grand Theft Auto V once through Heroic.

Expected behavior

I expected a full re-installation of Heroic to fix the broken link association in the registry, but no.

Screenshots

No response

Heroic Version

Latest Stable

System Information

OS: Microsoft Windows 10 Pro 10.0.19045

Additional information

No response

LutherNikolaevich commented 3 months ago

I also have this error though rdr2 works fine from steam

ani9730 commented 3 months ago

I too was facing this error when i downloaded gta5. Any reasons? I am currently on Windows 11.

arielj commented 3 months ago

for rockstar games to work, use the workaround explained in discord https://discord.com/channels/812703221789097985/1210747284086849578 (I should actually move it to a wiki page at some point)

ani9730 commented 3 months ago

https://discord.com/channels/812703221789097985/1210747284086849578

The link is not working well (Sorry if I am wrong but i am new to discord) Screenshot 2024-04-01 213526

arielj commented 3 months ago

I guess you first need to join the discord server before opening that link, check https://discord.gg/rHJ2uqdquK

arielj commented 3 months ago

I added a wiki page to make it easier https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/Rockstar-Games:-Code-134-Error-(workaround)

LutherNikolaevich commented 3 months ago

It still doesn't fix the one I'm facing, it only launches the rockstar launcher image even if you wait for a decade, the game won't gonna launch.

ani9730 commented 3 months ago

It still doesn't fix the one I'm facing, it only launches the rockstar launcher image even if you wait for a decade, the game won't gonna launch.

It didnt work for me either, instead first open rockstar game launcher then set the alternate exe file to playGTA5.exe and then open the game using heroic launcher, then after some delay, it should work.

LutherNikolaevich commented 3 months ago

It still doesn't fix the one I'm facing, it only launches the rockstar launcher image even if you wait for a decade, the game won't gonna launch.

It didnt work for me either, instead first open rockstar game launcher then set the alternate exe file to playGTA5.exe and then open the game using heroic launcher, then after some delay, it should work.

This method works! Thank you so much!

Atops93 commented 2 months ago

THANK YOU IT WORKED!!