Wintermute0110 / plugin.program.AEL.dev

Emulator frontend and app launcher for Kodi
GNU General Public License v2.0
105 stars 36 forks source link

Can't use libretro with zipped .nes files #53

Closed davidheitman closed 6 years ago

davidheitman commented 6 years ago

I have my NES rom collection in zip files (one per rom), and I also have my NES launcher configured to accept "nes|zip" for extensions. However, when I attempt to launch a rom using kodi's retroplayer, my only options are Hatari, FB Alpha, FB Alpha 2012, and Caprice32. If I unzip the rom so it has an nes extension, then I get the usual slew of Nintendo emulators, and I can choose Nestopia.

davidheitman commented 6 years ago

OK, so, digging through the code, it looks like the rom is just launched by calling xbmc.Player().play(ROMFileName.getPath(), listitem) At which point, it's Kodi returning a list of libretro addons it thinks are appropriate for the extension, yeah? In which case, the problem is with kodi and this can be closed. Gonna dig a bit more before I close the issue.

Wintermute0110 commented 6 years ago

If we are talking about Retroplayer then yes, Retroplayer does not support zipped ROMs (TTBOMK at least for most of the cores... proper documentation is still missing).

The menu where you can choose the core to launch is shown by Kodi, not by AEL. I was talking with Garbear some time ago for a way for plugins to know which cores are installed and then the user can set in AEL his preference, but currently that is not possible.

davidheitman commented 6 years ago

Gotcha, I'll close this out then and start digging through kodi's code.