Configuration Reference
Every setting in StoryboardConfiguration.json, what it affects, and what happens when it is wrong.
Table of Contents
Upgrades From Earlier Versions
Where the File Lives
StoryboardConfiguration.json sits beside PackageInfo.json in the project's platform folder:
MyApp/
├── Platform_OpenViewPro/
│ ├── OpenViewPro.PackageInfo.json
│ └── StoryboardConfiguration.json ← here
├── StoryboardProject/
│ ├── MyApp.gde
│ └── events/custom.evt
└── Generated/
Every relative path in the file resolves against this file's folder, not the project root.
The Toolkit's Storyboard page edits it. Hand-editing is fine; the Toolkit reads it back.
Top-Level Settings
| Setting | Type | Purpose |
|---|---|---|
modelGeneratorEnabled |
bool | Whether Generate produces model objects from the event definitions |
generatorOutputFolder |
string | Where generated model objects are written |
generatorNameSpace |
string | Namespace (C#) or namespace (C++) for the generated types |
generatorModelBaseClass |
string | Class the generated models derive from |
storyboardEngineFolder |
string | Engine build copied into the package and run on the device |
storyboardDebugEngineFolder |
string | Engine build run on the development host |
launchConfigurations |
array | One entry per engine instance — see below |
modelGeneratorEnabled
Turn it off to hand-maintain the model classes. Generate then logs
Skipping Storyboard Model Generation and moves on.
Note
This gates only model generation. The Storyboard SDK step still runs, because the engine and the exported application are needed to build and run either way.
generatorOutputFolder
Relative to the configuration file. Created if missing. Everything the generator writes goes here as a single file per language:
| Application type | Files written |
|---|---|
Dotnet |
GeneratedStoryboardObjects.cs |
Cpp |
GeneratedStoryboardObjects.h and GeneratedStoryboardObjects.cpp |
Treat the folder as build output. Do not edit the generated file — extend the generated classes
through their partial half instead.
generatorNameSpace
Applied verbatim. A leading space survives into the generated file, which compiles but looks odd in the API reference; trim it.
generatorModelBaseClass
Must derive from StoryboardViewModelBase and
provide the two constructors the generated classes call:
public abstract class MyViewModelBase : StoryboardViewModelBase
{
public MyViewModelBase(string name, string format, StoryboardMessageDirection direction)
: base(name, format, direction) { }
public MyViewModelBase(StoryboardMessage message) : base(message) { }
}
This is where application-wide model behavior belongs — a SendToStoryboard() helper, a shared
client reference, an OnUpdateModel hook. Every generated class inherits it.
storyboardEngineFolder and storyboardDebugEngineFolder
Two different builds of the same Storyboard Engine version:
| Runs on | Must match | |
|---|---|---|
storyboardEngineFolder |
The display | Device architecture and rendering stack, e.g. linux-tiam62x-aarch64-opengles_2.0-wayland-obj |
storyboardDebugEngineFolder |
Your development machine | Host OS, e.g. windows-x86_64-swrender-obj |
storyboardEngineFolder is also what locates Storyboard Designer: the path is trimmed at
Storyboard_Engine to derive the install root, and Designer is found beneath it for the .gapp
export. An engine folder outside the normal Crank layout therefore breaks packaging even if the
engine itself is valid.
Warning
These are absolute paths to a local install. A project moved to another machine — or to Linux or
macOS — needs them repointed. Nothing translates them, and the failure surfaces late, during
packaging, as Storyboard Designer folder ... was not found on this machine.
Launch Configurations
One entry per sbengine instance, and therefore one per display.
| Setting | Type | Purpose |
|---|---|---|
generatorProjectPath |
string | Folder holding the Storyboard project, relative to the config file |
storyboardAppName |
string | The .gde filename, without extension |
surfaceId |
string | Which display this engine renders to |
startupArguments |
string | Extra arguments appended to the sbengine command line |
generatorProjectPath
Its events/custom.evt is what code generation reads. When several launch configurations are
present, all their event files are merged into one generated namespace — so event names must be
unique across every project in the list.
Missing custom.evt is a warning, not an error: generation continues and simply produces no
classes for that project.
storyboardAppName
The .gde filename. Used to locate the model for export and to name the resulting .gapp.
Important
This is not the SBIO channel name. The channel name is the application name stored inside the
.gde model, which is frequently different. See
Channels & Messages.
surfaceId
Binds this engine to a physical display. How it is applied depends on the platform family:
| Platform family | Argument emitted | Mechanism |
|---|---|---|
Pro / Flex (OpenViewLinuxPro) |
-orender_mgr,zorder=<surfaceId> |
ivi_application; the value is the IVI surface id |
Select (OpenViewLinux) |
-orender_mgr,xdg_app_id=<appId> |
xdg_shell; the surface id is looked up in the screen configuration and its AppID passed instead |
On Select the lookup is what keeps the engine's app id in step with the rule the layer manager
writes into weston.ini. A non-numeric surfaceId is passed through unchanged, which is the
escape hatch for typing an app id directly.
The same id must also be listed against the intended screen in the platform's PackageInfo.json,
or the layer manager has nothing to place.
startupArguments
Appended verbatim to the sbengine invocation, after the surface argument and before the .gapp
path.
Warning
A launch configuration with an empty generatorProjectPath or storyboardAppName is skipped by
model generation, by the .gapp export, and by the start script — so the package builds and
deploys with a blank display. Each step logs a warning, but nothing fails.
Path Handling
Configured paths are stored portable (forward slashes) and read back with the host's separator.
This applies to generatorProjectPath, generatorOutputFolder, and both engine folders.
The reason is that a backslash is a legal filename character on Linux and macOS. A Windows-authored
..\Generated read literally on Linux is not a relative path — it is a single folder named
..\Generated. Generation would create it beside the configuration file and write every model
class into it, while the build compiled against the real, still-empty Generated folder.
Normalising on read means a project authored on Windows generates correctly on Linux and macOS. It does not make absolute engine paths portable — those are still machine specific.
Upgrades From Earlier Versions
Configurations written before 5.1 described a single application with root-level
storyboardAppName, generatorProjectPath, and startupArguments. UpgradeSBInfo_5_0 moves them
into the first entry of launchConfigurations when the file is read, so no manual edit is needed.
This runs through the configuration loader. Reading the file raw — bypassing
ConfigurationFileLoader — skips the migration and yields a configuration with no launch
configurations at all.
Worked Examples
Single display, C#:
{
"modelGeneratorEnabled": true,
"generatorOutputFolder": "../Generated",
"generatorNameSpace": "Ahsoka.Demo.Storyboard",
"generatorModelBaseClass": "DemoViewModelBase",
"storyboardEngineFolder": "C:/Program Files/Crank_Software/Storyboard_Engine/9.0-stable.202601270852/linux-tiam62x-aarch64-opengles_2.0-wayland-obj",
"storyboardDebugEngineFolder": "C:/Program Files/Crank_Software/Storyboard_Engine/9.0-stable.202601270852/windows-x86_64-swrender-obj",
"launchConfigurations": [
{
"generatorProjectPath": "../StoryboardProject",
"storyboardAppName": "ThermostatIO",
"surfaceId": "2000"
}
]
}
Two displays on a Flex:
"launchConfigurations": [
{
"generatorProjectPath": "../StoryboardProject.Dashboard",
"storyboardAppName": "Dashboard",
"surfaceId": "2000"
},
{
"generatorProjectPath": "../StoryboardProject.Detail",
"storyboardAppName": "Detail",
"surfaceId": "2001"
}
]
Both projects' events are generated into one namespace, so Dashboard and Detail must not
declare events with the same name. See Driving Multiple Displays.