In which directory to write game save files/data?
Posted
by
Klaim
on Game Development
See other posts from Game Development
or by Klaim
Published on 2012-09-08T09:26:32Z
Indexed on
2012/09/08
9:51 UTC
Read the original article
Hit count: 269
savegame
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).
© Game Development or respective owner