(2016-01-02, 17:09)a1rwulf Wrote: I couldn't do much recently, so my answer will not be sufficient.
ad 1)
As I only worked with NES, SNES and N64 all games started without prompting me.
I think it's because they use different file extensions - afaik this is coded into addon.xml of the game addon.
What I had a problem with was with the ppsspp core (there is no working game addon so far) - the games for this emulator (at least the ones I tried)
are ISO files - as videoplayer (former dvdplayer) also assumes this are movies, it did not start in Retroplayer.
I did no further work on this so far.
ad 2)
What additional options do you mean?
There are several options that can be specified in one of the xml files.
They show up when you go into the addon section through settings and click on "configure".
This is where you can change the gfx plugin of mupen64 for example.
Hope this helps a bit.
Thanks a1rwulf,
For #1, I'm thinking about cases where there is one or more cores for the same platform. SNES Mercury is a good example. Instead of the user choosing Performance or Accuracy every time a game is launched, I'd like to include an option from my addon to let them set it once, or remain with the prompt for core choice.
Something along the lines of:
Code:
listitem = xbmcgui.ListItem ('Super Mario Bros')
listitem.setInfo('game', {'Title': 'Super Mario Bros', 'core': 'game.libretro.bsnes-mercury-performance'})
xbmc.Player().play(listitem)
For #2, depending on the core, some of them utilize command line arguments in some cases for standalone retroarch. Some examples:
BlueMSX, the machine option being a key one. Since BlueMSX has multiple emulators internally (MSX1, MSX2, Coleco), it's possible to set the machine type via command line. The same I think is true for other cores like Final Burn Alpha or MESS (both not in Retroplayer yet but could be at some point).
Where this probably makes the most sense though is with the -appendconfig command that retroarch has. There's some cases where a particular game needs different configuration, but uses a common core. The -appendconfig command will override the default settings when called. Is there a similar method for Retroplayer?
Something along the lines of:
Code:
listitem = xbmcgui.ListItem ('ColecoVision Game')
listitem.setInfo('game', {'Title': 'ColecoVision Game', 'core': 'game.libretro.bluemsx', 'appendconfig': 'bluemsx_msxtype = COL - ColecoVision'})
xbmc.Player().play(listitem)