[Guide] Getting Started with Kodi Retroplayer
#31
Not sure the problem, but it appeared to be with the Millhouse build.

Installed a fresh copy of the latest LibreElec & everything worked flawlessly.
Reply
#32
Hello.
In Krypton, I was able to run some games from external emulator by editing a "videoextensions" in "advancedsettings.xml", and by adding an "ExternalPlayer" in "playercorefactory.xml".
In Leia, it works. But since there is a "Game" menu entry for games library/add-ons/RetroPlayer features, is there a way to say to Kodi to use an ExternalPlayer of my choice from this menu entry replacing the add-on/retroplayer default player?
Without installing any game addon?
For example with a gameextensions section and a game="true" attribute, simply like for audio and video?
Something like :

<advancedsettings version="1">
    <gameextensions>
      <add>.n64|.z64</add>
    </gameextensions>
</advancedsettings>

And:

<?xml version="1.0" encoding="UTF-8"?>
<playercorefactory>
    <players>
        
        <player name="Mupen64plus" type="ExternalPlayer" game="true">
            <filename>"/usr/games/mupen64plus"</filename>
            <args>"{0}"</args>
            <hidexbmc>true</hidexbmc>
        </player>
        

    </players>
    
    <rules name="my_rules" action="prepend">
        <rule game="true" filetypes="n64|z64|avi|mp4" player="Mupen64plus"></rule>
    </rules>
    
</playercorefactory>
Reply
#33
Here are the up to date steps that (almost) worked for me with Ubuntu 18.4 and Kodi 18.4:

1. Install emulators from stable ppa:

sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi-game*

2. Go to "Settings -> Add-ons -> My Add-ons -> Game Add-ons -> Emulators" and enable the emulator you want to play use.

3. In the main Kodi menu, go to "Games -> Add Games..." and add a path to your gaming library

4. In the main Kodi menu, go to "Games -> Your Path to Game" and start it.

5. If it fails with error that says that something is missing, you need to install this something manually from a zip. For SNES, I was missing 4 addons related to controllers, these can be downloaded from here:

    - https://mirrors.kodi.tv/addons/leia/game...r.player2/
    - https://mirrors.kodi.tv/addons/leia/game...fier.snes/
    - https://mirrors.kodi.tv/addons/leia/game....multitap/
    - https://mirrors.kodi.tv/addons/leia/game...per.scope/

6. The game is running now but the screen is black. It should display a hardcoded graphic that explains how to start the emulator, but there is a bug on my system. To see it, press "\" to go into Kodi windowed mode. Press Enter to start the emulator.

7. At this point I was stuck as I do not know how to control the games with a keyboard. Will update post when I find solution.
Reply
#34
Can't edit the post, so I continue from step 7.

7. I have XBOX controller connected via USB to the machine. I tested that it is being recognized and working using jstest-gtk utility (requires installing with apt)

8. Got to Settings -> System -> Input -> Configure Attached Controllers. Choose "Super Nintendo" controller and configure the buttons according to the image. Don't map X on the XBOX to the "X button" as they are at different locations on the controller. Use the image for reference. I also advice to map left thumb-stick to the up/down/left/right keys, it is more pleasant to play this way.

9. That's it, the controller is working now and it is possible to even control the Kodi UI with it.
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
[Guide] Getting Started with Kodi Retroplayer51