Hi all,

I run a school network and some of our students want to use Godot in a lunchtime club. I'd really like to get it running on our machines for them but am having trouble.

When the students try to run the exe file they get the following errors

OpenGL ES 3.0 Renderer: Intel(R) HD Graphics 4600
ERROR: create: Cannot create data directory!
   At: editor/editor_settings.cpp:745
ERROR: save: Cannot save EditorSettings config, no valid path
   At: editor/editor_settings.cpp:938
ERROR: save: Cannot save EditorSettings config, no valid path
   At: editor/editor_settings.cpp:938
ERROR: save: Cannot save EditorSettings config, no valid path
   At: editor/editor_settings.cpp:938
OPENING: d:/ACPUSB1/Godot/Mini Platformer (d:::ACPUSB1::Godot::Mini Platformer)
running cmdline: "D:\ACPUSB1\Windows Programs\Godot Windows\Godot_v3.0.6-stable_win64.exe" "--path" "d:/ACPUSB1/Godot/Mini Platformer" "--editor"
ERROR: save: Cannot save EditorSettings config, no valid path
   At: editor/editor_settings.cpp:938
OpenGL ES 3.0 Renderer: Intel(R) HD Graphics 4600
ERROR: make_dir_recursive: Method/Function Failed, returning: err
   At: core/os/dir_access.cpp:184
ERROR: Error attempting to create data dir: //tiffin-student/profiles$/student/2017 Intake Year/5380/AppData/Roaming/Godot/app_userdata/Mini Platformer
   At: core/os/os.cpp:448
ERROR: create: Cannot create data directory!
   At: editor/editor_settings.cpp:745
ERROR: _scan_filesystem: Error writing fscache: \\tiffin-student\profiles$\student\2017 Intake Year\5380\AppData\Roaming/Godot/projects/filesystem_cache3
   At: editor/editor_file_system.cpp:279
ERROR: save: Cannot save EditorSettings config, no valid path
   At: editor/editor_settings.cpp:938
ERROR: Another resource is loaded from path: res://icon.png (possible cyclic resource inclusion)
   At: core/resource.cpp:78
ERROR: save_image: Method/Function Failed, returning: err
   At: drivers/png/resource_saver_png.cpp:93

I suspect they are permission problems but I'm not sure and I don't know how to get round them. We can't give the students admin permissions.

If any one has any ideas I'd be very grateful,

mwill

Yeah, even though when downloading godot it might seem like a portable application, AFAIK it is not. It does in fact want to get access to the user accounts AppData directories to store project and editor preferences, sadly.

edit: from a redit thread:

You could try creating a batch file using:

set APPDATA=%CD%\folderhere
godot.exe

this is probably worth trying.

That confirms what I was thinking.

Thanks for the speedy reply it is much appreciated.

Note that I just edited the above post with a potential solution.

Not sure if this will help, nor if it still works with Godot 3, but apparently you can create a _sc_ file and that will make Godot not need to read from Appdata, at least according to this closed issue on the Github repository.

I found the workaround from this Reddit post, where the poster was having difficulty getting Godot to work on computer lab computers. I’m not sure if they had the same issue though, but maybe making a _sc_ file will help?

2 months later

FYI: If you have a mac lab on campus you can open up a terminal and cd into the godot application and run the executable in there.

@TwistedTwigleg said: Not sure if this will help, nor if it still works with Godot 3, but apparently you can create a _sc_ file and that will make Godot not need to read from Appdata, at least according to this closed issue on the Github repository.

I found the workaround from this Reddit post, where the poster was having difficulty getting Godot to work on computer lab computers. I’m not sure if they had the same issue though, but maybe making a _sc_ file will help?

This should work on Godot 3, I just got the "Teach Yourself Godot Engine Game Development in 24 Hours" book which uses Godot 3 and it mentions it in the first chapter. Instead it creates a directory wherever you run Godot from and saves the settings/temporary files in there.