How can I use Heroic like Lutris for importing games with directories included?

I have over 50 windows games in their own folders not connected to any cloud service. Including their .exe when adding them to Heroic bypasses their folders, which contain the .exe's dependencies causing all games to fail. I want to use Heroic as an exclusive launcher to replace Lutris, is that possible?
13 Replies
CommandMC
CommandMC3y ago
I'm not sure if I understand the question correctly, but you can run arbitrary executables in the game's prefix using the "Run EXE on prefix" button in the game settings. So you can install your dependencies with that, assuming they're executables
provincial-silver
provincial-silver3y ago
what do you mean by "it bypasses their folders"?
harsh-harlequin
harsh-harlequinOP3y ago
adding an exe through the context menu for the prefix ends up ignoring all elements except the .exe from the game's folders I'm not sure how the wine prefix is set up to receive .exe's but lutris' prefix structure doesn't have that issue the .exe's are not installers either, for context
CommandMC
CommandMC3y ago
Does Heroic have permission to read the whole folder? By default, it can only "see" folders in ~/Games/Heroic
harsh-harlequin
harsh-harlequinOP3y ago
that might be the issue, how do I modify that?
CommandMC
CommandMC3y ago
Flatseal is an easy GUI management tool for that; could also use the flatpak CLI if you're that kind of person
provincial-silver
provincial-silver3y ago
sorry, I don't know what you mean by adding an exe through the context menu of the prefix (should we remove the windows label from this thread?)
harsh-harlequin
harsh-harlequinOP3y ago
Let me try adding the loose folders to ~/Games/Heroic
CommandMC
CommandMC3y ago
In the Flatpak sandbox, when you add a sideloaded game / select an executable via "Run EXE in prefix", Heroic only gets permission to see the one file you selected This is sadly a limitation of Flatpak. We could "solve" it by giving Heroic access to everything by default, but that's not really in the spirit of Flatpak
harsh-harlequin
harsh-harlequinOP3y ago
I'm not used to Flatpaks yet so I hadn't thought about that as a caveat of using one
provincial-silver
provincial-silver3y ago
what confuses me is the adding an exe through the context menu, not sure what context menu, just want to be sure we are talking about the Run exe in prefix action and not something different
CommandMC
CommandMC3y ago
I assume "context menu" = "file picker"
harsh-harlequin
harsh-harlequinOP3y ago
adding them to the heroic folder works fine. it's just because of how flatpak is set up, thanks :)

Did you find this page helpful?