Preferance file location
Nicholas Kingsley (2769) 31 posts |
During the back-porting of my game system (which using SDL2), I need to create a directory where all save data/user preference files etc would be stored (essentially emulating SDL2’s SDL_GetPrefPath()) – where would the best place to put this ? At the moment, I’m thinking of @.[organisation].[appname] If I remember correct there was a module that would help with this sort of thing, but I cant seem to find the post about it. |
Vince M Hudd (116) 527 posts |
You should write preferences to <Choices$Write>.[appname].[file] and read them from Choices:[appname].[file] |
Nicholas Kingsley (2769) 31 posts |
Ah, right – thanks. |