There is also a possibility to add mount options to a line in the vfs config. Since we have the filenames at mount time to work with, theoretically we can do all kinds of filename-magic. I could imagine options like:
-="*.eng,*.wag" could mean exclude these files in case they would overwrite an existing one (black-listed overwrite),
--="*.eng,*.wag" could mean exclude these files entirely (black-listed),
++="*.eng,*.wag" could mean use only these files exclusively from this package, nothing else (white-listed),
+="*.eng,*.wag" could mean overwrite only these files by not overwriting anything else, but use non-overwritables (white-listed overwrite).
I don't know if something like this would be desirable or usable, I wouldn't like to overcomplicate things.
conductorchris, on 13 December 2021 - 06:09 PM, said:
I took to be that the over-riding is happening in memory as the activity or timetable starts up. Which is correct?
Christopher, I can confirm that the correct interpretation is that everything happens in memory only. Currently the sole place where VFS is used to actually write something to the disk is to update the timetable binary paths (*.or-binpat). Since there is no MSTS installation base path anymore for the VFS (MSTS might be just a simple zip package somewhere without actually installed), for writing anything to a route's /PATH/ folder such a directory must be mounted as a real directory. It might be totally empty, but must be a real windows directory, like:
C:\working_dir\ /MSTS/ROUTES/USA2/PATHS/OPENRAILS/
(The route's /PATHS/OpenRails/ folder is the one where the *.or-binpat -s are tried to be written and read.)