AI tools: Export, publish and the store

Exporting your game, publishing it, and the asset store. 7 tools. You see every step your AI takes and can undo any of them.

asset_store_install

Install an Asset Store pack into the open project: free packs, or paid packs this account already owns (it never buys). Downloads, checks the checksum and unpacks into Assets/<pack_id>/ (the pack's own folder, so packs never collide), adds its demo scene as Scenes/<pack_id>-<name>, and refreshes the Content panel. Use the files by their paths inside Assets, e.g. "<pack_id>/knight_live/knight_live@2x.png". starter: true installs the packs chosen for new projects (the free Starter Library) instead. HTTP calls return a job_id immediately; read the result with tool_job {job_id, wait_seconds: 30} (it waits for the job to finish) instead of repeating the tool.

ArgumentTypeWhat it does
pack_idstringFrom asset_store_search
starterbooleanInstall the new-project packs (Starter Library) that aren't installed yet

Search the Arcwright Asset Store: asset packs of sprites, tilesets, animations, 3D models, materials, sounds, UI and effects (free Starter Library packs and paid packs). Filters: query words, price (free | paid), dimension (2d | 3d), style (pixel, painted, realistic ...), category. Shows each pack's id, price, contents, whether it's owned and whether it's already installed in this project. Install a free or owned one with asset_store_install. Works offline from the cached catalog.

ArgumentTypeWhat it does
categorystring
dimensionany / 2d / 3d
limitintegerDefault 12
priceany / free / paid
querystringWords to match in titles, tags, styles
stylestring

creator_open

Open the character creator screen in Play for a player (default the first): Body, Face, Skin, Hair, Eyes and Presets tabs with sliders, swatches and Randomize over a turning view of the character; Done wears the look (and the run keeps it). Needs Play running. A project with no game UI gets the minimal one first (the creator is a game UI screen; Play restarts once to show it).

ArgumentTypeWhat it does
entitystringThe player (name or #id; default the first player).

export_game

Start one standalone game export. Mac copies the editor's shipped prebuilt player and your game files, checks it from a clean root and signs it (seconds; never compiles). Returns a durable job receipt, not a success claim; poll ui_report with export_job. Web exports a 2D WebGL2 player as index.html, WASM and assets for static hosting. Mac app has its own name/icon and main menu, no editor. Linux uses the existing Deck packaging route over the preconfigured deck SSH connection, in an isolated export workspace; Windows uses the Windows editor’s adjacent native player and saves a durable folder-export receipt.

ArgumentTypeWhat it does
buildbooleanDefault true. Mac exports always use the editor's prebuilt player when it has one (every installed editor does: seconds, no compiler, no source code); true only lets a developer source build compile a player when none exists. False requires a prebuilt player on Mac, or TTR_WEB_RUNTIME with a prepared web player.
iconstringOptional absolute .icns/.png file
name requiredstring
optimizebooleanDefault true: the exported copy's maps at the size the game uses, repeats once, opaque colour as JPEG (the project's files untouched). The ship check runs either way and stops an export over the platform's budget, naming each fix (ship_check shows it first).
outputstring
platformmac / linux / web / windows
play_checknumberMac: seconds of bot play on the EXPORTED game before the export is called done (0, the default: the load check only). Every model the game spawns in play must load and no script may error; a failure stops the export naming each line. A pass sets the receipt's gameplayVerified.
request_idstringStable UUID for retries. Reuse unchanged arguments.
scenestring
sign_identitystringMac only: opt-in Developer ID signing identity (hardened runtime). Default: local ad-hoc signature.

export_web

Export the current (or named) scene as a browser game, 2D or 3D: one self-contained folder (index.html, the web player's engine, the page's scripts, game.json and the scene's own files, packed for the wire) that any static host serves as a playable link, phone or desktop. A 2D scene (camera_2d) plays on the WebGL2 player, a 3D scene on the WebGPU player. Keyboard, mouse, touch controls and gamepads. Needs Python 3 on the computer (the reply says what to install when it's missing). Returns a durable job receipt; poll ui_report with export_job. Hosting is a separate step (see Platforms/Web/SHARE.md); nothing is uploaded.

ArgumentTypeWhat it does
buildbooleanKept for older callers: the editor's own web players are used (an installed app's GameExport/web and web3d); nothing is compiled.
name requiredstringThe game's title on its page
outputstringFolder to write (default: <project>/Exports/<name>.web)
request_idstringStable UUID for retries. Reuse unchanged arguments.
scenestring

publish_game

Publish the open game to Arcwright Play (the Arcwright game store), or a new version of a game already there. Packages exactly what the start scene uses, then runs the automatic checks the store requires: the game boots, 30 s of bot play with no script errors, no executable code beyond sandboxed game scripts, size limits. It captures a cover and screenshots from the running game and uploads with the listing. The store re-checks everything; low-risk games go public, others wait for a person. dry_run packages and checks without uploading. content is the age-rating questionnaire (every key required). HTTP calls return a job_id immediately; read the result with tool_job {job_id, wait_seconds: 30} (it waits for the job to finish) instead of repeating the tool.

ArgumentTypeWhat it does
changelogstring
contentobjectQuestionnaire: blood: none|some|gore; drugs: none|reference|use; fear: none|mild|intense; gambling: none|simulated; language: none|mild|strong; online: none|chat; sexual: none|suggestive|explicit; violence: none|cartoon|realistic|intense
descriptionstringWhat the game is, 20+ characters
dry_runboolean
game_idstringExisting store game id to publish a new version of
genreAction / Adventure / Platformer / Puzzle / RPG / Shooter / Strategy / Simulation …
handlestringCreator handle for the local store's account stub when not signed in (the live store needs the Store tab's sign-in)
price_centsinteger
pricingfree / paid / pwyw
scenestringStart scene; default the open scene
taglinestring
tagslist of string
title requiredstring

publish_tool

Turn a program that worked into a TOOL: give the run_script program a name, a summary and its arguments, and it becomes a first-class engine tool that find_tools finds, tool_help explains and any agent calls by name (now, and in every later session). Do this whenever you have written a script you or another agent would want again: a check, a measurement, a batch step, a way of building something. It is tried on `example` first and is not published if that fails. scope "machine" (the default) puts it where EVERY editor on this computer finds it, test editors and bench copies included; "project" keeps it in this game's own ToolPacks folder (it travels with the game) and is only for tools that make sense for this one game. A pack that proves itself goes into the engine with tool_packs {"action": "ship", "name", "to": <engine checkout>}, so every build and customer gets it.

ArgumentTypeWhat it does
argumentsobjectIts arguments as JSON Schema properties: {"spots": {"type": "array", "description": "Places to measure, [x, y, z] each."}}. Describe every one.
code requiredstringThe program, as run_script takes it: the body of a function; it reads `args` and returns its result.
exampleobjectArguments for a test run on the open scene, made before publishing (leave out only for a tool that cannot be tried here).
keywordslist of stringWords a person might use for this job that the summary lacks (find_tools matches them).
made_bystringWho made it (your name or lane), for the next agent.
name requiredstringThe tool's name: lower-case letters, digits and _ ("sound_levels", "fence_along"). Not an existing tool's.
replacebooleanReplace a pack of the same name (the old one is kept beside it, renamed).
requiredlist of stringThe arguments that must be given.
scopemachine / projectDefault machine: every editor on this computer, every project. project: this game only.
secondsnumberMost seconds a run may take (default 30; over 50 it runs as a job).
summary requiredstringWhat it does and when to use it, in plain words, starting with the job (it is all another agent sees): 40 to 1,200 characters.
Arcwright Beta 3 (0.5.0) · generated from the engine source (026429ab6)Something wrong or missing? Tell us
Download Arcwright free