- PC / Mac / Linux
- iOS, tvOS
- Windows Phone 8
- Windows Store
- Windows Universal Apps
- Blackberry 10
Easy Save does not officially support Playstation, Xbox or Nintendo as they require prohibitively expensive middleware licenses to do so.
However, some people have had luck integrating the storage APIs on these platforms with Easy Save by writing data to memory, converting it to a byte array, and providing this to the platform’s storage API.
ES2Settings settings = new ES2Settings();
settings.saveLocation = ES2Settings.SaveLocation.Memory;
using( ES2Writer writer = ES2Writer.Create(settings) )
byte bytes = writer.stream.ReadAllBytes();
// Add your own platform-specific code to store the byte array here.
// Add your own code here to load the byte from the storage API.
var bytes = LoadFromStorageAPI();
using( ES2Reader reader = ES2Reader.Create(bytes, settings) )
int myInt = reader.Read<int>("myTag");
string myString = reader.Read<string>("myTag2");
Note that this code is provided without warranty, and we cannot provide further support for it.