Writing save data to a file?

Hi there–
I’m trying to make a 2D Minicraft clone, and I’m hoping to eventually add save data. Does the Pokitto support reading and writing to files? And if not, is there any possible workaround that doesn’t involve save codes?

Also, I think this is the correct category to post this in, but if it isn’t, feel free to notify me :slight_smile:

I can’t find message but writing to only exist file is possible. Creating new file is not possible. Also SD routines working on simulator. You can import SD library and start writing your code :slight_smile:

1 Like

Correct. The slim version of the PetitFatFS that was hacked by me to support writing also (normally PetitFatFS is read only) can write to a file, but it can not create a new file. The simulator simulates this behaviour.

Examples are welcome.
If my game save a file, how the best way to store/save files? Every game a sub-folder with its own stuff?