Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, you don't need to do anything to decrypt the files; if it's encrypted SSave will already know--it is handled automatically (using Sphinx internally).

As of V1.4.0 you should be storing  your inventory data as either a struct or an array. But, I will write down a note to add support for more data structures as it would definitely be useful.

Are you sure you're adding the files to the import list when opening the package? GameMaker doesn't select anything by default.

Thank you for explaining it, so I would just load the save file using the command and i would automatically decrypt the files and I could reassign the variable values.

When I try to import it into game maker, I don't get a secondary screen asking me what files i want to import. Just the do you want to import confirmation box. and then it just seems to load a blank project.

Deleted 102 days ago
(1 edit)

I have also tried downloading the Zip from github and I am unable to open the project. I get a failed to load error.

I resorted to opening the files in notepad and copying all the code into a new project and I am running into an issue.  the scripts __scr_ssave_value and __scr_ssave_header are giving errors because of the lines (respectively)  * return (__value ?? __defaultValue); * and *__protection = (_protection ?? __protection); * the script for __scr_ssave_manager is blank. 

I also get duplicate script name errors for the scripts but i just copied and pasted them

(1 edit)

I figured out the issue, I was using a really old version of game maker. I updated it and it worked.

Also i have another question. Am i able to convert a ds map into an array to save and back to a ds map? Its just that was the way i learned to handle quests trees so its what I'm used to using to store them.

Thank you

Glad you sorted your problem out! Yeah, this was written for GameMaker Studio 2 V2.3+, anything older than that won't work.

To answer your question, yes, you can do that using json_encode to turn it into a struct. Then, when loading it in you can read through the struct's values and re-create the DS map. (note that you cannot directly set the DS map as a value in SSave, so when re-creating it you will have to store the DS map in a variable somewhere else).

Hope that helps!!