Changing Splash Screen on Exported Project Via Override

Godot Version



Currently, the user can change their splash screen image to one on their computer with the below code:

func _on_mouse_cursor_dialog_file_selected(path):
	ProjectSettings.set_setting("application/boot_splash/image", path)

However, I’d like to change the splash screen automatically depending on player game progress to images within the project itself. I have a few images in the res:// directory for this, but I can’t access these on an exported project. Is there a way to access these, or do I just have to store these images separately in the user:// directory and access them there? I’d like to keep them as a surprise for the player. Thanks.