Kodi Community Forum

Full Version: Advanced Emulator Launcher - Multi-emulator frontend for Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2017-11-07, 02:00)crono141 Wrote: [ -> ]Ok, I was able to manually invoke the scraper.  However, scraping 800+ NES games in the manner is not a task I'd like to undertake, especially since I have to do it 3-5 times per rom to get all the artwork.  I know you were working on an automatic batch scraper.  How's the progress on that?

If you want to do batch scraping first you have to delete all ROMs from the Launcher and then rescan the Launcher with the correct scanner settings.

Keep in mind that scraping a launcher with 800 ROMs may take a long time (I estimate about 10 hours, maybe more). It is much better than you go to Emumovies or some other artwork site (links in the first post), download the artwork collections, and place in AEL directories. For your NES launcher, registering in Emumovies and downloading the artwork packs may take about 30 minutes. Compared with 10 hours I think it's clear what you have to do.

(2017-11-07, 02:00)crono141 Wrote: [ -> ]To you last point, where do I find the non-blocking launcher option?  I checked all the settings, and didn't see it anywhere.

Non-blocking launcher is a per-launcher setting. Go to the Launcher context menu, "Edit Launcher", "Advanced Modifications", "Non-blocking launcher" to turn it ON.
(2017-11-07, 10:50)Wintermute0110 Wrote: [ -> ]
(2017-11-07, 02:00)crono141 Wrote: [ -> ]Ok, I was able to manually invoke the scraper.  However, scraping 800+ NES games in the manner is not a task I'd like to undertake, especially since I have to do it 3-5 times per rom to get all the artwork.  I know you were working on an automatic batch scraper.  How's the progress on that?

If you want to do batch scraping first you have to delete all ROMs from the Launcher and then rescan the Launcher with the correct scanner settings.

Keep in mind that scraping a launcher with 800 ROMs may take a long time (I estimate about 10 hours, maybe more). It is much better than you go to Emumovies or some other artwork site (links in the first post), download the artwork collections, and place in AEL directories. For your NES launcher, registering in Emumovies and downloading the artwork packs may take about 30 minutes. Compared with 10 hours I think it's clear what you have to do.

(2017-11-07, 02:00)crono141 Wrote: [ -> ]To you last point, where do I find the non-blocking launcher option?  I checked all the settings, and didn't see it anywhere.

Non-blocking launcher is a per-launcher setting. Go to the Launcher context menu, "Edit Launcher", "Advanced Modifications", "Non-blocking launcher" to turn it ON.
 When downloading assets externally, do I not then need to assign each piece of artwork on an individual basis anyway?  And the file I scraped yesterday does not appear to be in the assigned assets folder.
(2017-11-08, 06:00)crono141 Wrote: [ -> ]...

When downloading assets externally, do I not then need to assign each piece of artwork on an individual basis anyway?  And the file I scraped yesterday does not appear to be in the assigned assets folder.

No. Place the assets in the correct folders which should be automatically created by AEL. Then, go to the Launcher context menu, "Manage ROMs", "Rescan ROMs local assets/artwork". You can repeat this as many times as you want if you make changes in the artwork directories.
I thought I give the rom scanner/scraper a go, and immediately failed.
Here's the log 
Quote:20:07:44.260 T:1809269680 ERROR: AEL DEBUG: ---------- Called AEL Main::run_plugin() constructor ----------
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: sys.platform "linux2"
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: Python version "2.7.9 (default, Sep 17 2016, 20:55:23) [GCC 4.9.2]"
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: __a_version__ "0.9.7~beta1"
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: sys.argv[0] "plugin://plugin.program.advanced.emulator.launcher/"
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: sys.argv[1] "-1"
20:07:44.260 T:1809269680 ERROR: AEL DEBUG: sys.argv[2] "?com=ADD_ROMS&catID=08352e8df28449252381bce9222de990&launID=c0df294e539153723199344f5aa6f941"
20:07:44.261 T:1809269680 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Application.GetProperties", "params" : {"properties" : ["name", "version"]} }
20:07:44.261 T:1809269680 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"name":"Kodi","version":{"major":17,"minor":4,"revision":"20170913-5cc491e-dirty","tag":"stable"}}}
20:07:44.261 T:1809269680 ERROR: AEL DEBUG: JSON {"id" : 1, "jsonrpc" : "2.0", "method" : "Settings.GetSettingValue", "params" : {"setting" : "lookandfeel.skin"} }
20:07:44.261 T:1809269680 ERROR: AEL DEBUG: Response {"id":1,"jsonrpc":"2.0","result":{"value":"skin.estuary"}}
20:07:44.261 T:1809269680 ERROR: AEL DEBUG: JSON RPC time 0.808 ms
20:07:44.262 T:1809269680 ERROR: AEL VERB : fs_load_catfile() Loading special://profile/addon_data/plugin.program.advanced.emulator.launcher/categories.xml
20:07:44.292 T:1809269680 ERROR: AEL DEBUG: command = "ADD_ROMS"
20:07:44.295 T:1809269680 ERROR: AEL DEBUG: SingleInstance::__enter__() Lock not in use. Setting lock
20:07:44.295 T:1809269680 ERROR: AEL DEBUG: Advanced Emulator Launcher run_protected() BEGIN
20:07:46.025 T:1809269680 ERROR: AEL VERB : _roms_add_new_rom() launcher name "NES"
20:07:50.627 T:1809269680 ERROR: AEL VERB : _roms_add_new_rom() romfile "/home/pi/public/ROMs/Nintendo NES/Roms/"
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Title path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Snap path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Boxfront path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Boxback path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Cartridge path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Fanart path configured
20:07:50.628 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Banner path configured
20:07:50.629 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Clearlogo path configured
20:07:50.629 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Flyer path configured
20:07:50.629 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Map path configured
20:07:50.629 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Manual path configured
20:07:50.629 T:1809269680 ERROR: AEL DEBUG: asset_get_enabled_asset_list() Trailer path configured
20:07:50.633 T:1809269680 ERROR: AEL DEBUG: _roms_add_new_rom() No duplicated asset dirs found
20:07:50.633 T:1809269680 ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
20:07:50.633 T:1809269680 ERROR: AEL DEBUG: SingleInstance::__exit__() Releasing lock
20:07:50.665 T:1809269680 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'assets_search_local_assets' is not defined
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py", line 39, in <module>
main.Main().run_plugin()
File "/home/pi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 270, in run_plugin
self.run_protected(command, args)
File "/home/pi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 363, in run_protected
self._command_add_roms(args['launID'][0])
File "/home/pi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 2264, in _command_add_roms
self._roms_add_new_rom(launcher)
File "/home/pi/.kodi/addons/plugin.program.advanced.emulator.launcher/resources/main.py", line 8171, in _roms_add_new_rom
local_asset_list = assets_search_local_assets(launcher, ROMFile, enabled_asset_list)
NameError: global name 'assets_search_local_assets' is not defined
-->End of Python script error report<--
It seems there's something awry. I just updated my settings to only scrape, not use local assets at all.
Hello,

I have a problem with this addon, i can't launch a windows game. When i launch it i have  a message who say that the application is not found.

I try with ip instead of dns name but it's the same problem

My config :

- Application host : Windows 10
- kodi 17.5
- Advanced emulator launcher  0.9.7-beta ( i try 0.9.6 but same problem)
- Launcher : - standalone launcher
                   - application argument : none
                   - platform : microsoft windows
Log :

20:22:32.782 T:3025948672   ERROR: Control 50 in window 10001 has been asked to focus, but it can't
20:23:30.666 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() categoryID root_category
20:23:30.667 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() launcherID 6e64406f5ca5682390643a88faba1126
20:23:30.667 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() application   "\\MY-PC\Folder\Application\Application.exe"
20:23:30.668 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() apppath       ""
20:23:30.668 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() app_basename  "\\MY-PC\Folder\Application\Application.exe"
20:23:30.669 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() app_ext       ".exe"
20:23:30.670 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() launcher name "Application"
20:23:30.670 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() raw arguments   ""
20:23:30.671 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() final arguments ""
20:23:30.672 T:2555003888   ERROR: AEL ERROR: Launching app not found "\\MY-PC\Folder\Application\Application.exe"
20:33:02.953 T:2816300016 WARNING: CSkinInfo: failed to load skin settings
20:33:03.437 T:2816300016   ERROR: EXCEPTION: Non-Existent Control 300
20:33:44.760 T:2441077744 WARNING: CPythonInvoker(20): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
20:44:09.377 T:2645554160  NOTICE: ES: Client  from ::ffff:192.168.1.11 timed out
20:52:16.565 T:3025948672   ERROR: GetDirectory - Error getting plugin://plugin.program.advanced.emulator.launcher/
20:52:16.565 T:3025948672   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.emulator.launcher/) failed
20:53:53.488 T:2816300016 WARNING: CSkinInfo: failed to load skin settings
20:53:53.829 T:2816300016   ERROR: EXCEPTION: Non-Existent Control 300
20:55:34.938 T:3025948672   ERROR: GetDirectory - Error getting plugin://plugin.program.advanced.emulator.launcher/
20:55:34.939 T:3025948672   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.emulator.launcher/) failed
20:55:50.292 T:2816300016 WfARNING: CSkinInfo: failed to load skin settings
20:55:50.646 T:2816300016   ERROR: EXCEPTION: Non-Existent Control 300
20:56:33.563 T:2555003888 WARNING: CPythonInvoker(29): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
20:58:37.066 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() categoryID root_category
20:58:37.067 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() launcherID 6e64406f5ca5682390643a88faba1126
20:58:37.067 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() application   "\\192.168.1.12\Folder\Application\Application.exe"
20:58:37.068 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() apppath       ""
20:58:37.068 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() app_basename  "\\192.168.1.12\Folder\Application\Application.exe"
20:58:37.075 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() app_ext       ".exe"
20:58:37.077 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() launcher name "Application"
20:58:37.077 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() raw arguments   ""
20:58:37.079 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() final arguments ""
20:58:37.082 T:2457854960   ERROR: AEL ERROR: Launching app not found "\\192.168.1.12\Folder\Application\Application.exe"
20:59:08.707 T:2816300016 WARNING: CSkinInfo: failed to load skin settings
20:59:09.011 T:2816300016   ERROR: EXCEPTION: Non-Existent Control 300
20:59:32.012 T:2441077744 WARNING: CPythonInvoker(34): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.

Anyone have a clue to help me?
(2017-11-09, 12:48)Shaedo Wrote: [ -> ]Hello,

I have a problem with this addon, i can't launch a windows game. When i launch it i have  a message who say that the application is not found.

I try with ip instead of dns name but it's the same problem

My config :

- Application host : Windows 10
- kodi 17.5
- Advanced emulator launcher  0.9.7-beta ( i try 0.9.6 but same problem)
- Launcher : - standalone launcher
                   - application argument : none
                   - platform : microsoft windows
Log :

20:23:30.667 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() application   "\\MY-PC\Folder\Application\Application.exe"
20:23:30.668 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() apppath       ""
20:23:30.668 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() app_basename  "\\MY-PC\Folder\Application\Application.exe"
20:23:30.669 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() app_ext       ".exe"
20:23:30.670 T:2555003888   ERROR: AEL INFO : _run_standalone_launcher() launcher name "Application"
20:23:30.672 T:2555003888   ERROR: AEL ERROR: Launching app not found "\\MY-PC\Folder\Application\Application.exe"

...

20:58:37.067 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() application   "\\192.168.1.12\Folder\Application\Application.exe"
20:58:37.068 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() apppath       ""
20:58:37.068 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() app_basename  "\\192.168.1.12\Folder\Application\Application.exe"
20:58:37.075 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() app_ext       ".exe"
20:58:37.077 T:2457854960   ERROR: AEL INFO : _run_standalone_launcher() launcher name "Application"
20:58:37.082 T:2457854960   ERROR: AEL ERROR: Launching app not found "\\192.168.1.12\Folder\Application\Application.exe"

Anyone have a clue to help me?

I think the problem is that the application resides on a network share. Also, you configuration seems an example for a book: is it a real application you want to launch or some test you have made up?

Solution: Try to launch a locally available application. Also, for Windows games it is recommended that you use a LNK lancher, see the first post for a link that explains how to create it.
Thanks for your answer!

I change the name of the folder and the application for the forum, and yes it's a network share.

I can't use in local, i want kodi to launch the game with my pc ressources and only want the video flux on kodi.

May be i don't understand the use of the plugin? i Want to stream the game video flux from my pc to kodi, not running the game directly in local with kodi. ( I guess my raspberry isn't as powerfull as my pc for launching game )

I try a .lnk but same probleme the application is not found
(2017-11-09, 14:28)Shaedo Wrote: [ -> ]Thanks for your answer!

I change the name of the folder and the application for the forum, and yes it's a network share.

I can't use in local, i want kodi to launch the game with my pc ressources and only want the video flux on kodi.

May be i don't understand the use of the plugin? i Want to stream the game video flux from my pc to kodi, not running the game directly in local with kodi. ( I guess my raspberry isn't as powerfull as my pc for launching game )

I try a .lnk but same probleme the application is not found

LNK launchers are only available for Windows, not for Linux (Raspi uses Linux).

OK, now I understand what you want to do. Have a look at this article for more information. You need a client that allows you to execute the game in your PC and strem the video to your TV. Also, redirects the keyboard/josytick input from the Raspi to the PC to conrol the game. You can use AEL to launch such streaming client in your Raspi from Kodi.

AEL is a general launcher and emulator front-end plugin. Basically, AEL is able to launch any software you have in your Raspberry Pi from Kodi. In particular, AEL has many features for the case that the launched program is an emulator (for example, Retroarch or MAME) and then you have a collection of ROMs you want to launch. The ROMs will be presented as a collection and when you want to play one AEL will call the emulator with the ROM you want to play as a parameter.
OK thanks a lot for the informations !

Effectively that what i want to do and i was thinking that's AEL will be able to do that but i will try the emulator function with roms for other games.

I will alsow test the solutions in your link and post a feedback if somethings work !
Hello,
maybe I just wasn't able to find it: is there a repository which helps me to install your plugins and keep them up-to-date (automatically)?
Wintermute,

Any thoughts or insights to my bug report above?
Does AEL wiork with Retroplayer (Kodi18)?
I'd need AEL only for scraping and displaying Boxart Wink
Thx
(2017-11-11, 11:18)myscha Wrote: [ -> ]Hello,
maybe I just wasn't able to find it: is there a repository which helps me to install your plugins and keep them up-to-date (automatically)?

Currently there is no AEL repository and that is on purpose. AEL is still in beta and that means there could be disruptions between versions. So far I have managed to solve updates with the "Check/update all databases" command in the settings but that is not guaranteed until 1.0.0 is released. By releasing the new version ZIP file, users willingly update AEL and read the release notes.

Once AEL reaches 1.0.0 I will include it in Kodi official repo.
(2017-11-14, 15:29)crono141 Wrote: [ -> ]Wintermute,

Any thoughts or insights to my bug report above?

Sorry crono141, I'm currently very busy with real life. Maybe this Sunday I will have a several hour free-time window an publish beta2.
(2017-11-14, 16:29)Solo0815 Wrote: [ -> ]Does AEL wiork with Retroplayer (Kodi18)?
I'd need AEL only for scraping and displaying Boxart Wink
Thx

AEL should work out-of-the-box and without issues with Retroplayer/Leia. Just make sure you create a Retroplayer launcher. Any issue you have please post a AEL DEBUG log (and not Kodi debug log). Also, note that at the moment Retroplayer requires uncompressed ROMs and also TTBOMK you cannot use cores that require BIOSes.