Libretro cores with VFS compatibility but without VFS in their Kodi addon?
#1
Question 
I was checking the list of Retroplayer addons based on libretro cores and I noticed that there are addons that don't have VFS support and yet the corresponding libretro core for that addon does have VFS implemented.

For example, the Bettle PSX cores based on mednafen are using the filestream functions from libretro-common which make use of the libretro VFS API.

Is this because those addons are based on old versions of the cores that didn't have VFS support?
Or is there something else the Kodi addon needs for the VFS support other than having the core make use of the libretro APIs for VFS?
Reply
#2
libretro has two versions of VFS: The first is their confusing "need_fullpath" variable, which is what our table represents. The second is full-blown VFS functionality, which Kodi doesn't support yet because our Game API needs to be migrated to the new add-on API.
Reply
#3
Is this the "Add libretro VFS support" work mentioned in the https://github.com/kodi-game/game.libretro/pull/58 PR?
Reply
#4
(2020-09-04, 12:07)RockerC Wrote: Is this the "Add libretro VFS support" work mentioned in the https://github.com/kodi-game/game.libretro/pull/58 PR?

Not quite. "VFS support" is a creative description of a native feature of libretro to load a ROM from memory instead of passing a path. Kodi gives the core a block of memory instead of a path, but the core doesn't know that the memory comes from a VFS file (it could also be a local, non-VFS file). I call it "VFS" support because you can't use the VFS if you can't load a block from memory.

The VFS PR is about a libretro API that allows the core to call into Kodi's VFS. In this case the core is aware a VFS is involved.
Reply

Logout Mark Read Team Forum Stats Members Help
Libretro cores with VFS compatibility but without VFS in their Kodi addon?0