GML [SOLVED] Steam cloud with encrypted ini

haloregit

Member
After searching for quite a while, I was unable to come up with a proper solution. I use SafeSave - INI & More to encrypt my save ini files. It works perfectly, but now I am unable to figure out how to use Steam's cloud saves. I have tried several solutions such as the one from Jorge León (https://forum.yoyogames.com/index.php?threads/saving-to-steam-cloud.40760/):
GML:
var file = steam_file_read("SteamDatos.sav");
ini_open_from_string(file);
//Here would be the transferring of data
ini_close();
Unfortunately it needs to use the function ini_open_from_string(file); which won't work because the file is encrypted. As I am still new to Steam cloud, is there anyway I can merely sync the encrypted file to Steam when the game closes and once again when it is opened, or something similar?

Thanks in advance
 
Top