[Finished] Integrated Video Game Emulation Via LibRetro (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you post the current source code (or a link to it)?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I created a new MetadataExtractor and MediaAspect in a plugin.
    How can i register the MediaAspect (so that it shows up when adding server shares)?
    If you depend on local filesystem only (for browsing), I think you won't need an additional ResourceProvider.

    Registration of MDE happens inside plugin.xml:
    https://github.com/MediaPortal/Medi...rs/SeriesMetadataExtractor/plugin.xml#L21-L25

    I think what you you need is a new MediaCategory (like Series is a subcategory of Video):
    https://github.com/MediaPortal/Medi...aExtractor/SeriesMetadataExtractor.cs#L70-L77

    Edit 1:
    New MediaAspects have to be added using this service: https://github.com/MediaPortal/Medi...t/IMediaItemAspectTypeRegistration.cs#L38-L51. Check the comments of the methods.

    Your MDE (plugin) would also need to register new Aspects and must also run in MP2-Server, so importer is able to use it as well.
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I don't know about "old consoles", but there are plenty of games in MAME that benefit greatly from a 64bit compiled exe.
    Is the MAME called as .exe in own process? Or is the functionality provided by a .dll that runs inside host? In first case it could be possible to run 64bit version, in 2nd not.
     

    riggnix

    Portal Pro
    September 8, 2009
    95
    25
    Home Country
    Austria Austria
    Can you post the current source code (or a link to it)?

    I'll fix up my source and put it on Github i guess...

    I created a new MetadataExtractor and MediaAspect in a plugin.
    How can i register the MediaAspect (so that it shows up when adding server shares)?
    If you depend on local filesystem only (for browsing), I think you won't need an additional ResourceProvider.

    Registration of MDE happens inside plugin.xml:
    https://github.com/MediaPortal/Medi...rs/SeriesMetadataExtractor/plugin.xml#L21-L25

    I think what you you need is a new MediaCategory (like Series is a subcategory of Video):
    https://github.com/MediaPortal/Medi...aExtractor/SeriesMetadataExtractor.cs#L70-L77

    Edit 1:
    New MediaAspects have to be added using this service: https://github.com/MediaPortal/Medi...t/IMediaItemAspectTypeRegistration.cs#L38-L51. Check the comments of the methods.

    Your MDE (plugin) would also need to register new Aspects and must also run in MP2-Server, so importer is able to use it as well.

    Thanks a lot, I'll dig a little deeper there ;)

    I don't know about "old consoles", but there are plenty of games in MAME that benefit greatly from a 64bit compiled exe.
    Is the MAME called as .exe in own process? Or is the functionality provided by a .dll that runs inside host? In first case it could be possible to run 64bit version, in 2nd not.

    The way i wanna do it the emulator would be called from a DLL, so i guess we're stuck at 32bit for now. But I really don't see a problem with that (libretro is much more than just MAME ;) )
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Did you come further with your development? I can give more support if required :)
     

    riggnix

    Portal Pro
    September 8, 2009
    95
    25
    Home Country
    Austria Austria
    Just a little update here: As you might have noticed, I did not find the time yet.

    I plan on starting work on this in July, when the semester is over ;)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I just stumpled upon this thread again, are there any news? :)
     

    riggnix

    Portal Pro
    September 8, 2009
    95
    25
    Home Country
    Austria Austria
    Sorry to disappoint, but no, there's no news. University and work are keeping me busy :confused:

    I still plan on continuing though, i just cant's say when I'll find the time. There's some code, but nothing worth publishing, still getting familiar with MP2.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    Riggnix,
    I'd be interested, if you are still working on the emulator since I'm very interested and also started a discussion in another thread in this forum?
     

    Users who are viewing this thread

    Top Bottom