In which folder to store text dialogs or other game info?

The structure of ConfigFile is good for my needs but saving/loading the data needed to construct the game in the user folder (user://) does not make sense to me.

In which folder should text dialogs or other game info be stored? res:// or even ./ whatever that means?

Could ConfigFile style files be stored there too?

Again, this is text data to configure/create the game, not user data to store scores, progress, etc.

In case it matters, these projects are meant to be Web exports (HTML5 isn’t it?).

Thank you all.

everything that is in concern to player savedata, i usually save in user:// while everything else is saved in res://.

From what I understand of your post, you have a lot of text strings.
Text strings (if not somehow session-adjusted for the user) can be saved in res:// in some custom folder. I believe you may have structured dialogues in JSON or XML files.

ConfigFile is a godot built-in helper that saves config information and session info and should have been defaulted to saving the info in user://.

1 Like

Are you going to let your users modify it or are you going to modify/create them in runtime? If that’s the case, use user://

If those files are just something that your game need and users are not meant to modify those neither are you going to create more in runtime, res:// is fine, your project folder contains your game files

1 Like

Thank you both.

Turns out only one answer can be marked as ‘solution’. Did not know that.

@Locher your’s is just as good.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.