It seems that I could solve my problem by granting write access to the following folders for the whole user group:
- /storage/.kodi/addons/plugin.program.advanced.emulator.launcher
- /storage/.kodi/addons/game.retroarch
- /storage/.kodi/temp
It seems that I could solve my problem by granting write access to the following folders for the whole user group:
It's all here and here and here..
Start by downloading this...these are the AEL assets that you need to setup the launchers..you can download them also from retroarch addon settings..then go to
AEL settings → I/O → Import category/launcher configuration...
and select the systems you want to import from default path where you saved the assets..You can install all or the ones you are going to use only...then you set AEL to download artwork or use your own and from each launcher menu point to the folder where you have the roms...example from the nes launcher browse to the nes roms folder and scan for roms..
HI Mario77 ,
this helped me a lot and I was able to get some roms imported. But I have still problems starting roms or importing some other roms.
In the kodi log I can find something like this:
18:21:19.631 T:1810867056 ERROR: AEL DEBUG: Advanced Emulator Launcher run_protected() END
18:21:19.631 T:1810867056 ERROR: AEL DEBUG: SingleInstance::__exit__() Releasing lock
18:21:19.633 T:1810867056 ERROR: AEL DEBUG: Advanced Emulator Launcher run_plugin() exit
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: ---------- Called AEL Main::run_plugin() constructor ----------
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: sys.platform "linux2"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: Python version "2.7.14 (default, May 21 2018, 08:31:21) [GCC 7.3.0]"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: __a_version__ "0.9.7"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: sys.argv[0] "plugin://plugin.program.advanced.emulator.launcher/"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: sys.argv[1] "9"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: sys.argv[2] "?catID=e32c53228577f90455e79b71ada24440&com=SHOW_ROMS&launID=04cbd53979f3406c48e6d298e42107d1"
18:21:27.526 T:1619587952 ERROR: AEL DEBUG: sys.argv[3] "resume:false"
18:21:27.527 T:1619587952 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Application.GetProperties", "params" : {"properties" : ["name", "version"]} }
18:21:27.527 T:1619587952 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":18,"minor":0,"revision":"19eb19e","tag":"alpha","tagversion":"2"}}}
18:21:27.527 T:1619587952 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Settings.GetSettingValue", "params" : {"setting" : "lookandfeel.skin"} }
18:21:27.527 T:1619587952 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"value":"skin.estuary"}}
18:21:27.527 T:1619587952 ERROR: AEL DEBUG: JSON RPC time 0.709 ms
18:21:27.528 T:1619587952 ERROR: AEL VERB : fs_load_catfile() Loading special://profile/addon_data/plugin.program.advanced.emulator.launcher/categories.xml
18:21:27.628 T:1619587952 ERROR: AEL DEBUG: command = "SHOW_ROMS"
18:21:27.628 T:1619587952 ERROR: AEL DEBUG: Advanced Emulator Launcher run_concurrent() BEGIN
18:21:27.629 T:1619587952 ERROR: AEL DEBUG: _misc_set_AEL_Content() Setting Window(10000) property "AEL_Content" = "roms"
18:21:27.629 T:1619587952 ERROR: AEL VERB : fs_load_ROMs_JSON() Dir special://profile/addon_data/plugin.program.advanced.emulator.launcher/db_ROMs
18:21:27.629 T:1619587952 ERROR: AEL VERB : fs_load_ROMs_JSON() JSON roms_GAMESTARTER_Game_Boy_/_Game_Boy_Color_04cbd5.json
18:21:27.630 T:1619587952 ERROR: AEL VERB : fs_load_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/favourites.json
18:21:27.832 T:1619587952 ERROR: AEL DEBUG: Loading seconds 0.00136804580688
18:21:27.832 T:1619587952 ERROR: AEL DEBUG: Rendering seconds 0.201416969299
18:21:27.832 T:1619587952 ERROR: AEL DEBUG: Advanced Emulator Launcher run_concurrent() END
18:21:27.832 T:1619587952 ERROR: AEL DEBUG: Advanced Emulator Launcher run_plugin() exit
18:21:28.919 T:1619587952 ERROR: AEL DEBUG: ---------- Called AEL Main::run_plugin() constructor ----------
18:21:28.919 T:1619587952 ERROR: AEL DEBUG: sys.platform "linux2"
18:21:28.919 T:1619587952 ERROR: AEL DEBUG: Python version "2.7.14 (default, May 21 2018, 08:31:21) [GCC 7.3.0]"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: __a_version__ "0.9.7"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: sys.argv[0] "plugin://plugin.program.advanced.emulator.launcher/"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: sys.argv[1] "-1"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: sys.argv[2] "?com=LAUNCH_ROM&catID=e32c53228577f90455e79b71ada24440&launID=04cbd53979f3406c48e6d298e42107d1&romID=311d16ca029b279740a7f0604fc6ff5e"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: sys.argv[3] "resume:false"
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Application.GetProperties", "params" : {"properties" : ["name", "version"]} }
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":18,"minor":0,"revision":"19eb19e","tag":"alpha","tagversion":"2"}}}
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Settings.GetSettingValue", "params" : {"setting" : "lookandfeel.skin"} }
18:21:28.920 T:1619587952 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"value":"skin.estuary"}}
18:21:28.921 T:1619587952 ERROR: AEL DEBUG: JSON RPC time 0.615 ms
18:21:28.921 T:1619587952 ERROR: AEL VERB : fs_load_catfile() Loading special://profile/addon_data/plugin.program.advanced.emulator.launcher/categories.xml
18:21:29.022 T:1619587952 ERROR: AEL DEBUG: command = "LAUNCH_ROM"
18:21:29.022 T:1619587952 ERROR: AEL DEBUG: SingleInstance::__enter__() Lock not in use. Setting lock
18:21:29.022 T:1619587952 ERROR: AEL DEBUG: Advanced Emulator Launcher run_protected() BEGIN
18:21:29.023 T:1619587952 ERROR: AEL INFO : _command_run_rom() Launching ROM in Launcher ...
18:21:29.023 T:1619587952 ERROR: AEL VERB : fs_load_ROMs_JSON() Dir special://profile/addon_data/plugin.program.advanced.emulator.launcher/db_ROMs
18:21:29.023 T:1619587952 ERROR: AEL VERB : fs_load_ROMs_JSON() JSON roms_GAMESTARTER_Game_Boy_/_Game_Boy_Color_04cbd5.json
18:21:29.024 T:1619587952 ERROR: AEL INFO : _command_run_rom() Using Launcher standard arguments
18:21:29.024 T:1619587952 ERROR: AEL INFO : _command_run_rom() Sigle ROM detected (no multidisc)
18:21:29.024 T:1619587952 ERROR: AEL INFO : _command_run_rom() ROMFileName OP "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB"
18:21:29.024 T:1619587952 ERROR: AEL INFO : _command_run_rom() ROMFileName P "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB"
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() categoryID e32c53228577f90455e79b71ada24440
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() launcherID 04cbd53979f3406c48e6d298e42107d1
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() romID 311d16ca029b279740a7f0604fc6ff5e
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() romfile "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB"
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() rompath "/storage/emulators/roms/gb"
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() rombase "0gb_adventures of lolo GB.GB"
18:21:29.036 T:1619587952 ERROR: AEL INFO : _command_run_rom() rombasenoext "0gb_adventures of lolo GB"
18:21:29.037 T:1619587952 ERROR: AEL INFO : _command_run_rom() romtitle "0gb_adventures of lolo GB"
18:21:29.037 T:1619587952 ERROR: AEL INFO : _command_run_rom() application "/storage/.kodi/addons/game.retroarch/addon.sh"
18:21:29.037 T:1619587952 ERROR: AEL INFO : _command_run_rom() apppath "/storage/.kodi/addons/game.retroarch"
18:21:29.037 T:1619587952 ERROR: AEL INFO : _command_run_rom() romext "gb|zip|gbc"
18:21:29.037 T:1619587952 ERROR: AEL INFO : Launching app found "/storage/.kodi/addons/game.retroarch/addon.sh"
18:21:29.037 T:1619587952 ERROR: AEL INFO : ROM found "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB"
18:21:29.038 T:1619587952 ERROR: AEL INFO : _command_run_rom() raw arguments "gambatte "%rom%" $categoryID$ $launcherID$ $romID$"
18:21:29.038 T:1619587952 ERROR: AEL INFO : _command_run_rom() final arguments "gambatte "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB" e32c53228577f90455e79b71ada24440 04cbd53979f3406c48e6d298e42107d1 311d16ca029b279740a7f0604fc6ff5e"
18:21:29.038 T:1619587952 ERROR: AEL VERB : fs_load_Collection_ROMs_JSON() special://profile/addon_data/plugin.program.advanced.emulator.launcher/history.json
18:21:29.039 T:1619587952 ERROR: AEL VERB : fs_write_Collection_ROMs_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/history.json
18:21:29.044 T:1619587952 ERROR: AEL VERB : fs_load_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/most_played.json
18:21:29.045 T:1619587952 ERROR: AEL INFO : fs_write_Favourites_JSON() File special://profile/addon_data/plugin.program.advanced.emulator.launcher/most_played.json
18:21:29.051 T:1619587952 ERROR: AEL INFO : _command_run_rom() Launcher is not Kodi Retroplayer.
18:21:29.051 T:1619587952 ERROR: AEL VERB : _run_before_execution() media_state_action is "Stop" (0)
18:21:29.051 T:1619587952 ERROR: AEL VERB : _run_before_execution() DO NOT suspend Kodi audio engine
18:21:29.051 T:1619587952 ERROR: AEL VERB : _run_before_execution() Toggling Kodi fullscreen DEACTIVATED in Launcher
18:21:29.051 T:1619587952 ERROR: AEL VERB : _run_before_execution() Pausing 500 ms
18:21:29.552 T:1619587952 ERROR: AEL DEBUG: _run_before_execution() function ENDS
18:21:29.573 T:1619587952 ERROR: AEL DEBUG: _run_process() arguments = "gambatte "/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB" e32c53228577f90455e79b71ada24440 04cbd53979f3406c48e6d298e42107d1 311d16ca029b279740a7f0604fc6ff5e"
18:21:29.573 T:1619587952 ERROR: AEL DEBUG: _run_process() arg_list = ['gambatte', '/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB', 'e32c53228577f90455e79b71ada24440', '04cbd53979f3406c48e6d298e42107d1', '311d16ca029b279740a7f0604fc6ff5e']
18:21:29.574 T:1619587952 ERROR: AEL DEBUG: _run_process() exec_list = [u'/storage/.kodi/addons/game.retroarch/addon.sh', 'gambatte', '/storage/emulators/roms/gb/0gb_adventures of lolo GB.GB', 'e32c53228577f90455e79b71ada24440', '04cbd53979f3406c48e6d298e42107d1', '311d16ca029b279740a7f0604fc6ff5e']
18:21:29.574 T:1619587952 ERROR: AEL INFO : _run_process() (Linux) Launching blocking process subprocess.call()
18:21:29.636 T:1619587952 ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
18:21:29.636 T:1619587952 ERROR: AEL DEBUG: SingleInstance::__exit__() Releasing lock
18:21:29.650 T:1619587952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 13] Permission denied
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py", line 39, in <module>
main.Main().run_plugin()
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 270, in run_plugin
self.run_protected(command, args)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 369, in run_protected
self._command_run_rom(args['catID'][0], args['launID'][0], args['romID'][0])
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 7363, in _command_run_rom
self._run_process(application.getPath(), arguments, apppath, romext, non_blocking_flag)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 7501, in _run_process
retcode = subprocess.call(exec_list, stdout = f, stderr = subprocess.STDOUT, close_fds = True)
File "/usr/lib/python2.7/subprocess.py", line 168, in call
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
OSError: [Errno 13] Permission denied
-->End of Python script error report<--
Display More
I don't know why I get something like "Permissions denied".
The other thing is, for some emulators / categories I get errors like this:
18:05:01.378 T:1794081648 ERROR: AEL INFO : Launcher name "Game Boy / Game Boy Color"
18:05:01.378 T:1794081648 ERROR: AEL INFO : launcher ID "04cbd53979f3406c48e6d298e42107d1"
18:05:01.378 T:1794081648 ERROR: AEL INFO : ROM path "/storage/emulators/roms/gb/"
18:05:01.378 T:1794081648 ERROR: AEL INFO : ROM ext "gb|zip|gbc"
18:05:01.378 T:1794081648 ERROR: AEL INFO : Platform "Nintendo Game Boy / Game Boy Color"
18:05:01.379 T:1794081648 ERROR: AEL INFO : Report file OP "special://profile/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_GAMESTARTER_Game_Boy_/_Game_Boy_Color_04cbd5_report.txt"
18:05:01.379 T:1794081648 ERROR: AEL INFO : Report file P "/storage/.kodi/userdata/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_GAMESTARTER_Game_Boy_/_Game_Boy_Color_04cbd5_report.txt"
18:05:01.381 T:1794081648 ERROR: AEL INFO : Launcher ROM database contain 0 items
18:05:01.383 T:1794081648 ERROR: AEL INFO : Checking for unset artwork directories ...
18:05:01.385 T:1794081648 ERROR: AEL INFO : Checking for duplicated artwork directories ...
18:05:01.392 T:1794081648 ERROR: AEL INFO : No duplicated asset dirs found
18:05:01.392 T:1794081648 ERROR: AEL INFO : Scanning and caching files in asset directories ...
18:05:03.967 T:1794081648 ERROR: AEL INFO : Removing dead ROMs ...
18:05:03.967 T:1794081648 ERROR: AEL INFO : Launcher is empty. No dead ROM check.
18:05:03.969 T:1794081648 ERROR: AEL INFO : Scanning files in /storage/emulators/roms/gb/
18:05:03.969 T:1794081648 ERROR: AEL INFO : Recursive scan activated
18:05:03.983 T:1794081648 ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
18:05:04.027 T:1794081648 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py", line 39, in <module>
main.Main().run_plugin()
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 270, in run_plugin
self.run_protected(command, args)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 363, in run_protected
self._command_add_roms(args['launID'][0])
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 2371, in _command_add_roms
self._roms_import_roms(launcher)
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 8652, in _roms_import_roms
files = launcher_path.recursiveScanFilesInPath('*.*')
File "/storage/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/utils.py", line 563, in recursiveScanFilesInPath
for root, dirs, foundfiles in os.walk(self.path):
File "/usr/lib/python2.7/os.py", line 286, in walk
File "/usr/lib/python2.7/posixpath.py", line 71, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
-->End of Python script error report<--
18:09:55.394 T:1794081648 ERROR: AEL INFO : _roms_add_new_rom() Added a new ROM
Display More
Does anybody know what is causing my problem?
thx a lot
I just released a new RA 8.170.9 version including those missing libs, I tried it out and it worked in a fresh new LE9 alpha build installation.
You can update from kodi's Gamestarter repo or download zip from here: game.retroarch-8.170.9.zip
Also, I tried to get new RA 1.7.3 binary from escalade's/5schatten's releases but I can not make it work in official LE build... Since nowadays I just use my RPi for hyperion/ambilight control (and twice a month to watch some downloaded movies) by the moment 1.7.0 will be the last RA version in gamestarter addon, unless someone offers itself to compile RA using official LE toolchain... sorry...
hi bite_your_idols,
Brilliant! Now I can start RetroArch. It's really cool. Thank you very much!!!
Now I have another problem. This time it's Advanced Emulator Launcher. I don't understand how I have to configure this. I read the read me in github but don't know what I have to do exactly. I could configure RetroArch, but don't know which configuration file I have to import in ALE? Can someone explain me what I have to do here?
Thx
All files are in newer version installed .... how can i get the old ones
Hi wintuxx
Could you solve your problem and maybe share the needed libs?
I want to use also the newest milhouse build and currently I'm getting the same error like yours.
Thx