[Scummvm-tracker] [ScummVM :: Bugs] #16137: Cloud: support for generic WebDAV storage
ScummVM :: Bugs
trac at scummvm.org
Mon Aug 4 07:17:56 UTC 2025
#16137: Cloud: support for generic WebDAV storage
----------------------------+---------------------
Reporter: picatsv | Owner: (none)
Type: feature request | Status: new
Priority: low | Component: Cloud
Version: | Resolution:
Keywords: | Game:
----------------------------+---------------------
Comment (by i30817):
There is a (slower) workaround for this on android (since android disables
mount and fuses, the only other way is the app internally having a webdav
client which not many do).
Since the android port can use SAF paths, and since
https://github.com/chenxiaolong/RSAF exists, you can install that and
configure it (it uses rclone internally) to have some webdav remote that
encompasses all the games you want to add.
Then instead of scanning in the gui - far far too slow because it's
recursive and full of 'unknown Ags or director games'), you can instead
login\ssh into the machine that holds the server, install scummvm there
and add the games there from the command line since it's much faster, and
by a very lucky accident instead of adding 'unknown Ags game' it just adds
what game it thinks it is based on the filename (even if the checksums
don't match).
Since I separate Ags and text games from other scummvm games I do this
with (Linux):
(you need to do this in the base of your scummvm remote if you want to
minimize the search and replace later)
rm -f add.log; find ScummVM ScummVM_Text/ ScummVM_AGS/ -mindepth 1
-maxdepth 1 -type d -exec echo "{}" >> add.log \; -exec scummvm -a -p"{}"
>> add.log \;
you can search add.log then for games with weren't added (search for
'Added 0'), there is always some, either because you don't have a recent
enough scummvm or because the game files aren't in the top level dir
you're searching.
Anyway after that you have a scummvm.ini file with all games in
~/.config/scummvm/scummvm.ini
copy that to your android device, and in there go to the android scummvm
global options, then try to open a file and go up in the filechooser until
you see the line "add a remote path" choose that, then if you have rsaf
active (you probably want to give it permission to run in the background
and without memory limits\without memory optimization in android, it's a
option inside the rsaf app), there will be a option to connect to the rsaf
remote either in front of you or if you click on the 3 lines in the top
left.
Do so and "authorize" that base dir.
The scummvm file chooser dialog will appear with a strange path (for me
it's /saf/games%3A because my remote is called games). Note it down. Then
go into global options, backend and export configuration (this saves a zip
file in your android device somewhere).
Then open the scummvm.ini file you transfered to your android device and
find replace all
path=
by
path=/saf/games%3A
save. this turns all your paths there to paths to your games in the remote
(note that this is why a told you to call find in the top level webdav
dir, if the paths there are absolute or something like that, you need to
replace a larger party than just "path=" until the paths match the SAF
webdav paths).
Find the configuration zip file you saved and replace the scummvm.ini file
you saved with the newly edited ini file. Then import that configuration.
If everything went right, you'll have your whole collection of games
pointing to the webdav remote. If something went wrong it's typically you
trying this without adding the remote path to android scummvm with that
add game just to authorize the remote webdav path thing, typically because
you reinstalled scummvm or cleared its storage.
Very annoying yeah? But much much MUCH faster than waiting for the gui to
recourse into tens of thousands of directories through webdav, running in
RSAF (even slower), which is the alternative.
My speed for games in this is extremely bad for larger than 1 gb games or
games with lots of small files, or worse, both. But I have a very bad
server computer and only a 1mb speed intranet (if I'm lucky), your
situation may vary.
It's another thing altogether to get this working both inside the intranet
and outside. I do have a hack that works for me, but it's so config
dependent and fragile that I'm not going to say it here.
--
Ticket URL: <https://bugs.scummvm.org/ticket/16137#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list