Skip to content

alta dev ​

Plays the game in demo with this content, in a temporary copy, read only.

Usage ​

text
alta dev <dir> [--port <n>] [--prepare-only] [--keep]

Arguments ​

NameDescription
dirrequiredThe folder (or file) of content to play with.

Options ​

NameTypeDefaultDescription
--portnumberDefault: a free portThe port of the game server, 1024 to 65535.
--prepare-onlyflagStage the game and stop, without starting the server.
--keepflagKeep the temporary copy when the server stops.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

Play your content in the game

Terminal
sh
alta dev my-pack

Starts the game server and prints the address to open; stop it with Ctrl+C. The [quickstart](/quickstart) shows it.

Stage the game only (for a test)

Terminal
sh
alta dev my-pack --prepare-only
Output
text
staged in <temporary folder>
  + content/quests/dev-quests.json

See also ​

Alta OS is open source (MIT).