In which directory to write game save files/data?
- by Klaim
I need a definite list of directories, one or more per platform, where to put game save files and other game generated data. Either based no the OS developer specification, or because it is common usage if there is no recommandation.
Please provide one answer per platform, with different directories. Also, example of how to get the directory location in C++ or C is best, as it's the language you'll have more hard time.
Locations:
Player's game data (saved games, config).
Shared game data (like high-score or config for all computer users).
Temporary game data (aka cache directory).