Publish and share
For creatorsAdd-on 2.2.0+
A scene leaves Blender as a cartridge: one folder that holds everything a player’s browser needs to play it. That means the
scene, its models, its graphs, its data tables and its sprite sheets, plus a manifest that lists every file. The add-on builds
it with one button and also packs the folder into a single .cartridge file. This page covers building, what you get, and how
players open a published scene.
Before you build
Section titled “Before you build”- Save the .blend once. The cartridge is built from the saved file. A file that was never saved can’t be built; after that, Build offers to save your changes for you.
- Try the scene with Play first (see preview your scene), and check how fast it loads (see fast loading).
- Name every scene setting with a dot in it, such as
front.on. A scene property without a dot never reaches the published scene.
Build settings
Section titled “Build settings”The settings are in Properties ▸ World ▸ Simulacrum ▸ Cartridge:
| Setting | Tag on the scene | Default | What it is |
|---|---|---|---|
| Folder | cartridge.out |
//cartridge/<file name> (a cartridge folder beside your .blend) |
where the cartridge is written |
| Web path | cartridge.base |
/scenes/<file name> |
the address the scene will be served from |
| Title | cartridge.title |
the scene’s name | the name players see |
| Version | cartridge.version |
1.0.0 |
the version label (see versions and releases) |
<file name> is your .blend’s name in lower case, with dashes in place of spaces and other symbols. Until you set a value, the
panel shows the default, with a pencil button beside it. Press the pencil to turn the setting into a field you can edit, starting
from its default.
After each build, Version shows the version the cartridge got, and the next build starts from it.
Set Web path to the address the scene will really be served from. Every file address inside a cartridge starts with it, so a cartridge built for one address doesn’t load from another.
Build the cartridge
Section titled “Build the cartridge”Press Build in the 3D viewport’s header, Build Cartridge in the Cartridge panel, or choose File ▸ Export ▸ Simulacrum Cartridge. All three do the same.
- If the file has unsaved changes, Blender asks first: press Save and Build. The build uses the file as saved, so what you change while it runs goes into the next build.
- The build runs in the background, in a fresh copy of Blender, and you can keep working. The status bar shows each step as it goes, for example Building cartridge: textures (9/12) · 40 s — Esc cancels. Press Esc to stop it; the folder may then be incomplete, so build again before you use it.
- It bakes every painted level, and stops if a level has a problem (see data tables).
- It exports the scene, so only what is saved in the file goes in.
- It writes the manifest,
cartridge.json, with every file and a fingerprint of each. - It packs the folder into
<name>-<version>.cartridge, beside the folder.
When it finishes, the status bar reads “Built”, then the cartridge’s name and version, how many entities it holds, its size and the packed file’s path. Properties ▸ World ▸ Simulacrum ▸ Cartridge keeps the result: the same facts, the packed file and any warnings. If the build fails, the status bar shows the start of the reason, and the Cartridge panel shows the error.
What goes in, and what stays behind
Section titled “What goes in, and what stays behind”- Every object in the scene, with its tags and its behaviour graph, and the scene’s rules graph.
- Where the player starts: the object
player.spawnnames; else an object taggedtype = spawn, as the library’s Spawn Point is; else an object whose name starts withSpawn. - Every data table (a text block named
data/….json) and every packed sprite sheet, as they are in the .blend now. - The files your tags name: the loading screen’s pictures (
loading.image,loading.cover), baked lightmaps and reflection probes (Look and light), and an object’shtmlfragment with the files it names beside it. The build looks for each where the tag says, beside the .blend, in thelightmapsfolder for baked pictures, and in the previous build. A path that can’t stand inside the cartridge is changed to where the copy lands. A file it can’t find is a warning, not a failed build. - Not the authoring sources: objects tagged
sim.source = 1, such as the tiles of a painted level, stay in the .blend.
The build empties its folder each time before it writes, so keep nothing else in that folder. To keep an old build, copy it somewhere else first. A table or sprite sheet you delete from the .blend is gone from the next build.
The folder and the packed file
Section titled “The folder and the packed file”The folder and the .cartridge file hold the same thing. The packed file is the folder zipped into one file, easy to keep and
pass around; unzip it and you have the folder again. The viewer opens either.
Building the same .blend twice, with nothing changed, gives the same cartridge, byte for byte, on any computer.
Signing
Section titled “Signing”Build Cartridge doesn’t sign the cartridge, and an unsigned cartridge plays normally. A signature proves who made a cartridge and that nothing in it changed since. To sign your work, release it from a kit: each release is signed with your own signing key, made in Blender. See versions and releases.
Share the play link
Section titled “Share the play link”A scene published on Simulacrum opens from a link like this one:
https://simulacrum.app/vr.html?cartridge=/scenes/brick-breaker/The part after cartridge= is the scene’s web path. The same link works on a PC, on a phone and in a WebXR headset. Players
need nothing installed. They can also open a published scene in a room with friends (see
playing together).
Every published game is on the games page, each with its ▶ Play link.
Limits
Section titled “Limits”- There is no upload for creators yet. Where members’ own cartridges will be hosted, and how they will be listed, isn’t decided. Until then, the scenes on simulacrum.app are published by the Simulacrum team.
- One build at a time. While a build runs, Build says so instead of starting another.