Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for linux snap installs of Retroarch #271

Open
kalaninja opened this issue Feb 8, 2023 · 2 comments
Open

Add support for linux snap installs of Retroarch #271

kalaninja opened this issue Feb 8, 2023 · 2 comments

Comments

@kalaninja
Copy link

I am using kodi 20 on Ubuntu 22.04.
I've setup retroarch and iagl according to the manual, but it cannot start any game.

log:

2023-02-08 14:40:34.281 T:3392     info <general>: IAGL:  Download complete for https://archive.org/download/No_Intro_Sept_2016/No_Intro_G1.zip/Comix%20Zone%20%28USA%29.zip.  File size 1618766
2023-02-08 14:40:34.337 T:3392     info <general>: IAGL:  Post processing complete for Comix Zone (USA).zip
2023-02-08 14:40:34.688 T:2016     info <general>: CActiveAESink::OpenSink - initialize sink
2023-02-08 14:40:34.710 T:2016     info <general>: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms Periodsize 50 ms
2023-02-08 14:40:34.756 T:3391    error <general>: GetDirectory - Error getting plugin://plugin.program.iagl/game/Genesis_ZachMorris/Comix+Zone+%28USA%29
2023-02-08 14:40:34.764 T:1752    error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iagl/game/Genesis_ZachMorris/Comix+Zone+%28USA%29) failed
2023-02-08 14:40:42.393 T:3400     info <general>: IAGL:  Lets Play!
2023-02-08 14:40:43.637 T:3400  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2023-02-08 14:40:51.868 T:1752     info <general>: Skipped 171 duplicate messages..
2023-02-08 14:40:51.868 T:1752     info <general>: Loading skin file: DialogContextMenu.xml, load type: KEEP_IN_MEMORY
2023-02-08 14:40:56.623 T:3413     info <general>: IAGL:  Lets Play!
2023-02-08 14:41:07.409 T:3415     info <general>: Skipped 1 duplicate messages..
2023-02-08 14:41:07.409 T:3415  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2023-02-08 14:41:10.036 T:3419     info <general>: Skipped 171 duplicate messages..
2023-02-08 14:41:10.036 T:3419     info <general>: IAGL:  Lets Play!
2023-02-08 14:41:11.261 T:3419  warning <general>: Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2023-02-08 14:41:11.272 T:1752     info <general>: Loading skin file: /home/kalan/.kodi/addons/plugin.program.iagl/resources/skins/Default/1080i/IAGL-infodialog.xml, load type: LOAD_ON_GUI_INIT
2023-02-08 14:41:13.020 T:3419     info <general>: IAGL:  Post processing complete for Comix Zone (USA).zip
2023-02-08 14:41:13.342 T:3419    error <general>: IAGL:  Launcher None is unknown, defauling to RETROPLAYER
2023-02-08 14:41:13.343 T:3419  warning <general>: Setting game properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagGame.
2023-02-08 14:41:16.268 T:1752     info <general>: RetroPlayer[PLAYER]: No compatible game client selected, aborting playback
2023-02-08 14:41:18.343 T:3419    error <general>: IAGL:  Status of launch is unknown for Comix Zone, current window id 9999
2023-02-08 14:41:18.455 T:3418    error <general>: GetDirectory - Error getting plugin://plugin.program.iagl/game/Genesis_ZachMorris/Comix+Zone+%28USA%29
2023-02-08 14:41:18.464 T:1752    error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iagl/game/Genesis_ZachMorris/Comix+Zone+%28USA%29) failed

I find it suspicious that it says Launcher None is unknown, defauling to RETROPLAYER though it is setup to use retroarch in the settings. Can be because retroarch is installed with span?

@kalaninja
Copy link
Author

indeed this is the problem. everything works fine if retroarch is installed with ppa

@zach-morris
Copy link
Owner

zach-morris commented Feb 8, 2023

It seems like something was missed in the setup for external launching (totally possible the manual needs to be updated, but i think its correct).

Try this:
Open addon settings, External Launchers settings, Linux is selected, and app path and cfg path are set.
If the above is set: Now open the addon, select the game list, bring up the context menu, and select update launcher. Follow the prompts.

Edit - do you mean RA is installed with snap?

@zach-morris zach-morris changed the title iagl cannot start a single game Add support for linux snap installs of Retroarch Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants