How to add RetroArch games on Steam?

crosspostato da: slrpnk.net/post/8602499

My stuff:

  • ArchLinux KDE, amdgpu, vulkan, wayland
  • RetroArch installed from official repos
  • cores installed via RetroArch utility

I’m using this command but it results in a graphical glitch when launched from steam:

retroarch -L “path/to/core” “path/to/game”

Possible causes I found:

  • the command may not work if the game is a .cue file
  • loading a game from Steam via RetroArch 64bit can be a problem(?)
  • cores installed with the utility are in “.info” and not in the “.so” extension

spoilerI haven’t tried Steam Rom Manager as it doesn’t solve my doubt and in any case I’m not sure it can solve the problem even if set correctly.

neo, (edited )
@neo@lemmy.comfysnug.space avatar

retroarch -L “/path/to/core.so” “/path/to/rom” should just work in most cases

When installing cores on a Linux based system, core files AND core info files are all placed in $RetroArch/cores

instead of info files being placed in $RetroArch/info like on windows.

Spoiler: Steam Rom Manager really does just work on a larger scale. If you’re trying to add 20+ games to steam, just use it.

SolarPunker, (edited )

Hmm…looks like in my cores directory “/home/user/.config/retroarch/cores/” I only have .info files.

I’ll try to learn more about SRM, EmuDeck was also recommended to me.

neo,
@neo@lemmy.comfysnug.space avatar

To be fair, I have never used RetroArch installed from the official repositories. I am used to using either the flatpak or steam version(s).

sudo,

I’m a little confused with your set up since you have RetroArch installed via pacman. Where do you want steam to factor in? Are you trying to get individual Roms to appear in steam as their own games? Does your command work outside of steam?

SolarPunker,

Is it unusual to use retroarch via pacman and cores via RA utility?

Are you trying to get individual Roms to appear in steam as their own games? Does your command work outside of steam?

Yes both.

sudo,

Its unusual to install retroarch via pacman and launch it with steam. Usually its either:

  • install via pacman dont use steam at all.
  • install via steam and launch via steam.

I suspect steam is running the retroarch with different environment variables (ie LD_PRELOAD) than your system. I dont know what those would be or what to set them to if I did.

You can try experimenting with using steam-native and steam-runtime to check if there is a difference. You can also try to install retroarch via steam, find its executable in ~/.local/share and adjust your script accordingly.

SolarPunker,

Thank you

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux_gaming@lemmy.ml
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines