Add game issue
Looking into adding a game that doesn't use one of the supported accounts and I can't make it work with my current knowledge.
For example: I want to add Starsector to Heroic. It's the Linux version/ In the root I have several "contenders" for executables: starsector.sh, starsector.bat (and starsector.bat32).
I can do the add no problem but launching it doesn't work. Iget this in the game log:
/run/user/1000/doc/ff2f44db/starsector.sh: ligne 2: ./jre_linux/bin/java: Aucun fichier ou dossier de ce type
It is to note that launching the sh directly works like a charm. (bat is useless it seems)
Same issue with eduke3D, with the log giving an enigmatic:
/home/zoidberg/Games/Heroic/Duke Nukem 3D/eduke32/eduke32: error while loading shared libraries: libvpx.so.7: cannot open shared object file: No such file or directory
A thing to not is that when I edit Starsector's executable it gives me "/run/user/1000/doc/ff2f44db/starsector.sh" which isn't the folder I pointed to when I added the game, for eduke3D it stays the same. It's a Linux thing or what?
Regards
7 Replies
genetic-orange•2y ago
you have to make sure the game can be launched WITHOUT heroic first before adding it, since heroic will just run the file you tell it to run for native linux games
try executing the different files and address any missing dependency (like installing libvpx or Java using your system's package manager)
one thing though, I'm not sure what's the right way to do that if you are using Heroic Flatpak version, not sure if what you need in that case is to install the dependencies inside the flatpak (not sure how it's done) or to change flatpak permissions with flatseal
equal-aquaOP•2y ago
It does launch, like a charm.
And what's that "flatpack" thing I keep hearing about?
genetic-orange•2y ago
https://www.youtube.com/watch?v=ikBPnYwnUMU check this video for example, it explains things with a lot of details
equal-aquaOP•2y ago
And so the fact that heroic is flatpack makes it so that shortcuts don't work from within it?
magic-beige•2y ago
If you have steam you could enable steam runtime
In the game settings in heroic
The steam runtime ships needed libs for linux games. That could probably fix some native games
equal-aquaOP•2y ago
Both games in question, EDuke32 and Starsector, are Linux builds, no steam runtime options.
tried making a shortcuts in steam for eduke32, doesn't launch either...
extended-salmon•2y ago
Any time you see
/run/user/1000/doc/...
in your Heroic logs, it's pretty much a permissions issue. you're trying to access a file that is outside of the default permissible folders