Skip to content

Install Geppetto

PuppetXR

Install PuppetXR from its GitHub releases page or build it from source as its README describes. Geppetto talks to a running simulator through PuppetXR's control server, so start your app with it enabled:

PUPPETXR_CONTROL=1 XR_RUNTIME_JSON=/path/to/share/openxr/1/puppetxr.json ./YourApp

Add PUPPETXR_HEADLESS=1 to run without a window, for example in CI.

Geppetto is built against PuppetXR 0.2.0. PuppetXR's control protocol can change between versions, so geppetto run still runs on another version but warns, and marks each receipt and the dashboard with it.

Tests that aim at app targets, assert app state or run fixtures need the Geppetto Unity package in the app; they work with any PuppetXR build.

The geppetto command

Geppetto needs Python 3.11 or newer and has no runtime dependencies. Install the release wheel, or the repository for development:

python -m pip install geppetto-<version>-py3-none-any.whl
python -m pip install -e .

Check it can see your simulator:

geppetto simulators

The Unity package (optional)

The package is needed only for target-based aiming, state expectations and fixture actions. Add com.xrdevrob.geppetto to the project from the release tarball or an exact Git commit, never a moving branch. It depends on Unity OpenXR 1.17.1.

Then choose Geppetto > Set Up Project. It adds a starter test to geppetto-tests/ if the project has none, installs the geppetto-test agent skill under .codex/skills/, and adds geppetto-runs/ and geppetto-report/ to .gitignore. It never overwrites existing files. The app serves its Geppetto tools on its own channel, in the Editor and in development builds only, when it runs with PUPPETXR_CONTROL=1; a release build does not contain the channel. The Geppetto App Tools OpenXR feature is only for Meta XR Operator; setup leaves it as it is, and a non-development build fails while it is enabled. In a project that had QUAK 0.4, setup also switches off the old Direct API layer and removes the entries of the removed Direct OpenXR features.

Geppetto was called QUAK until 0.5. A project that has the com.xrdevrob.quak package must drop it when adding com.xrdevrob.geppetto: the two share their script GUIDs. The installer removes it; remove the line from Packages/manifest.json yourself if you add the package by hand.

Continue with Run your first test.