I just fixed the whole sets of bugs with the .theatre file, why just now I thought of this alternative 馃う
.theatre file, placed at res://.godot/.theatre, is there to keep track of the used Theatre plugin version. If a project has used, parsed, and imported Dialogue resources, using version N, it'll log the version vN to the .theatre. So, if the plugin got updated, it'll see that the newly updated plugin's version doesn't match the one logged in .theatre, and then it'll trigger re-import on the Dialogue resources.
Now, the alternative: ProjectSettings + ProjectSettings.set_as_internal()
It should be feasible, and possibly even faster, since it avoids a whole I/O stuff that is managing the .theatre.
Just like how Godot itself track the Godot's version used by the project, with the config/features=PackedStringArray("4.x")
I just fixed the whole sets of bugs with the
.theatrefile, why just now I thought of this alternative 馃う.theatrefile, placed atres://.godot/.theatre, is there to keep track of the used Theatre plugin version. If a project has used, parsed, and imported Dialogue resources, using version N, it'll log the versionvNto the.theatre. So, if the plugin got updated, it'll see that the newly updated plugin's version doesn't match the one logged in.theatre, and then it'll trigger re-import on the Dialogue resources.Now, the alternative:
ProjectSettings+ProjectSettings.set_as_internal()It should be feasible, and possibly even faster, since it avoids a whole I/O stuff that is managing the
.theatre.Just like how Godot itself track the Godot's version used by the project, with the
config/features=PackedStringArray("4.x")