Where is "res://" defined ?

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

Never mind. No longer care. Too many crashes trying to run the example projects.
Never saw anything actually boot.

I assumed that “res://” would be definable in the Project Settings.

The defaults and directory assumptions do not conform with where I wish to store Godot project files.

Is there a config file or editor selection which allows defining “res://” on a project-by-project basis?

I have gone through all the config/text files I can find and no mention of “res://”

How does GODOT define it without it being in one of the config files? Why can’t it expand this link so that I can at least see where it’s pointing?

The files it’s complaining about are in the project’s directory. Therefore if “res://” is correct, it should be able to find them.

:bust_in_silhouette: Reply From: jgodfrey

I’m not sure I follow. res:// simply refers to the current project’s folder - where ever you’ve decided to store that on your system. It doesn’t control where that storage is, it only refers to it. You’re free to store Godot project files anywhere you want.

Here is the output when loading a template. This is specific to the FPS Template, but all the others produce similar errors.

E:\Games\GD402>Godot_v4.0.2-stable_mono_win64.exe --rendering-driver opengl3
Godot Engine v4.0.2.stable.mono.official.7a0977ce2 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 388.13 - Compatibility - Using Device: NVIDIA Corporation - GeForce GTX 1080 Ti

Editing project: E:/Games/FPS template
Godot Engine v4.0.2.stable.mono.official.7a0977ce2 - https://godotengine.org

E:\Games\GD402>OpenGL API 3.3.0 NVIDIA 388.13 - Compatibility - Using Device: NVIDIA Corporation - GeForce GTX 1080 Ti

ERROR: Attempt to open script ‘res://Global/Settings.gd’ resulted in error ‘File not found’.
at: (modules/gdscript/gdscript.cpp:1045)

ERROR: Script does not inherit from Node: res://Global/Settings.gd.
at: (editor/editor_autoload_settings.cpp:423)

WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
at: _editor_init (modules/gltf/register_types.cpp:70)

SCRIPT ERROR: Parse Error: Cannot infer the type of “texture_folder” variable because the value doesn’t have a set type.
at: GDScript::reload (res://addons/devblocks/blocks/basic_block.gd:72)

SCRIPT ERROR: Parse Error: Cannot infer the type of “full_texture_path” variable because the value doesn’t have a set type.
at: GDScript::reload (res://addons/devblocks/blocks/basic_block.gd:73)

myusername | 2023-05-07 15:14