GODOT ファイル形式とは?
.godotファイルは、Godot Foundationによって維持されているオープンソースの2Dおよび3DエンジンであるGodotゲームエンジンのプロジェクト設定ファイルです。ほとんどの場合project.godotという名前であり、これを含むフォルダーがプロジェクトのルートになります。Godotはそのフォルダー内のすべての資産をres://パスプレフィックスを使用して参照するため、この1つのファイルがプロジェクトの開始点を定義します。
このファイルは、INI形式のレイアウトを持つプレーンなUTF-8テキストです。config_version行で始まり、設定を[application]、[display]、[input]、[rendering]などのセクションにグループ化します。[application]セクションには重要な値が含まれています。プロジェクトタイトルのためのconfig/name、起動時にロードされるシーン(.tscnファイル)のためのrun/main_scene、およびconfig/iconです。config_version番号は互換性を制限します。Godot 3.xは«4»を書き込み、Godot 4.xは«5»を書き込みます。エディターは、自身が理解できるバージョンよりも新しいバージョンのプロジェクトを開くことはできません。
この拡張子は2018年のGodot 3.0で導入され、Godot 2.xで使用されていた古いengine.cfgに取って代わりました。
セキュリティと安全性
リスク: LOWproject.godot is a plain-text configuration file with no executable code, so opening it in a text editor is safe. The risk comes from the surrounding project, not the file: a Godot project can contain GDScript or C# and autoload scripts that run when the project is opened in the editor. Only open projects from sources you trust, and inspect the [autoload] entries and scripts before running an unfamiliar one.
形式の詳細
概要GODOT ファイルを開くプログラム
技術的詳細
詳細仕様| Encoding | UTF-8 text |
| Byte order | N/A (text) |
| Container | INI-like sections with [section] headers and key=value entries; keys often use slash paths such as application/config/name |
| Typical size | 1 KB to a few KB |
| Structure | Plain-text configuration listing project-wide settings. Opens with a header comment and a config_version line, followed by sections like [application], [display], [input], [rendering], [autoload] and [global]. The [application] section holds config/name (project title), run/main_scene (path to the startup scene, e.g. res://main.tscn) and config/icon. |
| Integrity | None built in |
| Platforms | Windows, macOS, Linux, Android, Web |
| Config Version | Version tag inside the file that gates compatibility. Godot 3.x uses config_version=4, Godot 4.x uses config_version=5. An engine will refuse to open a file whose config_version is newer than it supports. |
| Notes | The file also acts as the project marker: the folder containing project.godot is the project root, and paths inside the engine are addressed relative to it via the res:// prefix. It replaced the earlier engine.cfg (Godot 2.x and before) when Godot 3.0 switched to the .godot extension. |
| Structure Summary Extra | Godot loads a binary project.godot first if present and falls back to the text form; the text form is what is committed to version control. |
| リリース日 | 2018 (Godot 3.0) |
| 最新バージョン | config_version=5 (Godot 4.x) |
| 仕様書 | docs.godotengine.org |
GODOT の変換
コミュニティ Q&A
ユーザーからの質問まだ質問はありません。GODOT ファイルについて最初の質問をしてみましょう。