openOMSI GitHub Discord
Environment variables

Docs / Reference / Environment variables

Apple and launcher variables

1 min readEdit this pagedocs/DEBUG_FLAGS.md

These are read outside the game's Rust code, so the list in flags.rs does not hold them.

Variable Values / default What it does
OMSI_APPLE_PAGE text iPhone/iPad launcher: open on a page without a person at it: a page name (settings, games, ...), tab:more, picker:bus, sheet:trip or onboarding[:step]. For the Simulator and CI.
OMSI_APPLE_START number iPhone/iPad launcher: press Start after this many seconds.
OMSI_APPLE_ORIENT landscape or portrait iPhone/iPad: turn the screen that way, to check either layout on a Simulator.
OPENOMSI_LAUNCHER_SELFTEST 1 Desktop launcher: the window stays hidden, the page checks itself (commands, pictures, font, every page), prints a report and the program exits. 0 or empty is off.
OPENOMSI_WEBVIEW_FRESH flag Windows launcher: set the WebView2 profile aside and start with a fresh one. The game sets it when the launcher window could not open.
OPENOMSI_NO_WEBVIEW flag Windows: the desktop launcher could not open for lack of WebView2. The built-in launcher then offers to install it. Set by the game.
OPENOMSI_BIN path The game program the launcher starts. Set by the game when it opens the launcher.
OPENOMSI_CONTAINER path iPhone/iPad: the app's container folder. Set by the app at start.
OPENOMSI_FONTS folder Apple launcher screenshot tool: where to find the Inter font.

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open