Page 1 of 1
Steam cloud save
Posted: Sun Aug 08, 2021 4:36 am
by SealDev
Do the save files stored work with steam cloud? How?
Re: Steam cloud save
Posted: Sun Aug 08, 2021 8:46 am
by Tony Li
Yes, you can save to Steam Cloud with some scripting.
The save system is modular. It consists of these modules:
- SaveSystem component: coordinates the other modules.
- Saver components: record & apply save data (e.g., GameObject positions, active/inactive states, DS variables, etc.).
- Data Serializer: serializes the data from all saver components into a saveable format.
- Saved Game Data Storer: Stores and retrieves data from a permanent storage source such as PlayerPrefs, disk, etc.
You can plug in any Saved Game Data Serializer, and the other modules will work happily with it, without requiring any other changes. If you want to save to any type of cloud storage, just write a subclass of
SavedGameDataStorer that writes to/from that storage.
Re: Steam cloud save
Posted: Sun Aug 08, 2021 2:06 pm
by SealDev
At what location are saved files being stored for "Disk Saved Game Data Storage"?
Re: Steam cloud save
Posted: Sun Aug 08, 2021 2:24 pm
by Tony Li
The usual:
Application.persistentDataPath
Individual saved game files are in save_
slot#.dat and a catalog file enumerating all of the saved game files in in saveinfo.dat.
Re: Steam cloud save
Posted: Mon Aug 09, 2021 7:59 am
by SealDev
Thank you so much
Re: Steam cloud save
Posted: Mon Aug 09, 2021 10:04 am
by Tony Li
Glad to help!