Defsave - windows location (SOLVED)

I use DefSave to serialize player information between sessions. This works well. The only issue I have is this - while I am testing on my local Windows machine the saved player data is not volatile. Which is OK - most of the time. But what if I somehow want to reset everything? Sure, I could change what defsave.load tries to load but that is liable to get bug prone. Is there not a file somewhere that I can delete to get things back to base?

?

2 Likes

Following up on the original question, yeah where do we exactly find the defsave output file?

I am using Mac OS and the docs say–

~/Library/Application Support/appname/filename

…but the folder/path does not exist.

The path really should be like above. What did you set as appname? What if you sort folders on modification date? Is one of them changing when you save?

My appname is “clinko”. I’ve also tried displaying hidden folders and I still don’t see it.

Btw, I was referring to Defold simulator (while running the game in Defold editor)

It would be in the Library folder in your user’s home folder, not the one at the root of the hard drive.

2 Likes

That is the native engine (macOS in your case) which is running, so it’s not really a simulator but the actual game engine.

1 Like

I found it, thank you so much!! :smiley: