cf_fs_get_user_directory¶
Category: file
GitHub: cute_file_system.h
Returns a path safe to store game-specific files, such as save data or profiles.
Parameters | Description |
---|---|
company_name | The name of your org or company. |
game_name | The name of your game. |
Remarks¶
The path is in platform-dependent notation. The location of this folder varies depending on the OS. You should probably pass this into cf_fs_set_write_directory as well as cf_fs_mount. Windows example:
Linux example: MacOS X example: You should assume this directory is the only safe place to write files. Virtual File System.Related Pages¶
cf_fs_get_base_directory
cf_fs_set_write_directory
cf_fs_dismount
cf_fs_mount