Achievements save their data in /Shared/Achievements//Achievements.json
I can open this path and create a file successfully on the device (after creating all the sub directories) and the Trophy Cabinet correctly sees my data.
However, if I use the same paths in the 3.0 Simulator on Windows, I end up with a Shared folder inside my game’s data folder - it seems to ignore the leading / for any playdate.file functions
Furthermore, it does work on Simulator if I use the path “../../Shared/Achievements/” (which doesn’t work on the device)
In a test game, if I write pd→file→open(“/Shared/Achievements/test.txt”) it correctly opens the file. Could you show us exactly what code you’re writing that isn’t working.
Ah, that is a good catch. Without looking, I’m 99% sure we’re just doing a literal string comparison here without taking the filesystem case into consideration.