Kodi Community Forum
Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi (/showthread.php?tid=287826)



RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Solo0815 - 2017-11-15

(2017-11-15, 08:26)Wintermute0110 Wrote:
(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.  
AEL doesn't find any ROMs. If I try to add ROMs manually I get an error message:
Code:
18:34:40.150 T:1249280912   ERROR: AEL INFO : _roms_import_roms() Starting ROM scanner ...
18:34:40.150 T:1249280912   ERROR: AEL INFO : Launcher name "999"
18:34:40.150 T:1249280912   ERROR: AEL INFO : launcher ID   "bf5616ff200913709329cbfb1ee455ab"
18:34:40.150 T:1249280912   ERROR: AEL INFO : ROM path      "\\LIBREWETEK\INTENSO\roms\SNES\"
18:34:40.150 T:1249280912   ERROR: AEL INFO : ROM ext       "smc|sfc"
18:34:40.150 T:1249280912   ERROR: AEL INFO : Platform      "Nintendo SNES"
18:34:40.151 T:1249280912   ERROR: AEL INFO : Report file OP "special://profile/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_root_category_999_bf5616_report.txt"
18:34:40.151 T:1249280912   ERROR: AEL INFO : Report file  P "/storage/.kodi/userdata/addon_data/plugin.program.advanced.emulator.launcher/reports/roms_root_category_999_bf5616_report.txt"
18:34:40.152 T:1249280912   ERROR: AEL INFO : Launcher ROM database contain 0 items
18:34:40.153 T:1249280912   ERROR: AEL INFO : Checking for unset artwork directories ...
18:34:40.153 T:1249280912   ERROR: AEL INFO : Checking for duplicated artwork directories ...
18:34:40.157 T:1249280912   ERROR: AEL INFO : No duplicated asset dirs found
18:34:40.157 T:1249280912   ERROR: AEL INFO : Scanning and caching files in asset directories ...
18:34:40.170 T:1249280912   ERROR: AEL INFO : Removing dead ROMs ...
18:34:40.170 T:1249280912   ERROR: AEL INFO : Launcher is empty. No dead ROM check.
18:34:40.170 T:1249280912   ERROR: AEL INFO : Scanning files in \\LIBREWETEK\INTENSO\roms\SNES\
18:34:40.170 T:1249280912   ERROR: AEL INFO : Recursive scan activated
18:34:40.170 T:1249280912   ERROR: AEL INFO : File scanner found 0 files
18:34:40.190 T:1249280912   ERROR: AEL INFO : ********** ROM scanner finished. Report **********
18:34:40.190 T:1249280912   ERROR: AEL INFO : Removed dead ROMs      0
18:34:40.190 T:1249280912   ERROR: AEL INFO : Files checked          0
18:34:40.190 T:1249280912   ERROR: AEL INFO : New added ROMs         0
18:34:54.179 T:1249280912   ERROR: AEL ERROR: SingleInstance::__exit__() Unhandled excepcion in protected code
18:34:54.197 T:1249280912   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 "/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 2264, in _command_add_roms
                                                self._roms_add_new_rom(launcher)
                                              File "/storage/.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<--
All is setup for Retroplayer


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-16

(2017-11-15, 19:40)Solo0815 Wrote:
Code:

...
18:34:40.150 T:1249280912   ERROR: AEL INFO : ROM path      "\\LIBREWETEK\INTENSO\roms\SNES\"
18:34:40.150 T:1249280912   ERROR: AEL INFO : ROM ext       "smc|sfc"
18:34:40.150 T:1249280912   ERROR: AEL INFO : Platform      "Nintendo SNES"
...
18:34:40.170 T:1249280912   ERROR: AEL INFO : Scanning files in \\LIBREWETEK\INTENSO\roms\SNES\
18:34:40.170 T:1249280912   ERROR: AEL INFO : Recursive scan activated
18:34:40.170 T:1249280912   ERROR: AEL INFO : File scanner found 0 files
...

You have you ROMs in a Samba remote. This should be OK but I have not yet tested it on Linux (only on Windows in a computer at work). For some reason the scanner does not found any files at all in the path \\LIBREWETEK\INTENSO\roms\SNES\.

In the mean time I check this you may try to place your ROMs in a local path, for example, /storage/AEL-ROMs/snes/
(2017-11-15, 19:40)Solo0815 Wrote:
Code:

...
                                              File "/storage/.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<--
 
This is a know problem. I will fix it ASAP. In the mean time you can use 0.9.6 (but keep in mind 0.9.6 does not support ROMs in Samba remotes at all).


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - yevaman44 - 2017-11-16

Hi Wintermute0110 !

I only use Kodi for your amazin Plugin.
I was wondering if there is a way to "boot" directly to AEL ?


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - zachmorris - 2017-11-16

(2017-11-16, 17:54)yevaman44 Wrote: Hi Wintermute0110 !

I only use Kodi for your amazin Plugin.
I was wondering if there is a way to "boot" directly to AEL ?

I'd try this:  http://kodi.wiki/view/autoexec.py

With the contents of autoexec.py:
python:
import xbmc
xbmc.executebuiltin('RunAddon(plugin.program.advanced.emulator.launcher)')



RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - yevaman44 - 2017-11-16

(2017-11-16, 18:35)zachmorris Wrote:
(2017-11-16, 17:54)yevaman44 Wrote: Hi Wintermute0110 !

I only use Kodi for your amazin Plugin.
I was wondering if there is a way to "boot" directly to AEL ?

I'd try this:  http://kodi.wiki/view/autoexec.py

With the contents of autoexec.py:
python:
import xbmc
xbmc.executebuiltin('RunAddon(plugin.program.advanced.emulator.launcher)')

Hi !!

Thx for the help !
But it doesn't work.. Sad 



RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-17

(2017-11-16, 21:16)yevaman44 Wrote:
(2017-11-16, 18:35)zachmorris Wrote: I'd try this:  http://kodi.wiki/view/autoexec.py

With the contents of autoexec.py:
python:
import xbmc
xbmc.executebuiltin('RunAddon(plugin.program.advanced.emulator.launcher)')
Hi !!

Thx for the help !
But it doesn't work.. Sad    

I just tested it and it works. Make sure autoexec.py is in the correct directory. Here is a fancier version that will display a notification:

python:
import xbmc, xbmcgui
xbmcgui.Dialog().notification('autoexec.py', 'Launching AEL')
xbmc.executebuiltin('RunAddon(plugin.program.advanced.emulator.launcher)')



RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Drt1989 - 2017-11-17

Argh sorry got my args wrong.


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Drt1989 - 2017-11-17

Hi - Is it possible to advise on the argument required to run PS1 games using the ePSXe Emulator on windows?

Use Arguments:

-loadbin "$roms$" -nogui

Also if it helps to make .LNK for Steam games;

Go to your steam.exe, right click, send to Desktop (Create Shortcut)

Now go into Steam Store, locate the game you need to link to For example - http://store.steampowered.com/app/552990/World_of_Warships/ and make a note of the app ID - which in this case is 552990

Now right click on your new Steam shortcut on the desktop. Add - applaunch number after the end " so it looks like: 

"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 552990 (the number being whatever the number is for your game)

Click Apply.

This will correctly launch the games .exe via steam. 

This is the corerct way to get the .lnk to work

By default steam creates its own shortcuts to games as .url



 


Another note -

How to I get AEL to scrape for artwork. I can do it manually, but can't figure out how to do it Automatically - to scrape online?
EDIT - I had to correctly setup AEL, then removed the launcher, re-added and it re-scrapped the games.



I should note that I've turned this on via the Addon on settings but it doesn't scrape.


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-19

(2017-11-17, 20:14)Drt1989 Wrote: Hi - Is it possible to advise on the argument required to run PS1 games using the ePSXe Emulator on windows?

Use Arguments:

-loadbin "$roms$" -nogui

Why you don't use Retroarch? Mednafen PSX core works great. Here you have a XML configuration file you can load in AEL settings, "I/O tab", "Import category/launcher configuration". Change <application>, <args>, <ROM_path>, and <ROM_asset_path> paths to suit your needs. If you make a mistake you can edit the XML and reimport.

xml:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<advanced_emulator_launcher_configuration>
<launcher>
<name>PlayStation (Retroarch)</name>
<platform>Sony PlayStation</platform>
<application>E:/Retroarch/retroarch.exe</application>
<args>-L E:/Retroarch/cores/mednafen_psx_libretro.so -f -v &quot;$rom$&quot;</args>
<ROM_path>E:/AEL-ROMs/sony-psx/</ROM_path>
<ROM_ext>cue|iso|m3u</ROM_ext>
<ROM_asset_path>E:/AEL-assets/sony-psx</ROM_asset_path>
</launcher>
</advanced_emulator_launcher_configuration>
(2017-11-17, 20:14)Drt1989 Wrote: Also if it helps to make .LNK for Steam games;

Go to your steam.exe, right click, send to Desktop (Create Shortcut)

Now go into Steam Store, locate the game you need to link to For example - http://store.steampowered.com/app/552990/World_of_Warships/ and make a note of the app ID - which in this case is 552990

Now right click on your new Steam shortcut on the desktop. Add - applaunch number after the end " so it looks like: 

"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 552990 (the number being whatever the number is for your game)

Click Apply.

This will correctly launch the games .exe via steam. 

This is the corerct way to get the .lnk to work

By default steam creates its own shortcuts to games as .url

Thanks. Maybe somebody will find this info useful.
(2017-11-17, 20:14)Drt1989 Wrote: Another note -

How to I get AEL to scrape for artwork. I can do it manually, but can't figure out how to do it Automatically - to scrape online?
EDIT - I had to correctly setup AEL, then removed the launcher, re-added and it re-scrapped the games.

I should note that I've turned this on via the Addon on settings but it doesn't scrape.

Read AEL Metadata and Asset scrapers demistified. After reading, if you have questions feel free to ask.


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Drt1989 - 2017-11-19

(2017-11-19, 09:58)Wintermute0110 Wrote:
(2017-11-17, 20:14)Drt1989 Wrote: Hi - Is it possible to advise on the argument required to run PS1 games using the ePSXe Emulator on windows?

Use Arguments:

-loadbin "$roms$" -nogui

Why you don't use Retroarch? Mednafen PSX core works great. Here you have a XML configuration file you can load in AEL settings, "I/O tab", "Import category/launcher configuration". Change <application>, <args>, <ROM_path>, and <ROM_asset_path> paths to suit your needs. If you make a mistake you can edit the XML and reimport.

xml:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<advanced_emulator_launcher_configuration>
<launcher>
<name>PlayStation (Retroarch)</name>
<platform>Sony PlayStation</platform>
<application>E:/Retroarch/retroarch.exe</application>
<args>-L E:/Retroarch/cores/mednafen_psx_libretro.so -f -v &quot;$rom$&quot;</args>
<ROM_path>E:/AEL-ROMs/sony-psx/</ROM_path>
<ROM_ext>cue|iso|m3u</ROM_ext>
<ROM_asset_path>E:/AEL-assets/sony-psx</ROM_asset_path>
</launcher>
</advanced_emulator_launcher_configuration>
(2017-11-17, 20:14)Drt1989 Wrote: Also if it helps to make .LNK for Steam games;

Go to your steam.exe, right click, send to Desktop (Create Shortcut)

Now go into Steam Store, locate the game you need to link to For example - http://store.steampowered.com/app/552990/World_of_Warships/ and make a note of the app ID - which in this case is 552990

Now right click on your new Steam shortcut on the desktop. Add - applaunch number after the end " so it looks like: 

"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 552990 (the number being whatever the number is for your game)

Click Apply.

This will correctly launch the games .exe via steam. 

This is the corerct way to get the .lnk to work

By default steam creates its own shortcuts to games as .url

Thanks. Maybe somebody will find this info useful.
(2017-11-17, 20:14)Drt1989 Wrote: Another note -

How to I get AEL to scrape for artwork. I can do it manually, but can't figure out how to do it Automatically - to scrape online?
EDIT - I had to correctly setup AEL, then removed the launcher, re-added and it re-scrapped the games.

I should note that I've turned this on via the Addon on settings but it doesn't scrape.

Read AEL Metadata and Asset scrapers demistified. After reading, if you have questions feel free to ask. 
Thanks,

I've normally used EMU's on Android, and haven't come across RetroArch until finding your Plugin.

I think I shall use it, I was just so use to ePSXe as it works very well.  But I'll definitely check out retro arch.


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-19

(2017-10-21, 21:50)illinx Wrote: Thanks, everything seems in order now!

Also, I may have noticed a bug (on linux at least). I use the minimize/make kodi a window option in order to prevent kodi from capturing input from my gamepad. With 0.9.7-beta1, when I launch a rom from Collection->Launcher (the regular way), this works great. However, when I launch a rom from the favorites menu, it seems to skip this step and doesn't put kodi into windowed mode. 

I have been checking AEL's Python code and set Kodi into windowed mode must work from Favourites. Can yo go to the Favourite ROM, open the context menu, "View Favourite ROM", "View ROM data". In the text view dialog that opens, check the value of "minimize". Is it "True" or "False"? Kodi will be set into a window is minimize = True. If it is false, then you have to go to the context menu of the parent ROM, change it, and then go to the Favourite ROM context menu, "Edit ROM in Favourites", "Manage Favourite ROM object", "Copy Launcher info from parent ROM". This will update the minimize property in the Favourite ROM.

If this fails, I will need an AEL DEBUG log (instructions in the first post of this thread).


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-19

(2017-11-19, 12:13)Drt1989 Wrote: Thanks,

I've normally used EMU's on Android, and haven't come across RetroArch until finding your Plugin.

I think I shall use it, I was just so use to ePSXe as it works very well.  But I'll definitely check out retro arch. 

OK. Check out the Android XML configurations in the AEL Asset Library then. If you create more working configurations please share them. I will include them in the AEL Asset Library so other folks may benefit.


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-19

New AEL release 0.9.7-beta2

Release notes

0.9.7-beta2 is just a bug fix release. I believe I solved all the bugs reported in this thread and also merged a couple of patches by H3llrais3r. See the changelog for more details.

If you are upgrading to 0.9.7-beta2 from AEL 0.9.6 or earlier make sure you read the 0.9.7-beta1 release notes. If you are upgrading from 0.9.7-beta1 just install the new ZIP file and you are good to go.

Advanced Emulator Launcher | version 0.9.7-beta2 | 19 November 2017
Code:
FIX Currently AEL multid-disc parser supports "Rom name (disc 1).bin".
Fixed to also support "Rom name (disk 1).bin".
See https://forum.kodi.tv/showthread.php?tid=287826&pid=2656844#pid2656844
and https://forum.kodi.tv/showthread.php?tid=287826&pid=2657243#pid2657243

FIX Fix export of Launcher and ROM NFO files.
See https://forum.kodi.tv/showthread.php?tid=287826&pid=2658080#pid2658080

FIX Fix import of Launcher and ROM NFO files.

FIX Poster artworks do not appear anymore (got them mapped to flyers for all launchers).
When I try to change the mapping (manage rom/choose roms default assets/artworks),
then AEL is throwing me an error.
See https://forum.kodi.tv/showthread.php?tid=287826&pid=2660404#pid2660404

FIX Fix crash in "Add ROMs", "Manually Add ROM".
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'assets_search_local_assets' is not defined
See https://forum.kodi.tv/showthread.php?tid=287826&pid=2665544#pid2665544



RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - TorontoPaul - 2017-11-20

Can someone explain in laymens terms what this does or what any emulator does?

Thank you


RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - Wintermute0110 - 2017-11-20

(2017-11-20, 06:06)TorontoPaul Wrote: Can someone explain in laymens terms what this does or what any emulator does?

Thank you

Wikipedia is your friend:
 
AEL, on the other hand, is a general launcher and emulator front-end:
 
  • As a general launcher, AEL is able to launch any application in your operating system from within Kodi. For example, you can launch a web browser, a PDF document viewer, a software for watching digital TV, etc. The possibilities are countless. You may think of AEL as the "Start" button on Windows, where you are presented the applications you have in your computer and you can launch any of them by selecting it.
  • As an emulator front-end, AEL has many features in the particular case that the launched application is a video-game or computer emulator and you have a collection of ROMs you want to play. ROM files are typically ZIP archives and are the contents of the cartridges, cassetes, floppy disks or arcade boards in the form of a PC archive. The emulator is capable of running this ROM files exactly in the same way the original hardware would do.