This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+3 votes

I don't seem to be able to properly search this in the QA since "://" does not seem to be part of the actual query run. So sorry if this was answered before.

I saved a file at "user://config.ini" on Mac, but I ran find and nothing came up in the search. Is it not saved in plain file systems?


in Engine by (115 points)

4 Answers

+4 votes
Best answer
In some devices (for example, mobile and consoles) this path is unique for the app. Under desktop operating systems, the engine uses the typical ~/.Name (check the project name under the settings) in OSX and Linux, and APPDATA/Name for Windows.

Windows is \users\user\AppData\Roaming\AppName

This is a related post

by (728 points)
selected by

Thanks @duke_meister. That helped! Apparently my Mac falls in the "use_godot" case somehow. And also I found Godot has changed my file name from "config.ini" to "config" (stripping off the suffix) :/

Aha, so I found that Godot didn't strip my file name, it was me who "export"ed the var in the script, and set the initial value to "user://config", and that's stuck within this project. I didn't notice that lol.

Where can I find the saved file in Android? I can find it anywhere after exporting my game and saving in-game

I just tested this on Windows 10. On that platform, user:// maps to

c:\users[user]\AppData\Roaming\Godot\app_userdata[name of the Godot project]

Hi, were you able to find the file?

+4 votes

For me, using Ubuntu it was located at:

&Home .local/share/godot/app_userdata

But I've seen some people say that it's located at $Home .godot however I did not have such a file.

by (26 points)

To add Linux info, specifically Flatpak installation, it's located at ~/.var/app/org.godotengine.Godot/data/godot/app_userdata/

+4 votes

If you havent exported your game and just run it in the editor the path is

C:\Users\User\AppData\Roaming\Godot\app_userdata\Game Name Here
by (22 points)
0 votes

This Q was helpful for me so just adding this info for completeness.

The user:// prefix is a Godot-specific thing and wouldn't be recognised in a filesystem search.

According to the File paths in Godot projects page in the official docs, the defaults for what user:// means for each platform are:

  • Windows: %APPDATA%\Godot\app_userdata\[project_name]
  • macOS: ~/Library/Application Support/Godot/app_userdata/[project_name]
  • Linux: ~/.local/share/godot/app_userdata/[project_name]

Side note: You can also use Project > Open User Data Folder to find the location of the user data folder for your own platform.

by (14 points)

You forgot
Android: /data/data/ or /storage usually /sdcard/Android/data/ can even be /emulated/0/Android/data/
Web Opera Browser keeps it in the cache dir set in opera:config

Thanks, that's great - I didn't know about those actually!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.