Skip to content

using libretro vfs in scummvm core for SAF file access #88

Description

@i30817

This is going to be wierd, but besides the core not using the libretro vfs right now I suspect there will be problems if trying to make it so, because upstream scummvm does have SAF, except their uri construction is different than the libretro one.

Since the core reuses paths in scummvm.ini to create the playlist I suspect this is going to be a big mess if you want Scummvm SAF in RetroArch, not in the least because you probably don't want to recode the intricate scummvm scanner or replace your vfs based solution instead of their SAF aware solution, so probably your best bet is making the libretro vfs api tolerate the scummvm uris, either with a translation layer or more.

I was prompted to open this both because Ra finally added SAF support in its filechooser and it is already working in some cores and because RSAF updated rclone which now has squash filesystem mounting support, so it's not just for webdav now but also compressed local files.

I also tried to cheat the system by using a upstream created scummvm.ini with the scummvm style SAF paths, this failed first by showing the games grayed out, then when trying to create the playlist behaving as if the paths didn't exist (I expected it but still worth trying for a hack). Didn't try to translate by hand a RetroArch playlist with the RetroArch style paths, since I doubt it would work and was too much work, even for someone that (ab)uses the import \ export feature of scummvm to mass replace paths in a text editor.

if you don't want to do this, no big deal for me, since scummvm has a android release with SAF already and other platforms won't use rsaf\saf just mount the "drives", just making you aware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions