Skip to content

libretro: add VFS implementation - #400

Merged
cscd98 merged 2 commits into
libretro:masterfrom
cscd98:vfs
Jun 28, 2026
Merged

libretro: add VFS implementation#400
cscd98 merged 2 commits into
libretro:masterfrom
cscd98:vfs

Conversation

@cscd98

@cscd98 cscd98 commented Jan 22, 2026

Copy link
Copy Markdown
Collaborator

This is experimental, and is disabled by default. I recommend backing up any save games because a couple of times I've had a system error with corrupt saves, however not recently.

There is a new option under Core Options->RetroArch > Enable Virtual File System (VFS)

Tested under local files and SMB shares.

This requires a retroarch nightly, or at at least RetroArch > 1.22.2

Tested on Linux & Android.

Fixes: #391

@i30817

i30817 commented Feb 11, 2026

Copy link
Copy Markdown

This will likely also fix SAF access for sdcards and RSAF rclone backends (WebDAV etc) access in android, or at least libretro vfs with the right replacements is the only requirement in the core.

I'm pretty sure that SAF "accidentally" works on a bunch of cores that had vfs for Xbox before saf paths got merged in retroarch and worked immediately after.

@i30817

i30817 commented May 9, 2026

Copy link
Copy Markdown

Still being worked on, or just rebased?

@cscd98

cscd98 commented May 9, 2026

Copy link
Copy Markdown
Collaborator Author

It just needs testing with a retroarch nightly.

@cscd98
cscd98 force-pushed the vfs branch 6 times, most recently from a245400 to 0347816 Compare June 27, 2026 07:58
@cscd98
cscd98 force-pushed the vfs branch 5 times, most recently from 0da64c7 to e32f0a3 Compare June 27, 2026 20:09
@cscd98
cscd98 merged commit 894fdda into libretro:master Jun 28, 2026
6 checks passed
@i30817

i30817 commented Jun 28, 2026

Copy link
Copy Markdown

Congratulations. One more core on the VFS throne. So useful for android.

@i30817

i30817 commented Jul 2, 2026

Copy link
Copy Markdown

Hey @cscd98 , I just tried this now and while I can load WiiWare/wad files, I can't load m3u files with rvzs

I think it might be the same problem that @LibretroAdmin fixed after I reported it in discord for beetle and others, of the libchd library loading the file with fopen directly only for m3u. I'll post this also in the discord so he can see it if the @ doesn't work

@i30817

i30817 commented Jul 2, 2026

Copy link
Copy Markdown

Ok weird

The core info file says it does support m3u.

Which means either its wrong, or m3u aren't loading correctly over vfs. (The wiki doesn't list m3u at https://docs.libretro.com/library/dolphin/#extensions )

Rvz actually load fine.

Here is where m3u is loaded:

https://github.com/libretro/dolphin/blob/master/Source%2FCore%2FCore%2FBoot%2FBoot.cpp#L67

@cscd98
cscd98 deleted the vfs branch August 1, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANDROID: Libretro VFS for this core

2 participants