Helper Commands
Generated reference. Do not edit this page directly. Update
BuildTools/HelperCliInterface.jsonor the owning executable parser, then runpython BuildTools/docs_helper_cli.py --write.
| Reference index | Commands | Canonical JSON model | Generation contract |
Commands are shown with exact parser-generated usage and help at a fixed 80-column width. Invoke a helper from the engine repository root unless its invocation owner sets another working directory.
Code generation
Generate engine configuration, metadata registration, script bindings, and embedded-resource source files.
- Stable ID:
helper-cli.codegen - Program:
codegen.py - Owner:
build-release - Audience:
engine-contributor,embedding-project-build-system - Invocation owner: BuildTools/cmake/stages/Codegen.cmake
- Parser source: BuildTools/codegen.py
Top-level arguments
Exact top-level --help output
usage: codegen.py [-h] -maincfg MAINCFG -buildhash BUILDHASH -devname DEVNAME -nicename NICENAME -embedded EMBEDDED [-enginedefine ENGINEDEFINE] -meta META [-commonheader COMMONHEADER] -genoutput GENOUTPUT [-verbose]
FOnline code generator
options:
-h, --help show this help message and exit
-maincfg MAINCFG main config file
-buildhash BUILDHASH build hash
-devname DEVNAME dev game name
-nicename NICENAME nice game name
-embedded EMBEDDED embedded buffer capacity
-enginedefine ENGINEDEFINE
engine configuration define NAME=VALUE emitted as a macro into EngineConfig.gen.h
-meta META path to script api metadata (///@ tags)
-commonheader COMMONHEADER
path to common header file
-genoutput GENOUTPUT generated code output dir
-verbose verbose mode
Code coverage
Clean, collect, and report engine code coverage for generated test targets.
- Stable ID:
helper-cli.codecoverage - Program:
codecoverage.py - Owner:
quality - Audience:
engine-contributor,ci-maintainer - Invocation owner: BuildTools/cmake/stages/Applications.cmake
- Parser source: BuildTools/codecoverage.py
Top-level arguments
No arguments at this level.
Exact top-level --help output
usage: codecoverage.py [-h] {clean,run,report,full} ...
Run and analyze engine code coverage
positional arguments:
{clean,run,report,full}
clean Remove previously collected coverage data and reports
run Run the instrumented test binary and collect coverage data
report Generate text and HTML reports from collected coverage data
full Clean, run the instrumented binary, and generate reports
options:
-h, --help show this help message and exit
clean
Remove previously collected coverage data and reports
Stable ID: helper-cli.codecoverage.command.clean
usage: codecoverage.py clean [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Exact --help output
usage: codecoverage.py clean [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Remove previously collected coverage data and reports
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
run
Run the instrumented test binary and collect coverage data
Stable ID: helper-cli.codecoverage.command.run
usage: codecoverage.py run [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Exact --help output
usage: codecoverage.py run [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Run the instrumented test binary and collect coverage data
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
report
Generate text and HTML reports from collected coverage data
Stable ID: helper-cli.codecoverage.command.report
usage: codecoverage.py report [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Exact --help output
usage: codecoverage.py report [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Generate text and HTML reports from collected coverage data
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
full
Clean, run the instrumented binary, and generate reports
Stable ID: helper-cli.codecoverage.command.full
usage: codecoverage.py full [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Exact --help output
usage: codecoverage.py full [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Clean, run the instrumented binary, and generate reports
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
Gameplay test runner
Run ordered multi-process gameplay smoke scenarios with readiness, marker, deadline, cleanup, and JSON-report contracts.
- Stable ID:
helper-cli.gameplay-test-runner - Program:
gameplay_test_runner.py - Owner:
quality - Audience:
game-developer,engine-contributor,embedding-project-build-system,ci-maintainer - Invocation owner: embedding-project CMake targets and CI gameplay smoke jobs
- Parser source: BuildTools/gameplay_test_runner.py
Top-level arguments
Exact top-level --help output
usage: gameplay_test_runner.py [-h] --manifest MANIFEST [--value KEY=VALUE] [--report REPORT]
Run project-neutral multi-process gameplay smoke scenarios from a checked JSON manifest.
options:
-h, --help show this help message and exit
--manifest MANIFEST scenario manifest path
--value KEY=VALUE placeholder value; repeat as needed
--report REPORT optional JSON result path
AiControl protocol client
Call an Engine-compatible project AiControl bridge through the versioned NDJSON/TCP envelope without exposing shared tokens on the command line.
- Stable ID:
helper-cli.ai-control-client - Program:
ai_control_client.py - Owner:
tooling - Audience:
game-developer,engine-contributor,tool-developer,ci-maintainer - Invocation owner: embedding-project AI adapters, protocol smoke tests, and direct developer diagnostics
- Parser source: BuildTools/ai_control_client.py
Top-level arguments
Exact top-level --help output
usage: ai_control_client.py [-h] [--host HOST] [--port PORT] [--timeout TIMEOUT] [--token-env TOKEN_ENV] [--allow-remote] {ping,status,observe,events,act} ...
Call an Engine-compatible AiControl bridge over NDJSON/TCP.
positional arguments:
{ping,status,observe,events,act}
ping Check bridge liveness.
status Read bridge status and queue limits.
observe Read the latest project observation.
events Read events after a sequence cursor.
act Enqueue one project-defined command.
options:
-h, --help show this help message and exit
--host HOST Bridge host.
--port PORT Bridge port.
--timeout TIMEOUT Socket timeout in seconds.
--token-env TOKEN_ENV
Environment variable containing the shared token.
--allow-remote Permit a non-loopback endpoint; transport remains unencrypted.
ping
Check bridge liveness.
Stable ID: helper-cli.ai-control-client.command.ping
usage: ai_control_client.py ping [-h]
No arguments at this level.
Exact --help output
usage: ai_control_client.py ping [-h]
options:
-h, --help show this help message and exit
status
Read bridge status and queue limits.
Stable ID: helper-cli.ai-control-client.command.status
usage: ai_control_client.py status [-h]
No arguments at this level.
Exact --help output
usage: ai_control_client.py status [-h]
options:
-h, --help show this help message and exit
observe
Read the latest project observation.
Stable ID: helper-cli.ai-control-client.command.observe
usage: ai_control_client.py observe [-h]
No arguments at this level.
Exact --help output
usage: ai_control_client.py observe [-h]
options:
-h, --help show this help message and exit
events
Read events after a sequence cursor.
Stable ID: helper-cli.ai-control-client.command.events
usage: ai_control_client.py events [-h] [--after-seq AFTER_SEQ] [--limit LIMIT]
Exact --help output
usage: ai_control_client.py events [-h] [--after-seq AFTER_SEQ] [--limit LIMIT]
options:
-h, --help show this help message and exit
--after-seq AFTER_SEQ
Exclusive event cursor.
--limit LIMIT Maximum events to return.
act
Enqueue one project-defined command.
Stable ID: helper-cli.ai-control-client.command.act
usage: ai_control_client.py act [-h] --type TYPE [--target-id TARGET_ID] [--item-id ITEM_ID] [--aux-id AUX_ID] [--x X] [--y Y] [--screen-x SCREEN_X] [--screen-y SCREEN_Y] [--int-arg INT_ARG] [--string-arg STRING_ARG] [--append]
Exact --help output
usage: ai_control_client.py act [-h] --type TYPE [--target-id TARGET_ID] [--item-id ITEM_ID] [--aux-id AUX_ID] [--x X] [--y Y] [--screen-x SCREEN_X] [--screen-y SCREEN_Y] [--int-arg INT_ARG] [--string-arg STRING_ARG] [--append]
options:
-h, --help show this help message and exit
--type TYPE Project-defined command type.
--target-id TARGET_ID
Optional target entity identifier.
--item-id ITEM_ID Optional item entity identifier.
--aux-id AUX_ID Optional auxiliary entity identifier.
--x X Optional project world X coordinate.
--y Y Optional project world Y coordinate.
--screen-x SCREEN_X Optional screen X coordinate.
--screen-y SCREEN_Y Optional screen Y coordinate.
--int-arg INT_ARG Optional integer payload.
--string-arg STRING_ARG
Optional string payload.
--append Request project queue append semantics.
Content formatter
Format .fomain, prototype and optional AngelScript files in the Engine layout and refuse any rewrite that would change what the Engine reads.
- Stable ID:
helper-cli.format-content - Program:
format_content.py - Owner:
tooling - Audience:
game-developer,embedding-project-build-system,ci-maintainer - Invocation owner: BuildTools/buildtools.py format-content, embedding-project format tasks and CI drift checks
- Parser source: BuildTools/format_content.py
Top-level arguments
Exact top-level --help output
usage: format_content.py [-h] [--check] [--project-root PROJECT_ROOT] [--fomain FOMAIN] [--skip-fomain] [--skip-protos] [--proto-path PATH] [--metadata PATH] [--fos PATTERN]
Format .fomain, prototype and optional AngelScript files without changing what the Engine reads from them.
options:
-h, --help show this help message and exit
--check report files that need formatting and exit with 1 without writing
--project-root PROJECT_ROOT
project root for relative paths and the .fomain lookup (default: FO_PROJECT_ROOT, then the current directory)
--fomain FOMAIN main config path (default: the only *.fomain file in the project root)
--skip-fomain do not format the main config
--skip-protos do not format prototype files
--proto-path PATH format only these prototype files or directories instead of the Proto resource packs (repeatable)
--metadata PATH read property and setting order from these files, in this order, instead of the Metadata resource packs (repeatable)
--fos PATTERN also format AngelScript files matching this glob relative to the project root with clang-format 20 (repeatable)
Engine content format reader
Print effective configuration, resource-pack inputs, inherited prototype values and text-pack entries as the Engine parsers read them.
- Stable ID:
helper-cli.fo-formats - Program:
fo_formats.py - Owner:
tooling - Audience:
game-developer,tool-developer,ci-maintainer - Invocation owner: embedding-project content tools and direct developer diagnostics
- Parser source: BuildTools/fo_formats.py
Top-level arguments
No arguments at this level.
Exact top-level --help output
usage: fo_formats.py [-h] {config,protos,text} ...
Print Engine content formats as the Engine reads them, as JSON.
positional arguments:
{config,protos,text}
config Effective settings, resource packs and sub-configs of a main config.
protos Effective prototype values of every Proto baker pack.
text Entries of one .fotxt text pack file.
options:
-h, --help show this help message and exit
config
Effective settings, resource packs and sub-configs of a main config.
Stable ID: helper-cli.fo-formats.command.config
usage: fo_formats.py config [-h] [--sub-config SUB_CONFIG] [--files] main_config
Exact --help output
usage: fo_formats.py config [-h] [--sub-config SUB_CONFIG] [--files] main_config
positional arguments:
main_config Main configuration file (.fomain).
options:
-h, --help show this help message and exit
--sub-config SUB_CONFIG
Apply this [SubConfig] section after the main settings.
--files Also list the input files of every resource pack.
protos
Effective prototype values of every Proto baker pack.
Stable ID: helper-cli.fo-formats.command.protos
usage: fo_formats.py protos [-h] [--sub-config SUB_CONFIG] [--type TYPE_NAME] [--name NAME] main_config
Exact --help output
usage: fo_formats.py protos [-h] [--sub-config SUB_CONFIG] [--type TYPE_NAME] [--name NAME] main_config
positional arguments:
main_config Main configuration file (.fomain).
options:
-h, --help show this help message and exit
--sub-config SUB_CONFIG
Apply this [SubConfig] section after the main settings.
--type TYPE_NAME Print only prototypes of this type.
--name NAME Print only the prototype with this migrated name.
text
Entries of one .fotxt text pack file.
Stable ID: helper-cli.fo-formats.command.text
usage: fo_formats.py text [-h] path
| Stable ID | Argument | Kind | Required | Values | Choices | Default | Description |
|---|---|---|---|---|---|---|---|
helper-cli.fo-formats.command.text.argument.path |
path |
positional |
yes | 1 |
- | - | Text pack file named <TextPack>.<Language>.fotxt. |
Exact --help output
usage: fo_formats.py text [-h] path
positional arguments:
path Text pack file named <TextPack>.<Language>.fotxt.
options:
-h, --help show this help message and exit
Identity migration guard
Require a MigrationRule for every removed or renamed prototype, property and enum value and refuse reuse of retired identifiers against a committed manifest.
- Stable ID:
helper-cli.migration-guard - Program:
migration_guard.py - Owner:
quality - Audience:
game-developer,embedding-project-build-system,ci-maintainer - Invocation owner: embedding-project local validation tasks and CI content gates
- Parser source: BuildTools/migration_guard.py
Top-level arguments
Exact top-level --help output
usage: migration_guard.py [-h] (--check | --update-manifest) [--root ROOT] [--config CONFIG] [--main-config MAIN_CONFIG] [--sub-config SUB_CONFIG] [--manifest MANIFEST] [--content-dir CONTENT_DIR] [--proto-extension PROTO_EXTENSION]
[--script-dir SCRIPT_DIR] [--native-source NATIVE_SOURCE]
Require a MigrationRule for every removed or renamed prototype, property and enum value, and refuse reuse of a retired identifier, against a committed manifest.
options:
-h, --help show this help message and exit
--check Compare the tree with the manifest; exit 1 on any violation.
--update-manifest Rewrite the manifest from the tree; refuses while a rule is missing or an identifier is reused.
--root ROOT Project root; relative paths resolve against it (default: current directory).
--config CONFIG JSON guard configuration, relative to the root.
--main-config MAIN_CONFIG
Main configuration file (.fomain) whose packs define the scope.
--sub-config SUB_CONFIG
Apply this [SubConfig] of the main config before reading resource packs.
--manifest MANIFEST Manifest file to check or rewrite.
--content-dir CONTENT_DIR
Prototype directory; replaces the Proto packs of the main config.
--proto-extension PROTO_EXTENSION
Prototype file extension used with --content-dir (default: Baking.ProtoFileExtensions).
--script-dir SCRIPT_DIR
Script source directory; replaces the Metadata packs of the main config.
--native-source NATIVE_SOURCE
Root-relative glob of native sources with property and enum declarations.
AiControl MCP adapter
Serve an AiControl bridge to an MCP client over stdio with generic protocol, endpoint, readiness, and owned-process tools plus project-registered tools; a development tool, never shipped.
- Stable ID:
helper-cli.ai-control-mcp - Program:
ai_control_mcp - Owner:
tooling - Audience:
game-developer,tool-developer,ci-maintainer - Invocation owner: embedding-project MCP client configurations, project tool modules, and AI playtest runners
- Parser source: BuildTools/ai_control_mcp/cli.py
Top-level arguments
Exact top-level --help output
usage: ai_control_mcp [-h] [--host HOST] [--port PORT] [--timeout TIMEOUT] [--token-env TOKEN_ENV] [--allow-remote] [--project-root PROJECT_ROOT] [--project-module PROJECT_MODULE] [--module-path MODULE_PATH]
[--launch-profile LAUNCH_PROFILE] [--tool-prefix TOOL_PREFIX] [--server-name SERVER_NAME] [--keep-processes-on-exit] [--max-message-bytes MAX_MESSAGE_BYTES] [--list-tools]
Serve an AiControl bridge to an MCP client over stdio; a development tool, never shipped.
options:
-h, --help show this help message and exit
--host HOST Default bridge host.
--port PORT Default bridge port and base port for launches.
--timeout TIMEOUT Bridge socket timeout in seconds.
--token-env TOKEN_ENV
Environment variable containing the shared bridge token.
--allow-remote Permit non-loopback bridges; they also require a token.
--project-root PROJECT_ROOT
Root for launch paths, binaries and logs.
--project-module PROJECT_MODULE
Dotted module name or .py file whose register(registry) adds project tools; repeatable.
--module-path MODULE_PATH
Directory added to the import path for dotted project modules.
--launch-profile LAUNCH_PROFILE
JSON launch profile; overrides a profile set by a project module.
--tool-prefix TOOL_PREFIX
Prefix of the core tool names.
--server-name SERVER_NAME
MCP serverInfo name.
--keep-processes-on-exit
Leave launched processes running after the adapter exits; their trees must then be stopped manually.
--max-message-bytes MAX_MESSAGE_BYTES
Largest accepted MCP message line.
--list-tools Print the registered tool names and descriptions as JSON, then exit.
Windows 7 import validation
Inspect linked PE files for Windows 7 import compatibility and optionally require the large-address flag on executables.
- Stable ID:
helper-cli.windows7-import-check - Program:
check_windows7_imports.py - Owner:
quality - Audience:
engine-contributor,embedding-project-build-system,release-operator - Invocation owner: embedding-project Windows 7 CI and release validation
- Parser source: BuildTools/check_windows7_imports.py
Top-level arguments
Exact top-level --help output
usage: check_windows7_imports.py [-h] [--require-large-address-aware] binaries [binaries ...]
Reject imports Windows 7 SP1 cannot resolve from Windows 7-compatible PE binaries
positional arguments:
binaries linked PE executable or DLL to inspect
options:
-h, --help show this help message and exit
--require-large-address-aware
Require the large-address flag on checked executables
Markdown link check
Check local Markdown links, GitHub-style heading anchors, UTF-8, fenced-code balance, and optional single-H1 structure under one repository root.
- Stable ID:
helper-cli.markdown-links - Program:
markdown_links.py - Owner:
quality - Audience:
game-developer,engine-contributor,embedding-project-build-system,ci-maintainer - Invocation owner: embedding-project documentation wrappers, local tasks, and CI documentation jobs
- Parser source: BuildTools/markdown_links.py
Top-level arguments
Exact top-level --help output
usage: markdown_links.py [-h] [--root ROOT] [--include GLOB] [--exclude GLOB] [--target-root DIR] [--skip-target GLOB] [--allow-line-fragments] [--require-reference-definitions] [--require-single-h1] [--require-yaml-front-matter]
[--h1-exempt GLOB] [--list]
Check local Markdown links, heading anchors, UTF-8 and fenced-code balance under one root
options:
-h, --help show this help message and exit
--root ROOT repository root that bounds link targets (default: current directory)
--include GLOB root-relative document glob; repeatable (default: **/*.md and **/*.markdown)
--exclude GLOB root-relative file or directory glob removed from the document set; repeatable
--target-root DIR extra directory, relative to --root, that links may point into without its documents being checked; repeatable
--skip-target GLOB root-relative glob of link targets that are not verified, such as a submodule that is not checked out; repeatable
--allow-line-fragments
accept #L10 and #L10-L20 line fragments on Markdown targets
--require-reference-definitions
report [text][label] links whose label has no definition in the same document
--require-single-h1 report documents that do not contain exactly one H1 heading
--require-yaml-front-matter
report front matter values that hold ': ' outside quotes, which YAML reads as a second mapping
--h1-exempt GLOB root-relative glob of documents exempt from --require-single-h1; repeatable
--list print the selected documents instead of checking them
Native source audits
Audit native C++ scopes for allocator, smart-pointer and local-variable contract violations with Engine-owned and project baselines.
- Stable ID:
helper-cli.native-source-audit - Program:
native_source_audit.py - Owner:
quality - Audience:
engine-contributor,embedding-project-build-system,ci-maintainer - Invocation owner: Engine validation CI, embedding-project native audit wrappers and direct developer use
- Parser source: BuildTools/native_source_audit.py
Top-level arguments
No arguments at this level.
Exact top-level --help output
usage: native_source_audit.py [-h] AUDIT ...
Audit native C++ sources against the Engine coding contracts. Each audit scans --scope paths below --root (default: the Engine Source directory), applies the Engine-owned baseline plus project baselines, and fails on remaining findings or
on stale baseline rows. Exit codes: 0 passed or skipped, 1 findings or stale baseline rows, 2 invalid invocation, configuration, baseline or tool failure.
positional arguments:
AUDIT
allocator Report standard containers, allocating std:: helpers and C allocation outside the memory system.
smart-pointer Check the ptr/nptr/unique/refcount smart-pointer vocabulary and raw-pointer boundaries.
smart-pointer-ast Find raw pointer declarations on lines added since a git revision with clang-query.
local-variables Find redundant top-level const locals (clang-query) and use-after-move (clang-tidy).
explicit-local-types
Find auto locals whose deduced type is a simple explicit type (clang-query).
options:
-h, --help show this help message and exit
allocator
Report standard containers, allocating std:: helpers and C allocation outside the memory system.
Stable ID: helper-cli.native-source-audit.command.allocator
usage: native_source_audit.py allocator [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE] [--max-printed MAX_PRINTED]
[--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}]
Exact --help output
usage: native_source_audit.py allocator [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE] [--max-printed MAX_PRINTED]
[--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}]
Report standard containers, allocating std:: helpers and bare C allocation calls that bypass the Engine memory system.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--fail-on {error,warning,none}
Minimum severity that fails the command (default: error).
smart-pointer
Check the ptr/nptr/unique/refcount smart-pointer vocabulary and raw-pointer boundaries.
Stable ID: helper-cli.native-source-audit.command.smart-pointer
usage: native_source_audit.py smart-pointer [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}] [--inventory] [--inventory-output INVENTORY_OUTPUT] [--inventory-details-output INVENTORY_DETAILS_OUTPUT]
[--summary-output SUMMARY_OUTPUT] [--jobs JOBS]
Exact --help output
usage: native_source_audit.py smart-pointer [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}] [--inventory] [--inventory-output INVENTORY_OUTPUT] [--inventory-details-output INVENTORY_DETAILS_OUTPUT]
[--summary-output SUMMARY_OUTPUT] [--jobs JOBS]
Check the smart-pointer vocabulary, nullable checks and raw-pointer boundary shapes with text rules.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--fail-on {error,warning,none}
Minimum severity that fails the command (default: error).
--inventory Print non-failing inventory counters for pointer vocabulary and raw-pointer markers.
--inventory-output INVENTORY_OUTPUT
Write per-file inventory counters as TSV.
--inventory-details-output INVENTORY_DETAILS_OUTPUT
Write line-level inventory markers as TSV.
--summary-output SUMMARY_OUTPUT
Write a JSON summary of findings and inventory counters.
--jobs JOBS Worker processes; 0 uses the CPU count; output order does not depend on it (default: 0).
smart-pointer-ast
Find raw pointer declarations on lines added since a git revision with clang-query.
Stable ID: helper-cli.native-source-audit.command.smart-pointer-ast
usage: native_source_audit.py smart-pointer-ast [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--diff-base DIFF_BASE] [--all]
Exact --help output
usage: native_source_audit.py smart-pointer-ast [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--diff-base DIFF_BASE] [--all]
Run clang-query over a compilation database and report raw pointer declarations, fields, parameters and returns.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--diff-base DIFF_BASE
Report only matches on lines added since this git revision.
--all Report every match in the scopes instead of added lines only.
local-variables
Find redundant top-level const locals (clang-query) and use-after-move (clang-tidy).
Stable ID: helper-cli.native-source-audit.command.local-variables
usage: native_source_audit.py local-variables [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--checks {all,redundant-local-const,use-after-move}]
[--mode {check,report,apply}]
Exact --help output
usage: native_source_audit.py local-variables [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--checks {all,redundant-local-const,use-after-move}]
[--mode {check,report,apply}]
Run clang-query and clang-tidy over a compilation database to find redundant top-level local const and use-after-move.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--checks {all,redundant-local-const,use-after-move}
Checks to run (default: all).
--mode {check,report,apply}
check fails on active findings; report never fails; apply removes redundant const (requires --checks redundant-local-const).
explicit-local-types
Find auto locals whose deduced type is a simple explicit type (clang-query).
Stable ID: helper-cli.native-source-audit.command.explicit-local-types
usage: native_source_audit.py explicit-local-types [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--mode {check,report,apply}] [--also-redundant-local-const]
[--json JSON] [--apply-report APPLY_REPORT]
Exact --help output
usage: native_source_audit.py explicit-local-types [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--mode {check,report,apply}] [--also-redundant-local-const]
[--json JSON] [--apply-report APPLY_REPORT]
Run clang-query over a compilation database and report auto locals that must spell their simple type explicitly.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--mode {check,report,apply}
check fails on candidates; report never fails; apply rewrites the eligible auto tokens.
--also-redundant-local-const
Run the redundant-local-const matcher in the same AST pass.
--json JSON Write the full candidate report as JSON.
--apply-report APPLY_REPORT
Apply a previously reviewed JSON report without running clang-query (requires --mode apply).
Native safety audits
Reject native code that changes entity cover behind server script exports and gate per-function exception-safety classifications of Engine and project sources against committed baselines, including markerless throw-capable functions that have no row.
- Stable ID:
helper-cli.native-safety-audit - Program:
native_safety_audit.py - Owner:
quality - Audience:
engine-contributor,game-developer,embedding-project-build-system,ci-maintainer - Invocation owner: Engine validate workflow, embedding-project native validation tasks and CI
- Parser source: BuildTools/native_safety_audit.py
Top-level arguments
No arguments at this level.
Exact top-level --help output
usage: native_safety_audit.py [-h] command ...
Audit Engine and project native sources against the entity-cover and exception-safety contracts.
positional arguments:
command
sync-scope reject native code that obtains, replaces or releases entity cover for script exports
exception-safety
check per-function exception-safety classifications against the baselines
options:
-h, --help show this help message and exit
sync-scope
reject native code that obtains, replaces or releases entity cover for script exports
Stable ID: helper-cli.native-safety-audit.command.sync-scope
usage: native_safety_audit.py sync-scope [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--json]
Exact --help output
usage: native_safety_audit.py sync-scope [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--json]
options:
-h, --help show this help message and exit
--root ROOT repository root for --scope, --config and --baseline paths (default: current directory)
--engine-root ENGINE_ROOT
Engine checkout to audit (default: the checkout that contains this script)
--scope DIR root-relative project native directory audited with the Engine rules (repeatable)
--config FILE project JSON configuration with vendored exclusions and reviewed project rules
--baseline FILE project baseline TSV for findings in the --scope directories
--json print the summary and diagnostics as JSON
exception-safety
check per-function exception-safety classifications against the baselines
Stable ID: helper-cli.native-safety-audit.command.exception-safety
usage: native_safety_audit.py exception-safety [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--fail-on {error,warning}] [--require-classified]
[--level {NoThrow,Strong,Basic,None,Unclassified}] [--area AREA] [--file FILE_FILTER] [--function FUNCTION_FILTER] [--add-new] [--add-markerless] [--prune-removed] [--migrate-signatures]
[--accept FILE::FUNCTION] [--accept-all-changed]
[{audit,report,update}]
Exact --help output
usage: native_safety_audit.py exception-safety [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--fail-on {error,warning}] [--require-classified]
[--level {NoThrow,Strong,Basic,None,Unclassified}] [--area AREA] [--file FILE_FILTER] [--function FUNCTION_FILTER] [--add-new] [--add-markerless] [--prune-removed] [--migrate-signatures]
[--accept FILE::FUNCTION] [--accept-all-changed]
[{audit,report,update}]
positional arguments:
{audit,report,update}
audit (default) fails on drift; report summarizes the baselines; update maintains them
options:
-h, --help show this help message and exit
--root ROOT repository root for --scope, --config and --baseline paths (default: current directory)
--engine-root ENGINE_ROOT
Engine checkout to audit (default: the checkout that contains this script)
--scope DIR root-relative project native directory audited with the Engine rules (repeatable)
--config FILE project JSON configuration with vendored exclusions and reviewed project rules
--baseline FILE project baseline TSV for findings in the --scope directories
--fail-on {error,warning}
audit: also fail on warnings (pending None adjudication, review notes)
--require-classified audit: fail on markerless functions without a row that contain throw points or call classified functions, and on rows with a level whose status is still unclassified
--level {NoThrow,Strong,Basic,None,Unclassified}
report: list rows with this level
--area AREA report: list rows of this source area (second path component)
--file FILE_FILTER report: list rows whose file contains this text
--function FUNCTION_FILTER
report: list rows whose function contains this text
--add-new update: add unclassified rows for new functions
--add-markerless update: add unclassified rows for the markerless functions the audit reports
--prune-removed update: remove rows whose function vanished
--migrate-signatures update: carry classifications across signature-only changes with identical body hashes
--accept FILE::FUNCTION
update: refresh the body hash of a re-derived function (repeatable)
--accept-all-changed update: refresh every changed body hash
Android device control
Discover, connect, install, launch, stop, and inspect Android Wi-Fi devices through adb.
- Stable ID:
helper-cli.android-device - Program:
android_device.py - Owner:
platform - Audience:
game-developer,engine-contributor - Invocation owner: embedding-project Android tasks and direct developer use
- Parser source: BuildTools/android_device.py
Top-level arguments
Exact top-level --help output
usage: android_device.py [-h] [--workspace-root WORKSPACE_ROOT] {discover,connect,install,launch,launch-game,stop,logcat} ...
Android Wi-Fi device helper for BuildTools tasks
positional arguments:
{discover,connect,install,launch,launch-game,stop,logcat}
discover List Android Wi-Fi devices discovered through adb mdns
connect Connect to an Android Wi-Fi device and cache the endpoint
install Install an APK on the selected Android Wi-Fi device
launch Launch an Android activity on the selected device
launch-game Launch the Android game activity and pass RemoteSceneLaunch server host override
stop Force-stop an Android package on the selected device
logcat Stream logcat from the selected device
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
Workspace directory path containing android-sdk and android-debug
discover
List Android Wi-Fi devices discovered through adb mdns
Stable ID: helper-cli.android-device.command.discover
usage: android_device.py discover [-h]
No arguments at this level.
Exact --help output
usage: android_device.py discover [-h]
options:
-h, --help show this help message and exit
connect
Connect to an Android Wi-Fi device and cache the endpoint
Stable ID: helper-cli.android-device.command.connect
usage: android_device.py connect [-h] [--device DEVICE]
Exact --help output
usage: android_device.py connect [-h] [--device DEVICE]
options:
-h, --help show this help message and exit
--device DEVICE Device IP[:port]; if omitted, auto-discovery and interactive selection are used
install
Install an APK on the selected Android Wi-Fi device
Stable ID: helper-cli.android-device.command.install
usage: android_device.py install [-h] --apk APK [--device DEVICE]
Exact --help output
usage: android_device.py install [-h] --apk APK [--device DEVICE]
options:
-h, --help show this help message and exit
--apk APK APK path
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
launch
Launch an Android activity on the selected device
Stable ID: helper-cli.android-device.command.launch
usage: android_device.py launch [-h] --activity ACTIVITY [--device DEVICE]
Exact --help output
usage: android_device.py launch [-h] --activity ACTIVITY [--device DEVICE]
options:
-h, --help show this help message and exit
--activity ACTIVITY Fully qualified activity component, e.g. com.example.game/.FOnlineActivity
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
launch-game
Launch the Android game activity and pass RemoteSceneLaunch server host override
Stable ID: helper-cli.android-device.command.launch-game
usage: android_device.py launch-game [-h] --activity ACTIVITY [--device DEVICE] [--server-host SERVER_HOST]
Exact --help output
usage: android_device.py launch-game [-h] --activity ACTIVITY [--device DEVICE] [--server-host SERVER_HOST]
options:
-h, --help show this help message and exit
--activity ACTIVITY Fully qualified activity component, e.g. com.example.game/.FOnlineActivity
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
--server-host SERVER_HOST
Host IP or name for ClientNetwork.ServerHost; if omitted, auto-detected from the route to the selected device
stop
Force-stop an Android package on the selected device
Stable ID: helper-cli.android-device.command.stop
usage: android_device.py stop [-h] --package PACKAGE_NAME [--device DEVICE]
Exact --help output
usage: android_device.py stop [-h] --package PACKAGE_NAME [--device DEVICE]
options:
-h, --help show this help message and exit
--package PACKAGE_NAME
Android package name
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
logcat
Stream logcat from the selected device
Stable ID: helper-cli.android-device.command.logcat
usage: android_device.py logcat [-h] [--device DEVICE]
Exact --help output
usage: android_device.py logcat [-h] [--device DEVICE]
options:
-h, --help show this help message and exit
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
Local web server
Serve a packaged web client from a no-cache local HTTP server.
- Stable ID:
helper-cli.simple-web-server - Program:
simple-web-server.py - Owner:
platform - Audience:
game-developer,release-operator - Invocation owner: BuildTools/package.py WebServer payload
- Parser source: BuildTools/web/simple-web-server.py
Top-level arguments
Exact top-level --help output
usage: simple-web-server.py [-h] [--port PORT] [--fork]
Simple HTTP server
options:
-h, --help show this help message and exit
--port PORT web server port
--fork fork process
Artifact checksums
Write or verify SHA-256 sidecars and an optional manifest for finished release packages.
- Stable ID:
helper-cli.artifact-checksums - Program:
artifact_checksums.py - Owner:
build-release - Audience:
release-operator,ci-maintainer,embedding-project-build-system - Invocation owner: embedding-project release jobs after the last package writer stops
- Parser source: BuildTools/artifact_checksums.py
Top-level arguments
Exact top-level --help output
usage: artifact_checksums.py [-h] [--artifact RELATIVE_PATH] [--suffix SUFFIX] [--manifest FILENAME] [--no-sidecars] [--verify] directory
Write or verify SHA-256 sidecars and an optional manifest for finished release packages.
positional arguments:
directory finished package directory, before publication
options:
-h, --help show this help message and exit
--artifact RELATIVE_PATH
select this file, relative to the directory, instead of scanning the directory root; repeatable
--suffix SUFFIX case-insensitive file-name suffix to select; repeatable; replaces the default .zip, .tar, .tar.gz, .msi and .apk
--manifest FILENAME also write (or verify) one manifest of every selected file at the directory root, for example SHA256SUMS
--no-sidecars write or verify only the manifest; requires --manifest
--verify compare existing sidecars and manifest with the current file bytes instead of writing them
Project version generator
Generate or check a machine-written monotonic project VERSION file with a built-in or project-owned version scheme.
- Stable ID:
helper-cli.project-version - Program:
project_version.py - Owner:
build-release - Audience:
game-developer,ci-maintainer,embedding-project-build-system - Invocation owner: embedding-project version tasks, hooks and CI checks
- Parser source: BuildTools/project_version.py
Top-level arguments
Exact top-level --help output
usage: project_version.py [-h] [--root ROOT] [--config CONFIG] [--file FILE] [--base-ref BASE_REF] [--scheme SCHEME] [--limit COMPONENT=N] [--since-commit SINCE_COMMIT] [--check]
Generate or check a machine-written monotonic project VERSION file against Git history.
options:
-h, --help show this help message and exit
--root ROOT directory inside the project work tree (default: current directory)
--config CONFIG JSON file with any of file, base_ref, scheme, limits, since_commit; options given on the command line win
--file FILE version file relative to --root (default: VERSION)
--base-ref BASE_REF Git ref whose version the next value must exceed, for example origin/main; required to generate
--scheme SCHEME built-in patch-per-commit (default) or counter, or <file.py or module>:<factory> of a project scheme
--limit COMPONENT=N exclusive upper bound of one scheme component, for example patch=10000; a full component carries into the previous one; repeatable
--since-commit SINCE_COMMIT
ignore values committed before this commit, for example where the encoding changed; it must be an ancestor of every compared ref
--check validate the working-tree file without writing it
Release preflight
Validate a project release version, tag and assets, choose publish or dry-run, split oversized assets and write a checksum manifest.
- Stable ID:
helper-cli.release-preflight - Program:
release_preflight.py - Owner:
build-release - Audience:
release-operator,ci-maintainer - Invocation owner: embedding-project manual release jobs before tagging and publication
- Parser source: BuildTools/release_preflight.py
Top-level arguments
Exact top-level --help output
usage: release_preflight.py [-h] [--root ROOT] [--config CONFIG] [--file FILE] [--scheme SCHEME] [--limit COMPONENT=N] [--tag-prefix TAG_PREFIX] [--remote REMOTE] [--ref REF] [--release-ref RELEASE_REF] [--dry-run] [--engine PATH]
[--assets-dir ASSETS_DIR] [--asset-pattern GLOB] [--max-asset-bytes SIZE] [--manifest FILENAME] [--outputs-file OUTPUTS_FILE] [--summary-file SUMMARY_FILE]
Validate the version, tag and assets of a project release and decide between publish and dry-run.
options:
-h, --help show this help message and exit
--root ROOT directory inside the project work tree (default: current directory)
--config CONFIG project_version.py JSON config; its file, scheme and limits apply here
--file FILE version file relative to --root (default: VERSION)
--scheme SCHEME version scheme, as for project_version.py (default: patch-per-commit)
--limit COMPONENT=N scheme component limit, as for project_version.py; repeatable
--tag-prefix TAG_PREFIX
release tag prefix before the version (default: v)
--remote REMOTE also look for the tag on this Git remote, for example origin
--ref REF ref being released, for example refs/heads/main (default: the branch checked out at HEAD)
--release-ref RELEASE_REF
only this ref publishes; every other ref is a dry run, and without it every run is a dry run
--dry-run force dry-run mode even on the release ref
--engine PATH also require the committed gitlink of this Engine submodule to be reachable from a remote-tracking branch of the submodule
--assets-dir ASSETS_DIR
directory whose root-level files are the release assets
--asset-pattern GLOB file-name pattern of the assets in --assets-dir; repeatable (default: every file)
--max-asset-bytes SIZE
split each larger asset into <name>.partNN pieces of at most SIZE bytes; K, M and G suffixes are powers of 1024
--manifest FILENAME write a SHA-256 manifest of the final assets into --assets-dir
--outputs-file OUTPUTS_FILE
append version, tag, previous_tag, publish and assets as key=value lines, for example to $GITHUB_OUTPUT
--summary-file SUMMARY_FILE
append a Markdown summary, for example to $GITHUB_STEP_SUMMARY
Engine upgrade report
Write a Markdown Engine update record with the Engine identities, the incoming range, changelog migrations and a project name search.
- Stable ID:
helper-cli.engine-upgrade-report - Program:
engine_upgrade_report.py - Owner:
documentation - Audience:
game-developer,engine-contributor - Invocation owner: embedding-project Engine update work, run from the project root
- Parser source: BuildTools/engine_upgrade_report.py
Top-level arguments
Exact top-level --help output
usage: engine_upgrade_report.py [-h] [--project PROJECT] [--engine ENGINE] [--old OLD] [--new NEW] [--changelog CHANGELOG] [--names NAMES] [--search-path PATHSPEC] [--max-locations MAX_LOCATIONS] [--output OUTPUT] [--force]
Write a Markdown Engine update record for an embedding project from read-only Git queries.
options:
-h, --help show this help message and exit
--project PROJECT embedding project work tree (default: current directory)
--engine ENGINE Engine checkout relative to --project (default: Engine)
--old OLD baseline Engine revision (default: the parent gitlink at HEAD)
--new NEW target Engine revision, for example a commit or a v<version> tag (default: the Engine checkout HEAD)
--changelog CHANGELOG
changelog path inside the Engine repository, read at the target revision (default: Docs/en/reference/changelog.md)
--names NAMES text file with one literal name per line to search in the project sources; blank lines are ignored
--search-path PATHSPEC
project pathspec to search for the names; repeatable (default: the whole project except the Engine checkout)
--max-locations MAX_LOCATIONS
locations listed per name in the record; the match count is always complete (default: 20)
--output OUTPUT write the record to this file instead of standard output
--force replace an existing --output file
Script binding check
Reject raw pointers in script-facing native signatures and compare AngelScript handler nullability with event and remote-call declarations.
- Stable ID:
helper-cli.script-binding-check - Program:
check_script_bindings.py - Owner:
quality - Audience:
game-developer,engine-contributor,ci-maintainer - Invocation owner: Engine CI and embedding-project quality gates
- Parser source: BuildTools/check_script_bindings.py
Top-level arguments
Exact top-level --help output
usage: check_script_bindings.py [-h] [--root ROOT] [--scope DIR] [--scripts DIR] [--exclude GLOB] [--baseline TSV] [--write-baseline TSV] [--list-rules]
Check script-facing native signatures for ptr/nptr spelling and compare AngelScript handlers with event and remote-call declarations
options:
-h, --help show this help message and exit
--root ROOT repository root that scopes and reported paths are relative to (default: the Engine root that contains this script)
--scope DIR root-relative native source directory; repeatable (default: Source)
--scripts DIR root-relative AngelScript directory whose handlers are compared; repeatable
--exclude GLOB fnmatch pattern for root-relative POSIX paths to skip; repeatable
--baseline TSV accepted findings (rule, path, count, reason TSV); repeatable
--write-baseline TSV write current finding counts with empty reasons instead of gating
--list-rules print rule identifiers and exit
AngelScript hygiene check
Check authored AngelScript modules for namespace, include, side-macro, sort-directive and file-ending conventions with a count-ratchet baseline.
- Stable ID:
helper-cli.angelscript-hygiene-check - Program:
check_angelscript_hygiene.py - Owner:
quality - Audience:
game-developer,engine-contributor,ci-maintainer - Invocation owner: Engine CI and embedding-project quality gates
- Parser source: BuildTools/check_angelscript_hygiene.py
Top-level arguments
Exact top-level --help output
usage: check_angelscript_hygiene.py [-h] [--root ROOT] [--scripts DIR] [--config JSON] [--exclude GLOB] [--baseline TSV] [--write-baseline TSV] [--list-rules]
Check authored AngelScript modules for namespace, include, side-macro, sort-directive and file-ending conventions with an optional count-ratchet baseline
options:
-h, --help show this help message and exit
--root ROOT repository root that script directories and reported paths are relative to (default: the Engine root that contains this script)
--scripts DIR root-relative directory searched recursively for .fos files; repeatable (default: Examples)
--config JSON rule switches, rule options and excludes (schema_version 1)
--exclude GLOB fnmatch pattern for root-relative POSIX paths to skip; repeatable
--baseline TSV accepted findings (rule, path, count, reason TSV); repeatable
--write-baseline TSV write current finding counts with empty reasons instead of gating
--list-rules print rule identifiers, defaults and exit
MSI creation
Build an MSI installer from a package-generated WiX definition.
- Stable ID:
helper-cli.createmsi - Program:
createmsi.py - Owner:
build-release - Audience:
release-operator,engine-contributor - Invocation owner: BuildTools/package.py Wix pack
- Parser source: BuildTools/msicreator/createmsi.py
Top-level arguments
Exact top-level --help output
usage: createmsi.py [-h] [--wix-dir directory] definition.json
Build an MSI package from a WiX definition
positional arguments:
definition.json bare WiX package definition filename in the working directory
options:
-h, --help show this help message and exit
--wix-dir directory directory containing WiX tools; omit to find them on PATH
Movement synchronization trace analysis
Merge Network.MoveSyncTrace MOVESYNC log lines into per-scenario divergence, lag and correction reports.
- Stable ID:
helper-cli.move-sync-analysis - Program:
move_sync_analysis.py - Owner:
networking - Audience:
game-developer,engine-contributor,ci-maintainer - Invocation owner: embedding-project movement playtests and direct developer diagnostics
- Parser source: BuildTools/move_sync_analysis.py
Top-level arguments
Exact top-level --help output
usage: move_sync_analysis.py [-h] --geometry {hexagonal,square} [--clock {t,st}] [--actor ACTOR] [--settle-ms SETTLE_MS] [--extra-side EXTRA_SIDE] [--timeline TIMELINE] [--json JSON] [--markdown MARKDOWN] [--require-converged]
logs [logs ...]
Analyse MOVESYNC movement synchronization traces written with Network.MoveSyncTrace.
positional arguments:
logs log files holding MOVESYNC lines (server and clients)
options:
-h, --help show this help message and exit
--geometry {hexagonal,square}
world grid geometry of the project (FO_GEOMETRY)
--clock {t,st} t: shared monotonic clock (one machine); st: synchronized time (several machines)
--actor ACTOR analyse the whole trace as one scenario of this critter id instead of mark-delimited scenarios
--settle-ms SETTLE_MS
extend each scenario window by this many milliseconds after its end mark
--extra-side EXTRA_SIDE
also read MOVESYNC lines of this project-written side into timelines (repeatable)
--timeline TIMELINE print the merged timeline of a scenario label (repeatable, or 'all')
--json JSON write the full report as JSON
--markdown MARKDOWN write the Markdown summary table
--require-converged exit 1 when any scenario ends with the views disagreeing
Text pack lint
Check raw .fotxt packs for parse errors, duplicate variants, wrong-script text and language key parity before baking.
- Stable ID:
helper-cli.check-text-packs - Program:
check_text_packs.py - Owner:
localization - Audience:
game-developer,embedding-project-build-system,ci-maintainer - Invocation owner: embedding-project localization tasks and CI content gates
- Parser source: BuildTools/check_text_packs.py
Top-level arguments
Exact top-level --help output
usage: check_text_packs.py [-h] (--languages LANGUAGES | --config CONFIG) [--sub-config SUB_CONFIG] [--script LANGUAGE=SCRIPTS] [--ignore-pattern REGEX] [--sparse LANGUAGE] [--strict-variant-counts] [--baseline BASELINE]
[--base-dir BASE_DIR] [--json JSON]
roots [roots ...]
Lint raw .fotxt text packs against the Engine grammar and language normalization.
positional arguments:
roots text directories to scan recursively; each root is checked as one resource-pack input
options:
-h, --help show this help message and exit
--languages LANGUAGES
ordered Baking.BakeLanguages declarations, such as 'engl russ'
--config CONFIG main .fomain config whose Baking.BakeLanguages is read
--sub-config SUB_CONFIG
sub-config applied over the main config section (with --config)
--script LANGUAGE=SCRIPTS
letter scripts a language allows, such as engl=latin (repeatable)
--ignore-pattern REGEX
text removed before the script check, such as project placeholders (repeatable)
--sparse LANGUAGE language that intentionally inherits missing packs and keys from its fallback (repeatable)
--strict-variant-counts
also report keys whose variant count differs from the fallback language
--baseline BASELINE JSON exemption file with a reason per known finding (repeatable)
--base-dir BASE_DIR directory that finding and exemption paths are relative to (default: current directory)
--json JSON also write the remaining findings as JSON
Mechanics recipe gate
Check mechanics recipe pages, their Russian mirrors and the section index against the recipe manifest, the example files they quote and the generated API model.
- Stable ID:
helper-cli.mechanics-recipes - Program:
mechanics_recipes.py - Owner:
documentation - Audience:
engine-contributor,game-developer,ci-maintainer - Invocation owner: Engine documentation tests, recipe authors and CI documentation checks
- Parser source: BuildTools/mechanics_recipes.py
Top-level arguments
Exact top-level --help output
usage: mechanics_recipes.py [-h] (--check | --list) [--root ROOT] [--manifest MANIFEST] [--api-model API_MODEL]
Check mechanics recipe pages against their recipe manifest, example files and the generated API model
options:
-h, --help show this help message and exit
--check validate the manifest, pages, Russian mirrors, section index and example files
--list print the recipes and cross-cutting pages from the manifest without validating them
--root ROOT Engine checkout to check (default: the checkout that contains this script)
--manifest MANIFEST recipe manifest (default: Examples/MechanicsSandbox/recipes.json under --root)
--api-model API_MODEL
generated API model (default: Docs/generated/api.json under --root)