Accessing CORE.Storage.basePath via API #5699
schleinzer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am developing a game with raylib and can't seem to get the "app data storage" directory on android.
AFAIK, the correct path is stored into CORE.Storage.basePath on init, but this variable is not accessible via the API, is it?
I am aware of the Save/LoadFileData functions, but I need to open a file in random access / read+write mode for savegames, settings and other user data (so not via the AssetManager).
Is there a way to access CORE.Storage.basePath from my code?
A related idea: Set the current working directory (on all platforms) to CORE.Storage.basePath on init.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions