(2017-11-09, 20:47)djmdp Wrote: Hi Zach, I got a small issue with IARL, I'm trying to configure it on raspbian on rpi3, kodi 17.3, I've got retropie installed, games are working via emulationstation well, but If I tried to configure the addon, via external launcher of course, retroarch is starting the game, I see the retroarch process running, but it seems like kodi is masking the retroarch picture (can't see the game, but I can hear the sounds from it). When the kodi screensaver comes into play, I can see the game partially. What should I do to allow retroarch to take the videocard context instead of kodi skin?
What I found also, that IARL can't find the libretro catalog, as my cores are in /opt/retropie/libretrocores/ and IARL setting the default /usr/lib/libretro, how can I fix this?
Thanks.
I have never tried that combination before. The issue is that Kodi needs to close, then launch the game, then re-open after you exit retroarch.
The solution will have to be a little manual for now since I don't have commands for Raspbian included by default. If you confirm it works, I can add some code to IARL to make this work for future Raspbian users.
In IARL settings, external launch tab, choose Linux as your system type, and choose Close Kodi Enabled for the option below.
Option 1 (Fastest for now):
In the IARL addon folder, find the file
external_command_database.xml, it would be in ..path_to_kodi_data/addons/plugin.program.iarl/resources/data/
Find All:
xml:
%RETROARCH_CORE_DIR%
Replace All:
xml:
/opt/retropie/libretrocores
Then re-run the wizard. This should set the commands correctly for all the systems.
Option 2 (you would have to do this for every game list in IARL):
In the IARL addon, select a game list, example NES, then right click to bring up the context menu and select update external launch command, then choose the bottom option "Manually Entered Command" and enter:
xml:
"%ADDON_DIR%/resources/bin/applaunch.sh" "%APP_PATH%" %NETPLAY_COMMAND% -L /opt/retropie/libretrocores/nestopia_libretro.so "%ROM_PATH%"
The applaunch.sh closes Kodi, starts Retroarch with the command provided, and then re-opens Kodi after you exit Retroarch.