Wat is het ESCN-bestandsformaat?
Een .escn-bestand is een scène die in Godot Engine is geëxporteerd vanuit een ander programma, bijna altijd Blender door middel van de Godot Blender Exporter-add-on. De naam is een afkorting voor „exported scene” (geëxporteerde scène). Onder de motorkap gebruikt het exact dezelfde tekstsyntaxis als de systeemeigen .tscn-scènebestanden van Godot: een UTF-8, INI-stijl lay-out die opent met een [gd_scene]-descriptor en vervolgens externe bronnen, subbronnen, knooppunten en signaalverbindingen opsomt.
De reden dat er een aparte extensie bestaat, is de workflow, niet het formaat. Wanneer Godot .escn ziet, weet het dat het bestand afkomstig is van een extern hulpprogramma en opnieuw moet worden geïmporteerd in plaats van bewerkt te worden binnen de engine. Dat beschermt uw werk: als u het model wijzigt, exporteert u opnieuw vanuit Blender in plaats van de scène handmatig aan te passen. De Godot Blender Exporter kan meshes, materialen, skeletten, animaties, physics bodies, camera's en lichten overbrengen naar een kant-en-klare Godot-scèneboom.
Beveiliging & veiligheid
RISICO: 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.
Formaatdetails
in een notendopProgramma's die ESCN-bestanden openen
.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. Technische details
diepe specificaties| 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://..."] |
| Uitgebracht | 2018 |
| Laatste versie | Scene format 3 (Godot 4.x TSCN/ESCN syntax) |
| Specificatie | docs.godotengine.org |
ESCN conversies
Community V&A
gevraagd door gebruikersNog geen vragen - wees de eerste om iets te vragen over ESCN-bestanden.