• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 24
Advanced Kodi Launcher - Game and Emulators frontend for Kodi
#76
What repo do I add or what zipfile do I download for 1.2.0 on Nexus? none of the zips that I have downloaded are showing when using “install from zip,kodi”. Any help would be appreciated.
Reply
#77
(2022-12-01, 09:09)mousex110 Wrote: What repo do I add or what zipfile do I download for 1.2.0 on Nexus? none of the zips that I have downloaded are showing when using “install from zip,kodi”. Any help would be appreciated.
It wasn't totally clear in the threadstart indeed. I updated it with the direct links.
Here you go:

Stable versions: https://github.com/chrisism/repository.c...-1.1.0.zip
Beta versions: https://github.com/chrisism/repository.c...-1.0.2.zip

The first contains the stable releases, the second contains all the beta and test versions. This will install my own repository in Kodi. You then can add the addons by going to 'install from repository' and selecting mine after that.
Reply
#78
For some reason on any Nexus build I cant see any of the zip files, Ive tried manually putting them in a directory and installing the repositories and addons. I have also tried other repos/addons and they have worked fine on nexus. I  tried adding your repos and zips on 19.4 and that also worked fine. Does the addon.xml need to be updated for nexus or am I doing something stupid?
Reply
#79
Hope someone can help me with this one. 

I am able to load roms with retroarch via terminal like this for example:

retroarch -v -c /home/kodi/.config/retroarch/retroarch.cfg -L /home/kodi/.config/retroarch/cores/nestopia_libretro.so "/data/emu/NES/1 US - A-F/Arkanoid (USA).nes"

but when I try to go through AKL it does not work. My launcher is configured as follows:

Path to retroarch:  /usr/games/
config: /home/kodi/.config/retroarch/retroarch.cfg
core: /home/kodi/.config/retroarch/cores/nestopia_libretro.so
arguments: nothing

I also tried to enter %rom% or -f "%rom%" into arguments but that didn't do it either. 

In the Kodi log I get the following entries when I try to start a game: 
Quote:022-12-02 20:55:10.038 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"romcollection_id":"ecc4e1ec8961236ba2742524ccb2244b"}
2022-12-02 20:55:16.196 T:154805    INFO <general>: initializing python engine.
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: ------------ Called Advanced Kodi Launcher Plugin: Retroarch Launcher ------------
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.id         "script.akl.retroarchlauncher"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.version    "1.0.4"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.platform     "linux"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: OS               "Linux"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[0] "default.py"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[1] "--cmd"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[2] "configure"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[3] "--type"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[4] "LAUNCHER"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[5] "--server_host"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[6] "127.0.0.1"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[7] "--server_port"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[8] "57300"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[9] "--romcollection_id"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[10] "ecc4e1ec8961236ba2742524ccb2244b"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[11] "--akl_addon_id"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[12] "835d3a975d613c3c046f9b8cde377e0e"
2022-12-02 20:55:22.486 T:154805    INFO <general>: CPythonInvoker(156, /home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py): script successfully run
2022-12-02 20:55:22.511 T:154805    INFO <general>: Python interpreter stopped
2022-12-02 20:55:23.509 T:154809    INFO <general>: initializing python engine.
2022-12-02 20:55:24.057 T:154809   ERROR <general>: [plugin.program.akl] resources.lib.views: vw_misc_set_AEL_Content() Invalid AEL_Content_Value "ROMCOLLECTION"
2022-12-02 20:55:24.149 T:154809    INFO <general>: CPythonInvoker(157, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:24.176 T:154810   ERROR <general>: DoWork - Direct texture file loading failed for resource://resource.images.gamestudios.grayscale/Square.png
2022-12-02 20:55:24.177 T:154811   ERROR <general>: DoWork - Direct texture file loading failed for resource://resource.images.gamestudios.grayscale/esrb/E.png
2022-12-02 20:55:24.183 T:154809    INFO <general>: Python interpreter stopped
2022-12-02 20:55:37.752 T:154815    INFO <general>: initializing python engine.
2022-12-02 20:55:38.281 T:154815    INFO <general>: CPythonInvoker(158, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:38.314 T:154815    INFO <general>: Python interpreter stopped
2022-12-02 20:55:38.314 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"rom_id":"42ab6a43792831523254aaf5c42c4b07"}
2022-12-02 20:55:38.702 T:153560    INFO <general>: [plugin.program.akl] resources.lib.commands.rom_launcher_commands: Executing ROM 3-D WorldRunner (USA)
2022-12-02 20:55:38.719 T:154818    INFO <general>: initializing python engine.
2022-12-02 20:55:38.814 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"rom_id":"42ab6a43792831523254aaf5c42c4b07"}
2022-12-02 20:55:39.258 T:153560    INFO <general>: [plugin.program.akl] resources.lib.repositories: Updating ROM '3-D WorldRunner (USA)'
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: ------------ Called Advanced Kodi Launcher Plugin: Retroarch Launcher ------------
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.id         "script.akl.retroarchlauncher"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.version    "1.0.4"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.platform     "linux"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: OS               "Linux"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[0] "default.py"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[1] "--cmd"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[2] "launch"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[3] "--type"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[4] "LAUNCHER"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[5] "--server_host"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[6] "127.0.0.1"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[7] "--server_port"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[8] "57300"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[9] "--akl_addon_id"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[10] "835d3a975d613c3c046f9b8cde377e0e"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[11] "--rom_id"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[12] "42ab6a43792831523254aaf5c42c4b07"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): Launcher          "Retroarch Launcher"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): raw arguments     ""
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): application  "/usr/games/"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): appbase      ""
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): apppath      "/usr/games/"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): romfile      "/data/emu/NES/1 US - A-F/3-D WorldRunner (USA).nes"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rompath      "/data/emu/NES/1 US - A-F/"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rombase      "3-D WorldRunner (USA).nes"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rombasenoext "3-D WorldRunner (USA)"
2022-12-02 20:55:39.394 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"vcollection_id":"recently_played"}
2022-12-02 20:55:39.394 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"vcollection_id":"most_played"}
2022-12-02 20:55:39.821 T:154818   ERROR <general>: [script.akl.retroarchlauncher] __main__: Exception while executing ROM
                                                   Traceback (most recent call last):
                                                     File "/home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py", line 104, in launch_rom
                                                       launcher.launch()
                                                     File "/home/kodi/.kodi/addons/script.module.akl/lib/akl/launchers.py", line 257, in launch
                                                       executor.execute(application, *args, **kwargs)
                                                     File "/home/kodi/.kodi/addons/script.module.akl/lib/akl/executors.py", line 121, in execute
                                                       retcode = subprocess.call(
                                                     File "/usr/lib/python3.10/subprocess.py", line 345, in call
                                                       with Popen(*popenargs, **kwargs) as p:
                                                     File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
                                                       self._execute_child(args, executable, preexec_fn, close_fds,
                                                     File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
                                                       raise child_exception_type(errno_num, err_msg, err_filename)
                                                   PermissionError: [Errno 13] Permission denied: ''
2022-12-02 20:55:39.822 T:154818    INFO <general>: CPythonInvoker(159, /home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py): script successfully run
2022-12-02 20:55:39.825 T:154821    INFO <general>: initializing python engine.
2022-12-02 20:55:39.848 T:154818    INFO <general>: Python interpreter stopped
2022-12-02 20:55:39.923 T:153528 WARNING <general>: CGUIMediaWindow::OnMessage - updating in progress
2022-12-02 20:55:40.424 T:154821   ERROR <general>: [plugin.program.akl] resources.lib.views: vw_misc_set_AEL_Content() Invalid AEL_Content_Value "ROMCOLLECTION"
2022-12-02 20:55:40.564 T:154821    INFO <general>: CPythonInvoker(160, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:40.590 T:154821    INFO <general>: Python interpreter stopped
 
I see there is a permission denied message in there but I dont really get why that would come up since I am able to launch the game from command line.
AMD Ryzen 7 7800X3D | AsRock B650I | Geforce RTX 4070 
Ubuntu 24.04 LTS | Kernel 6.10 | Nvidia blob drivers | Kodi v22
Reply
#80
(2022-12-02, 17:58)mousex110 Wrote: For some reason on any Nexus build I cant see any of the zip files, Ive tried manually putting them in a directory and installing the repositories and addons. I have also tried other repos/addons and they have worked fine on nexus. I  tried adding your repos and zips on 19.4 and that also worked fine. Does the addon.xml need to be updated for nexus or am I doing something stupid?
Not that I am aware of. There are some changes still needed to be done, but for now they only give warnings. Although I had already installed them before I tried it again to install the repository (dev version) from the zip file downloaded from the URL in the thread start topic. This worked perfectly fine.
Could you maybe unpack the zip file and check/share the contents so we can verify it. Also you can ofcourse share the logs (in debug mode), maybe that shows more details.
Reply
#81
(2022-12-02, 21:59)Juppstein Wrote: Hope someone can help me with this one. 

I am able to load roms with retroarch via terminal like this for example:

retroarch -v -c /home/kodi/.config/retroarch/retroarch.cfg -L /home/kodi/.config/retroarch/cores/nestopia_libretro.so "/data/emu/NES/1 US - A-F/Arkanoid (USA).nes"

but when I try to go through AKL it does not work. My launcher is configured as follows:

Path to retroarch:  /usr/games/
config: /home/kodi/.config/retroarch/retroarch.cfg
core: /home/kodi/.config/retroarch/cores/nestopia_libretro.so
arguments: nothing

I also tried to enter %rom% or -f "%rom%" into arguments but that didn't do it either. 

In the Kodi log I get the following entries when I try to start a game: 
Quote:022-12-02 20:55:10.038 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"romcollection_id":"ecc4e1ec8961236ba2742524ccb2244b"}
2022-12-02 20:55:16.196 T:154805    INFO <general>: initializing python engine.
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: ------------ Called Advanced Kodi Launcher Plugin: Retroarch Launcher ------------
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.id         "script.akl.retroarchlauncher"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.version    "1.0.4"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.platform     "linux"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: OS               "Linux"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[0] "default.py"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[1] "--cmd"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[2] "configure"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[3] "--type"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[4] "LAUNCHER"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[5] "--server_host"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[6] "127.0.0.1"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[7] "--server_port"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[8] "57300"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[9] "--romcollection_id"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[10] "ecc4e1ec8961236ba2742524ccb2244b"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[11] "--akl_addon_id"
2022-12-02 20:55:16.729 T:154805    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[12] "835d3a975d613c3c046f9b8cde377e0e"
2022-12-02 20:55:22.486 T:154805    INFO <general>: CPythonInvoker(156, /home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py): script successfully run
2022-12-02 20:55:22.511 T:154805    INFO <general>: Python interpreter stopped
2022-12-02 20:55:23.509 T:154809    INFO <general>: initializing python engine.
2022-12-02 20:55:24.057 T:154809   ERROR <general>: [plugin.program.akl] resources.lib.views: vw_misc_set_AEL_Content() Invalid AEL_Content_Value "ROMCOLLECTION"
2022-12-02 20:55:24.149 T:154809    INFO <general>: CPythonInvoker(157, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:24.176 T:154810   ERROR <general>: DoWork - Direct texture file loading failed for resource://resource.images.gamestudios.grayscale/Square.png
2022-12-02 20:55:24.177 T:154811   ERROR <general>: DoWork - Direct texture file loading failed for resource://resource.images.gamestudios.grayscale/esrb/E.png
2022-12-02 20:55:24.183 T:154809    INFO <general>: Python interpreter stopped
2022-12-02 20:55:37.752 T:154815    INFO <general>: initializing python engine.
2022-12-02 20:55:38.281 T:154815    INFO <general>: CPythonInvoker(158, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:38.314 T:154815    INFO <general>: Python interpreter stopped
2022-12-02 20:55:38.314 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"rom_id":"42ab6a43792831523254aaf5c42c4b07"}
2022-12-02 20:55:38.702 T:153560    INFO <general>: [plugin.program.akl] resources.lib.commands.rom_launcher_commands: Executing ROM 3-D WorldRunner (USA)
2022-12-02 20:55:38.719 T:154818    INFO <general>: initializing python engine.
2022-12-02 20:55:38.814 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"rom_id":"42ab6a43792831523254aaf5c42c4b07"}
2022-12-02 20:55:39.258 T:153560    INFO <general>: [plugin.program.akl] resources.lib.repositories: Updating ROM '3-D WorldRunner (USA)'
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: ------------ Called Advanced Kodi Launcher Plugin: Retroarch Launcher ------------
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.id         "script.akl.retroarchlauncher"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: addon.version    "1.0.4"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.platform     "linux"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: OS               "Linux"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[0] "default.py"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[1] "--cmd"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[2] "launch"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[3] "--type"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[4] "LAUNCHER"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[5] "--server_host"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[6] "127.0.0.1"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[7] "--server_port"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[8] "57300"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[9] "--akl_addon_id"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[10] "835d3a975d613c3c046f9b8cde377e0e"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[11] "--rom_id"
2022-12-02 20:55:39.289 T:154818    INFO <general>: [script.akl.retroarchlauncher] __main__: sys.argv[12] "42ab6a43792831523254aaf5c42c4b07"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): Launcher          "Retroarch Launcher"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): raw arguments     ""
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): application  "/usr/games/"
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): appbase      ""
2022-12-02 20:55:39.307 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): apppath      "/usr/games/"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): romfile      "/data/emu/NES/1 US - A-F/3-D WorldRunner (USA).nes"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rompath      "/data/emu/NES/1 US - A-F/"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rombase      "3-D WorldRunner (USA).nes"
2022-12-02 20:55:39.318 T:154818    INFO <general>: [script.akl.retroarchlauncher] akl.launchers: get_arguments(): rombasenoext "3-D WorldRunner (USA)"
2022-12-02 20:55:39.394 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"vcollection_id":"recently_played"}
2022-12-02 20:55:39.394 T:153560    INFO <general>: [plugin.program.akl] resources.lib.services: {"vcollection_id":"most_played"}
2022-12-02 20:55:39.821 T:154818   ERROR <general>: [script.akl.retroarchlauncher] __main__: Exception while executing ROM
                                                   Traceback (most recent call last):
                                                     File "/home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py", line 104, in launch_rom
                                                       launcher.launch()
                                                     File "/home/kodi/.kodi/addons/script.module.akl/lib/akl/launchers.py", line 257, in launch
                                                       executor.execute(application, *args, **kwargs)
                                                     File "/home/kodi/.kodi/addons/script.module.akl/lib/akl/executors.py", line 121, in execute
                                                       retcode = subprocess.call(
                                                     File "/usr/lib/python3.10/subprocess.py", line 345, in call
                                                       with Popen(*popenargs, **kwargs) as p:
                                                     File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
                                                       self._execute_child(args, executable, preexec_fn, close_fds,
                                                     File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
                                                       raise child_exception_type(errno_num, err_msg, err_filename)
                                                   PermissionError: [Errno 13] Permission denied: ''
2022-12-02 20:55:39.822 T:154818    INFO <general>: CPythonInvoker(159, /home/kodi/.kodi/addons/script.akl.retroarchlauncher/default.py): script successfully run
2022-12-02 20:55:39.825 T:154821    INFO <general>: initializing python engine.
2022-12-02 20:55:39.848 T:154818    INFO <general>: Python interpreter stopped
2022-12-02 20:55:39.923 T:153528 WARNING <general>: CGUIMediaWindow::OnMessage - updating in progress
2022-12-02 20:55:40.424 T:154821   ERROR <general>: [plugin.program.akl] resources.lib.views: vw_misc_set_AEL_Content() Invalid AEL_Content_Value "ROMCOLLECTION"
2022-12-02 20:55:40.564 T:154821    INFO <general>: CPythonInvoker(160, /home/kodi/.kodi/addons/plugin.program.akl/addon.py): script successfully run
2022-12-02 20:55:40.590 T:154821    INFO <general>: Python interpreter stopped
I see there is a permission denied message in there but I dont really get why that would come up since I am able to launch the game from command line.
Can you maybe go to the addon settings for the Retroarch plugin addon for AKL and change the log level to DEBUG. That should show a little bit more information about how we try to launch it.
I have a feeling that I messed something up before when I was changing the arguments for android. Could you maybe try the 1.0.5rc release for the retroarch plugin from my beta repository?
Reply
#82
Are you using nexus beta 1?
Reply
#83
(2022-12-05, 19:05)mousex110 Wrote: Are you using nexus beta 1?
Yes I do
Reply
#84
Hi Chrisism,

I'm brand new to Kodi, and I want to use it to launch my games—AKL seems like the best choice Smile I'm trying to add an item to the context menu on a ROM (using https://kodi.wiki/view/Context_Item_Add-ons), but I can't figure out exactly what the menu ID is for a ROM (or if there's a specific conditional visibility). (Specifically, I'm trying to add a counter so that if a game does not support multiple saves, my helper tool can create a separate save file.) I tried looking in the AKL and AEL code on Github, and it seems like it's being built dynamically. Do you have any advice on how to proceed? Thanks.
Reply
#85
(2022-12-06, 07:20)iqbd Wrote: Hi Chrisism,

I'm brand new to Kodi, and I want to use it to launch my games—AKL seems like the best choice Smile I'm trying to add an item to the context menu on a ROM (using https://kodi.wiki/view/Context_Item_Add-ons), but I can't figure out exactly what the menu ID is for a ROM (or if there's a specific conditional visibility). (Specifically, I'm trying to add a counter so that if a game does not support multiple saves, my helper tool can create a separate save file.) I tried looking in the AKL and AEL code on Github, and it seems like it's being built dynamically. Do you have any advice on how to proceed? Thanks.
To be honest, I don't have any experience with setting context menu item entrypoints through addons. All examples I have seen are connected to the kodi.core.main menus. Maybe try "plugin.program.akl", the addon id. And else I dont have a clue. I have plans to extend the View Rom more like extended view options with movies. Maybe that can be something.
Another option will be implementing your own file/rom scanner plugin for AKL and add the extra information to each ROM. Each scanner plugin can supply their own information about an entry, this will be stored in the AKL database. I will need to extend AKL to also supply this information through the list items to the UI. From there you can do what you want with it through the skin.
Reply
#86
Here's the log. Sequence was as follows:
  • Open Kodi
  • go to game library
  • remove existing launcher
  • create new launcher with retroart addon
  • enter retroarch path /usr/games/
  • enter config directory /home/kodi/.config/retroarch/retroarch.cfg
  • enter core directory /home/kodi/.config/retroarch/cores/puae_libretro.so
  • leave arguments field empty
  • enter game library and start game 
https://paste.ubuntu.com/p/CkbqkCQxmN/
AMD Ryzen 7 7800X3D | AsRock B650I | Geforce RTX 4070 
Ubuntu 24.04 LTS | Kernel 6.10 | Nvidia blob drivers | Kodi v22
Reply
#87
By the way, is it normal that NeoGeo MVS games dont get their name changed after they've been scraped with somethine like Screenscraper? They retain the name of the zip file here.
AMD Ryzen 7 7800X3D | AsRock B650I | Geforce RTX 4070 
Ubuntu 24.04 LTS | Kernel 6.10 | Nvidia blob drivers | Kodi v22
Reply
#88
Thanks for the info. I'll keep digging around. I'll let you know if I figure something out. I'll also monitor for the AKL changes, as a custom scraper + launcher for AKL is probably the right solution for me, since that's effectively what I'm doing.
Reply
#89
(2022-12-07, 12:28)Juppstein Wrote: Here's the log. Sequence was as follows:
  • Open Kodi
  • go to game library
  • remove existing launcher
  • create new launcher with retroart addon
  • enter retroarch path /usr/games/
  • enter config directory /home/kodi/.config/retroarch/retroarch.cfg
  • enter core directory /home/kodi/.config/retroarch/cores/puae_libretro.so
  • leave arguments field empty
  • enter game library and start game 
https://paste.ubuntu.com/p/CkbqkCQxmN/
I have updated the RC in the beta repository again. Could you try to set the retroarch path to the actual executable, not the directory. Alternative solution is to set the retroarch path to a shell script that does the actual execution. A nice solution with shell script on for example Librelec can be found in this post by @Wintermute0110, it is for AEL but since the basic approach is the same it might be something.
Notice that AKL will execute the script with the following arguments from your example: '-L "/home/kodi/.config/retroarch/cores/puae_libretro.so"', '-c "/home/kodi/.config/retroarch/retroarch.cfg"', '"/<path-to-rom>"'. First try setting the path to the executable (retroarch) though, see if that works.
I'll have to set up a linux solution for kodi / retroarch myself to test it. Currently only have android and windows test environments working, so I dont have a quick solution.
Reply
#90
(2022-12-07, 21:11)Juppstein Wrote: By the way, is it normal that NeoGeo MVS games dont get their name changed after they've been scraped with somethine like Screenscraper? They retain the name of the zip file here.
No it should actually apply the scraped title. Did you check the 'Ignore scraped titles' parameter when scraping? That might be a cause.
Do notice that currently AKL will only overwrite existing scraped metadata if the 'Overwrite existing files' parameter is on. I am going to make a separate flag for overwriting metadata, but for now this parameter applies to both assets as well as metadata.
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 24

Logout Mark Read Team Forum Stats Members Help
Advanced Kodi Launcher - Game and Emulators frontend for Kodi0