Skip to content

Platforms ​

A world runs on a player's Mac, on a Linux machine, or hosted for them on a server they never see. Content says where it works; the game shows each player only what fits their machine, and says why the rest is not there.

Where content runs: a file declares its systems and needs, the host describes itself, and the game compares them: the quest is shown, adapted with one step per system, or marked unavailable with its reason.Your contentsystems, needs,hosted or notThe player's hostsystem, chip, localor hosted, what it hasThe game comparesbefore showing anythingShownAdapteda step per systemUnavailablewith its reason

The host ​

Every world knows its host: the system (macos, linux, windows), the chip, whether it runs on the player's own machine or hosted, and what it has: a screen, sound, a keychain, a terminal, devices nearby. A hosted world is a Linux server with none of those: no window to open, no microphone, no keychain.

What content declares ​

A quest, a branch or a store item can declare its support: the systems it runs on, the needs it has, and whether it works hosted. Without it, the content is meant for every host. When a quest does not fit, the game marks it unavailable and says why in words: the wrong system, a need the host lacks, a hosted world; a quest of an optional act that does not fit never blocks the story.

One step per system ​

Often the goal is the same everywhere and only the way differs. A step can then say os to appear on one system only, or give a value per system: a different command, a different setting to open. Executors say where they run too, and some do not run in a hosted world at all; the plan card then explains why instead of failing.

Take "Allow the microphone". On a Mac, the step opens the right pane of System Settings and checks the permission. On Linux there is no such pane, so the step is hidden. In a hosted world, the quest is unavailable, because there is no microphone to allow.

What it means for you ​

  • Declare support when your content does not work everywhere, and say which needs it has.
  • Use os or a value per system rather than a step that half works.
  • Try your content as a hosted player would: add &host=hosted to the address alta dev prints.

What's next

Alta OS is open source (MIT).