HGL
optimistic-gold
Game shortcuts no longer launch the game
Since the last update, the heroic shortcuts are no longer starting the games, it just opens the launcher, on the library screen, I believe it is something related to the new Protocol URL, as shown in the log.
11 Replies
Could you try editing the shortcut to remove the last
/
(so it's just heroic://launch?...
)?
(other than that the URL looks fine to me; as far as I can tell shortcuts created by Heroic won't have that trailing /)optimistic-goldOP•3mo ago
I created a new shortcut to test with heroic://launch?appName=Fortnite&runner=legendary , but when saving it, I think Windows automatically adds the "/" before the "?" when apply


optimistic-goldOP•3mo ago
and keeps sending me to the library of heroic
Pretty sure shortcuts are just text files, maybe try a regular text editor to modify it?
optimistic-goldOP•3mo ago
put this in a txt and rename it to .lnk? Not work here
I created a text file, put [InternetShortcut]
URL=heroic://launch?appName=Fortnite&runner=legendary , and renamed it to Fortnite.url , when checking the file properties, the path is heroic://launch?appName=Fortnite&runner=legendary but when seeing the log, it continues with received heroic://launch/?appName=Fortnite&runner=legendary
I see. I don't have access to a Windows machine right now, I'll try to remember to test this on the weekend
optimistic-goldOP•3mo ago
Okay, thanks for the help ❤️ An alternative is to create a manual shortcut with the old structure, apparently it's working here (heroic://launch/Fortnite for example)
Yeah the old shortcut handling is still in place (and probably will be for quite some time, we don't want to silently break every game anyone ever added to Steam for example). Should've remembered that
equal-jade•2mo ago
Having same issue; I tried editing the .lnk shortcut Heroic created. Properties wouldn't let me edit it and Code said it was a binary file.
Made a new shortcut thru right-click Create Shortcut dialog ( both ways, launch/app and launch?app ), which created .url files instead. launch/app works preoperly, launch?app injects the / , even reinjects after editing the .url file. It looks like this is a standard "feature" of Windows now. https://answers.microsoft.com/en-us/msoffice/forum/all/why-a-slash-automatically-added-on-the-end-of-the/0f0daa26-f8b5-4a05-ac3c-06375dc7b0ad
deep-jade•3w ago
I have this issue as well (Hitman 3), although I have other shortcuts that work fine (Kingdom Come Deliverance)
It's possible that shortcuts made during a new installations are fine, but deleting it and creating a new one via the three dots in the game's listing makes an invalid one


GitHub
[Fix] Protocol handling on Windows by CommandMC · Pull Request #45...
When creating a shortcut, Windows automatically adds a trailing / to the path. This caused Heroic to assume its parsing the old-style protocol URL, while it was actually getting a new-style one. Be...