HeroicGamesLauncher
HeroicGamesLauncher copied to clipboard
[macOS] Import game is not using correct platform
Hello,
Importing a Windows-only game into Heroic on Mac (Example: GtaV), will set the game's platform to default which is Mac in Legendary, which will cause the game to fail to launch, because it will fail to find the game metadata (Trying to find the Mac metadata while the game is only available on Windows), so it will result in an error:
Metadata for "xxx" does not exist, cannot launch.
Reported in issue #1198 and #1078
To fix the problem, the game must be imported with the following argument: --platform Windows
In legendary it's something like this: import --platform Windows [game name] [game folder]
Hope that helps.
This is correct, I believe we are not passing the platform when importing and for that, we will need to change some things on the install dialog.
Thanks for reporting it.
I was able to fix it though workaround by changing the heroic default platform:
- Run the Command:
cd ~/.config/ledendary/ && open .
- In the opened finder window, open
config.inifile with the text editor. - add the line in the end of file:
default_platform = Windows - save and exit.
- restart heroic and reimport the game. This time it will import it for "Windows" platform
- the game shall start now.
fixed