Hi to all, I need to use some externals (out of the "res://" folder) resource (GdScript, Scenes, Fonts, ...). I need to use these resources as an external library to can make it one time and use it on all my games, and any time I make a library update, all my games will be affected with just a single recompilation. The problem is that GoDot doesn't allow us to use files/folders external to the "res://" path. PS: I cannot use Symbolic Link as a solution (I use different PC, and the synchronization process from all my PC doesn't work with Symbolic Links). Any help? :)
External Resource Library?
The doc page seems to indicate that the file system is accessible (outside user and res folders): https://docs.godotengine.org/en/stable/getting_started/step_by_step/filesystem.html#host-file-system
Also, after reading your question again, I think you can save in the user:// folder. See here: https://docs.godotengine.org/en/latest/classes/class_os.html#class-os-method-get-user-data-dir https://docs.godotengine.org/en/stable/classes/class_projectsettings.html#class-projectsettings-property-application-config-use-custom-user-dir This will work on desktop. Enable the custom user dir and set a directory you will use for all your games. I believe that will get you what you are looking for.
@cybereality said: This will work on desktop. Enable the custom user dir and set a directory you will use for all your games. I believe that will get you what you are looking for.
This will prevent me to can use the "user" folder to save the game! :(
What are you saying? That you can't use the "user" folder for saving the game?
@SIsilicon28 said: What are you saying? That you can't use the "user" folder for saving the game?
No, I'm saying that setting a custom user folder will not allow the end-user to save game in this folder (if in his PC the folder did not exists).
I disagree. I've exported an Android game with a custom user folder and it saves just fine.
@SIsilicon28 said: I disagree. I've exported an Android game with a custom user folder and it saves just fine.
OK, I'll try it.