Default file path for user://

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mxt08

I created a test game to save data and I do not know where save the file.
This is my code(I use Linux):

func _ready():
var fp : File ="user://save_game.dat", File.WRITE)
fp.store_string("Hello World")

You can use Project > Open Project Data Folder in the editor to open the project-specific data folder.

Calinou | 2020-07-28 14:47

:bust_in_silhouette: Reply From: p7f

According to official docs here:

Windows: %APPDATA%\Godot\
macOS: ~/Library/Application Support/Godot/
Linux: ~/.local/share/godot/

In my project on ubuntu, for example, is


Look that directory (with your username of course)

I finded that directory activating the show hidden files option.

Mxt08 | 2020-07-28 11:27

1 Like