How to play SNES on Kodi 19/20?

I only have one Vero and one Kodi - the OSMC on my Vero. I did not install another Kodi on another hardware to test what they say in their Wiki.

Is there an “official” way to install Snes9x on OSMC 19?

Kodi Wiki sais Settings → Add-ons → Install from repository → Nintendo - SNES / Famicom (Snes9x) → Install. But as described, this does not work on my OSMC.

Then I believe we are in alignment with Kodi regarding which binary add-ons we make available. I’ll check on Windows when I get a chance.

Any additional binary add-ons would need building from source.

I know @joakim_s is looking at the possibility to add more add-ons. We would probably need to re-think the approach for how we distribute additional game cores. Likely something to think about after Kodi v20.

Until then, what’s the “official” way to install Snes9x on OSMC 19?

You would need to compile the add-on from source. There isn’t an official way, because it isn’t an official Kodi add-on (from what I can see).

@sam_nazarko: Do you have a Kodi 19 to test?

Why does their Wiki say install it via Settings → Add-ons → Install from repository → Nintendo - SNES / Famicom (Snes9x) → Install and say nothing about adding a repo, let alone compiling anything from source?

I don’t know. I don’t maintain the Kodi Wiki. All I am saying is that, currently:

  • We only ship the same binary add-ons that Kodi does with their releases, when supported on Linux
  • Their (Kodi) GitHub repository which is used as a reference for building these add-ons does not include the SNES9X add-on, and therefore we do not build it.
  • If you wish to use it, at this point in time, you will need to build it from source.

Hopefully this clears things up.

Okay. Thanks for your help.

One last OSMC question: Why did OSMC 18 build and ship Snes9x?

If OSMC 19 doesn’t because Kodi 19 doesn’t, then I don’t understand why OSMC 18 did when Kodi 18 didn’t?

Because the add-on worked then and there were fewer game emulators. Now the game emulators have gone back to a downstream state and many are broken.

So the decision was made to ship what is officially supported and what officially works. If Kodi re-introduced that add-on in to the binary addon repository tomorrow, we would be building it and including it.

Build from source, like Sam says. It’s a steep knowledge climb, but doable. I have done it multiple times.

Or use the “build-bot”-armhf-repo that Zack is offering up, so far those I’ve tried (2) of Zacks prebuilt binary have worked as expected.

Sure they are built for “Pi” mostly, no optimization for “non Pi things” like the Vere4k. Which an “official OSMC” package would most likely have, which I was aiming at with my “exploration of kodi-game binary.repo” for Vero4k. But Zacks automated work isn’t bad at all. Tempted to actually look in behind the scenes =)

@ilf I will try tonight to write a less then ten lines, stepp by stepp to get your Vero playing Snes (to begin with :wink:)

Thanks! <3

@ilf, here you go. These instructions is on a totally newly installed vero4k+, with Debian11 testing, Hope they are clear enough (English not being my native language):

> cd /home/osmc && mkdir addons && cd addons && wget https://github.com/zach-morris/kodi_libretro_buildbot_game_addons/raw/main/repository.kodi_libretro_buildbot_game_addons_le_armhf.zip
> systemctl stop mediacenter
> sqlite3 /home/osmc/.kodi/userdata/Database/Addons33.db "UPDATE installed SET enabled = 1  WHERE addonID = 'game.libretro'"
> systemctl start mediacenter

In Kodi:

  • Settings->Addon browser->Install from zip
    Settings
    Unknown sources “Tick it”
    Yes
    “Back”
  • Settings->Addon browser->Install from zip
    Yes
    Browse to homefolder/addons
    repository.kodi_libretro_buildbot_game_addons_le_armhf.zip
  • Settings->Addon browser->Install from repository
    Kodi build bot…
    Game addons
    Emulators
    Nintrendo * Snes9x(current)
    Install

Back to main menu

  • Games
    add games
    browse to your snes-rom folder
    Ok
    ok

Reboot your vero4k and go to Games, your added snes source and just try to click a rom =)

Hope this worked for you, that last Reboot drove me crazy. Good Luck

1 Like

@joakim_s Thanks, this works!

1 Like

After the upgrade to Kodi 20.1, this broke:

error <general>: Repository add-on repository.kodi_libretro_buildbot_game_addons uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
error <general>: Repository add-on repository.kodi_libretro_buildbot_game_addons does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition

Looks like the first was fixed by this: Update repos for new schema by garbear · Pull Request #11 · zach-morris/kodi_libretro_buildbot_game_addons · GitHub

What’s the recommended way for Snes9x on OSMC Kodi 20?

Let me get back to you on that, I’ve had a few issues with my home lab this week so the Vero is right now acting as a backup internet sharer.

I will try to have a look at this as soon as possible.

I wanted to see if I could get games going on kodi, and kinda got stuck at installing the Libretro Compatability addon - it doesn’t seem to be in the repos, and all of zack morris cores depend on that addon :confused:

I might try and build it but it seems I’d need a kodi build environment

Well, that one is in my addons, since it’s a binary addon it comes with OSMC, just not enabled.

I managed to get the game.libretro compiled but I did it on my computer and obviously x86-64 binaries aren’t gonna run on a raspberry pi lol

oh yes now I see, “gambette” failed to install a dependency and I just assumed it was game.libretro because I couldn’t find it anywhere

Gearboy installed fine so I dunno lol

Earlier in this thread I described how to get it up and running, haven’t looked into repro-errors, since 19 , I know there was an change in how the repo is supossed to present it self, i bet the repo has not yet been updated, since it never got updated the last 2 years.

Either you do the “shell bit” I suggested in Post#35 in this thread or you locate the disabled addon (libretor.core) here:
Settings->Addon Browser->MyAddon->Game addons->Support addons->Libretro Compability (enabled that)

Try reinstalling Snes, but you’ll probably hit the “Controller profiles”-snag, enabled them all(they are just small text files.).

Goodluck

I checked the database and the addon was enabled already. When I checked “my addons” it was there afterall. I was getting stuck on the controller profiles (as you rightly guessed).

I’ve installed snes9x current and a megadrive and an x68000 and a FB Alpha CPA1

My issue now is the final part of your instructions:

Back to main menu

    Games
    add games
    browse to your snes-rom folder
    Ok
    ok

When I go to Games I only see the word Addons and a x68000 icon - no “add games” or anything.
Sorry if this is off topic. Maybe I should start another thread