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
CommandMC
CommandMC3mo ago
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-gold
optimistic-goldOP3mo 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
No description
No description
optimistic-gold
optimistic-goldOP3mo ago
and keeps sending me to the library of heroic
CommandMC
CommandMC3mo ago
Pretty sure shortcuts are just text files, maybe try a regular text editor to modify it?
optimistic-gold
optimistic-goldOP3mo 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
CommandMC
CommandMC3mo ago
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-gold
optimistic-goldOP3mo 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)
CommandMC
CommandMC3mo ago
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
equal-jade2mo 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
deep-jade3w 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
No description
No description
CommandMC
CommandMC3w ago
I've now created #4534 to resolve this issue
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...

Did you find this page helpful?