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
8.22k stars 428 forks source link

Change the target exe for games #623

Closed germaniii closed 3 years ago

germaniii commented 3 years ago

I'm having issues with one of my games Cities:Skylines where it does work when I run it with wine from the terminal, but doesnt do anything when I press 'play game' button inside the launcher.

I think the heroic launcher points to a different exe file which does not do anything when run in the terminal. This can also help in skipping the provided game launcher and launch directly the game exe

Proposed solution: Provide a setting where we can set the target exe when we press the 'play game' button.

flavioislima commented 3 years ago

Hi! Yes. this is a feature I want myself as well, games like Control also needs to skip the launcher, borderlands is another one I can remember now. So this will be implemented in the future.

redromnon commented 3 years ago

I'm having issues with one of my games Cities:Skylines where it does work when I run it with wine from the terminal, but doesnt do anything when I press 'play game' button inside the launcher.

I think the heroic launcher points to a different exe file which does not do anything when run in the terminal. This can also help in skipping the provided game launcher and launch directly the game exe

Proposed solution: Provide a setting where we can set the target exe when we press the 'play game' button.

For now, you can edit the installed.json file and change the executable path. I myself play Cities Skylines and found out on ProtonDB that the custom launcher causes issues.

Here's what I did -

  1. Go to /home/username/.config/legendary
  2. Open the installed.json file
  3. Navigate to the preferred game's code
  4. Change the "executable": to the desired .exe file. I changed mine to "executable": "Cities.exe" So now, Cities Skylines directly launches the game and skips the launcher.

Hope this helps.