RetroArch not opening from Rom Collection Browser Add-on in Kodi

Hi,

RetroArch is succesfully installed and working perfect when used directly. However when trying to call it from within the Rom Collection Browser add-on in Kodi (RCB), a cmd window is openend (black/blank) and it disappears after a second. After this nothing happens to RetroArch.

I tried the following three parameters within RCB. All give the same behavior:

-f -L “C:\Users<user>\AppData\Roaming\RetroArch\retroarch.exe” “%ROM%”

-f -L “C:\Users<user>\AppData\Roaming\RetroArch\retroarch.exe” “C:\Users<user>\AppData\Roaming\RetroArch\cores\mupen64plus_libretro.dll” “%ROM%”

-f -L “C:\Users<user>\AppData\Roaming\RetroArch\cores\mupen64plus_libretro.dll” “%ROM%”

The paths are correct. So must be something missing here?!

Anybody know how to solve this?

Thanks

The command syntax is wrong, it should be:

"path_to_retroarch\retroarch.exe" -L "path_to_cores\core_name.dll" "%ROM%"

Thanks for the quick response!

I tested it in CMD by replacing the %ROM% with the direct path of a game, and it works. However if I put the string in RCB in Kodi with %ROM%, It wont play. What am I over looking.

The tested rom has a .v64 extension and I also added this into the “Rom File Mask” like: .n64,.v64,*.z64

The “Emulator CMD” is pointed to: “path_to_retroarch\retroarch.exe” same as in “Emulator Parameters”

Any thoughts?

Thanks

This info might be helpfll:

https://forum.kodi.tv/showthread.php?tid=70115&pid=2697161#pid2697161

Hi, I have the same issue as you. Have you been able to fix it?