Where are "user://" locations on each platform?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By azurvii
:warning: Old Version Published before Godot 3 was released.

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?

Thanks!

:bust_in_silhouette: Reply From: duke_meister
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

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) :confused:

azurvii | 2016-05-23 07:03

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.

azurvii | 2016-05-24 02:38

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

richvolter15 | 2020-02-29 05:55

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]

Speak2Animals | 2021-06-02 23:10

Hi, were you able to find the file?

SynthED | 2021-06-10 19:24

:bust_in_silhouette: Reply From: The Seahorse

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.

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

waimus | 2022-03-23 10:07

:bust_in_silhouette: Reply From: Magicraptor5114

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
:bust_in_silhouette: Reply From: buzzargh

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.

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

Wakatta | 2023-01-04 02:54

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

buzzargh | 2023-01-04 23:17