O que é o formato de ficheiro ESCN?
Um arquivo .escn é uma cena exportada para a Godot Engine a partir de outro programa, quase sempre o Blender por meio do addon Godot Blender Exporter. O nome é uma abreviação de «exported scene» (cena exportada). Por baixo do capô, ele utiliza exatamente a mesma sintaxe de texto que os arquivos de cena .tscn nativos da Godot: um layout estilo INI em UTF-8 que abre com um descritor [gd_scene] e, em seguida, lista recursos externos, sub-recursos, nós e conexões de sinais.
A razão para a existência de uma extensão separada é o fluxo de trabalho, não o formato. Quando a Godot vê um .escn, ela sabe que o arquivo veio de uma ferramenta externa e deve ser reimportado em vez de editado dentro da engine. Isso protege o seu trabalho: se você alterar o modelo, você reexporta do Blender em vez de remendar a cena manualmente. O Godot Blender Exporter pode levar malhas (meshes), materiais, esqueletos, animações, corpos físicos, câmeras e luzes para uma árvore de cena da Godot pronta para uso.
Segurança e proteção
RISCO: 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.
Detalhes do formato
em resumoProgramas que abrem arquivos ESCN
.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. Detalhes técnicos
especificação profunda| 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://..."] |
| Lançado | 2018 |
| Versão mais recente | Scene format 3 (Godot 4.x TSCN/ESCN syntax) |
| Especificação | docs.godotengine.org |
Conversões de ESCN
Perguntas e Respostas da Comunidade
perguntado por usuáriosAinda não há perguntas - seja o primeiro a perguntar sobre arquivos ESCN.