vasl-developers / vasl

Virtual Advanced Squad Leader
http://vasl.info/
GNU Lesser General Public License v2.1
66 stars 28 forks source link

Initial implementation of an autosave feature #1855

Closed geezer09 closed 2 weeks ago

geezer09 commented 2 weeks ago

I put an on/off preference in the VASL tab to turn this feature on and off. Right now it is not very customizable but it should do for initial troubleshooting and testing.

Here is how it works:

It creates a VASL folder in your boards directory in which all the save files will go. It then automatically saves the game every 10 minutes with a generic name indicating the date and time. Before saving the file, it looks at that directory and removes the automatically generated files if you have more than 20 of them. I think thats pretty much it.

closes #1600