Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Export Formats

Export formats are runtime bundle formats. They are independent from source formats such as Excel, CSV, TOML, JSON, or YAML.

ExportCodegen Runtime FormatOutput ShapeUse When
binarysoraNative sectioned binary bundle.You want a compact self-contained Sora runtime.
jsonjsonRuntime JSON bundle.You want easy inspection or simple platform integration.
cborcborRuntime CBOR bundle.You want a compact general-purpose binary value format.
sora-protobufsora-protobufSora value model encoded with Protobuf.You want Protobuf-based transport without per-game .proto models.
protononeTyped Protobuf bundle using the generated game-specific schema.You want a business .proto contract for external tooling.
json-debugnonePer-table debug JSON.You want reviewable output for inspection and tests.
i18n-binarynoneNative binary locale pack for one locale.You want production localization packs mounted separately from config.
i18n-jsonnoneDebug JSON locale pack for one locale.You want reviewable text for translation handoff or tests.

Example build outputs:

[[build.exports]]
format = "binary"
out = "generated/config.sora"

[[build.exports]]
format = "json"
out = "generated/config.json"

[[build.exports]]
format = "json-debug"
out = "generated/debug-json"

[[build.exports]]
format = "i18n-binary"
out = "generated/i18n/zh_cn.sora-i18n"
locale = "zh_cn"

Generated runtimes only load runtime formats they support. json-debug is for humans and tools, not generated runtime loading.

Localization exports require [localization] and a locale in the build manifest. See Localization.