Vad är filformatet ESCN?
En .escn-fil är en scen som exporterats till Godot Engine från ett annat program, nästan alltid Blender med hjälp av tillägget Godot Blender Exporter. Namnet är en förkortning för «exported scene». Under huven använder den exakt samma textsyntax som Godots infödda .tscn-scenfiler: en UTF-8, INI-liknande layout som öppnas med en [gd_scene]-beskrivning och sedan listar externa resurser, underresurser, noder och signalanslutningar.
Anledningen till att en separat filändelse existerar är arbetsflödet, inte formatet. När Godot ser .escn vet programmet att filen kom från ett externt verktyg och bör återimporteras snarare än redigeras inuti motorn. Det skyddar ditt arbete: om du ändrar modellen exporterar du på nytt från Blender istället för att lappa scenen för hand. Godot Blender Exporter kan föra över mesh-data, material, skelett, animationer, fysikkroppar, kameror och ljus till ett färdigt Godot-scenträd.
Säkerhet & trygghet
RISK: LOWAn .escn file is plain UTF-8 text describing a scene tree and resource references. It contains no executable code and is not run directly. The only caution is that it can reference external resource paths and, like any Godot scene, embed script resource links, so treat files from untrusted sources with the same care you would give any imported game asset.
Formatdetaljer
i ett nötskalProgram som öppnar ESCN-filer
.escn file inside a Godot project's resource folder and open the project so the editor imports the scene as a binary .scn. .escn files via File > Export > Godot Engine (.escn); edit the source scene in Blender and re-export. .escn file as plain text to inspect or diff the scene tree, nodes and resource references. .escn file to a Godot project and let the editor import it into the scene tree. .escn from the File menu. .escn file into a project directory; Godot compiles it to a binary .scn under .godot/imported/ on load. io_scene_godot addon into Blender's scripts/addons folder, then export to .escn from File > Export. .escn file directly to read its plain-text [gd_scene], [node] and [ext_resource] sections. Tekniska detaljer
djup specifikation| Encoding | UTF-8 text, INI-style sections with bracketed headers |
| Byte order | N/A (text format) |
| Container | Plain-text scene tree serialization |
| Compression | None (compiled to compressed binary .scn on import) |
| Typical size | A few KB to several MB depending on embedded mesh and material data |
| Structure | Five ordered sections: a [gd_scene] file descriptor, [ext_resource] external references, [sub_resource] internal resources, [node] entries forming the scene tree, and [connection] signal links. Identical syntax to TSCN. |
| Integrity | None built into the format; resource UIDs (uid://...) are used for reference tracking |
| Platforms | Windows, macOS, Linux |
| Notes | The .escn extension signals to Godot that the file was exported from an external program (usually Blender) and should be treated as a read-only import source rather than a project-authored scene. On import Godot compiles it to a binary .scn stored under .godot/imported/. |
| Structure Summary Header | [gd_scene format=3 uid="uid://..."] |
| Släppt | 2018 |
| Senaste version | Scene format 3 (Godot 4.x TSCN/ESCN syntax) |
| Specifikation | docs.godotengine.org |
ESCN-konverteringar
Frågor & svar
frågat av användareInga frågor än - bli den första att fråga om ESCN-filer.