Treat folder as a file for versioning

Get help for specific problems
Posts: 1
Joined: 11 May 2024

hennenzac

Hello,
I'm trying to back up my game saves from Farming Simulator 22 using FFS. My goal was to create 10 versions of the save using RTS where it would check if the folder has changed every minute. That way if I need to revert my game if it crashes and corrupts a save file, I have choices of how I want to restore my game save.

The problem is the save file is more of a save folder with 40 some files in there. When I tried the versioning method in FFS, I noticed I was getting more than 10 folders. Reading on here, it only treats files with versioning, the folders are just a container for the changed files.

This makes it kind of messy if I wanted to revert if not all the files were changed. I'd have to go into each folder version and find all the files.

My main question is it still true you can't apply versioning to a folder? And does anyone have any suggestions to solve this? The only option I can think of is to write my own script.

Thanks.
User avatar
Posts: 4866
Joined: 11 Jun 2019

xCSxXenon

Versioning is only for files. Folders are only used to maintain directory structure for versioning.
You could look into File History or a scheduled task that copies the saved-game directory periodically. A batch script can utilize environmental variables to create a destination folder name. %date:~4% in a CMD environment will return the current date, for example