QuadSpinner Gaea
Download GaeaTalk to Support
  • User Guide
  • Node Reference
  • Changelog
  • Home
  • Getting Started
    • Install Gaea
      • Regular Installation
      • Portable Installation
      • Mass Deployment
      • Troubleshooting
      • Version Numbers
      • Uninstall or Clean Install
    • License Management
      • Activation
      • Deactivation
      • Hardware Thumbprint
      • Floating License
    • User Interface
      • Graph
      • Viewport
        • Render Modes
        • 2D Viewport
        • Measurement Tools
      • Property Editor
        • Modifier Stack
        • Presets
        • Binding Variables
      • Data Editor
        • Terrain View
        • Export View
        • Automation View
      • Menus and Toolbars
        • Main Menu
        • Undo and Autosave
        • Graph Toolbar
        • Viewport Toolbar
        • Property Editor Toolbar
        • Data Editor Toolbar
      • Lazy Menu
      • Keyboard Shortcuts
    • The Graph
      • Procedural Workflow
      • Toolbox and Search
      • Lock Preview and Underlays
      • Suspending Engine
      • Graph Conveniences
      • Portals and Chokepoints
      • Organizing with Tabs
      • Annotations
      • Groups
    • Managing Gaea
      • Command-line Interface
      • Options
        • Compute
      • Autosave and Recovery
    • For Gaea 1 Users
      • Migration Guide
      • Node Changes
  • Using Gaea
    • Terrain Basics
      • Creating a Snow Mountain
      • Creating a Simple Landscape
      • Exporting Elements
      • Importing Meshes
      • Masks
      • Non-Determinism
      • Scale and Resolution
      • Memory Requirements
    • Crafting the Surface
      • Noises, Primitives, and Landscapes
      • Erosion
      • Surface Nodes
      • Transpose Shapes
    • Understanding Erosion
      • Erosion_2
      • Erosion_1
      • Thermal Erosion
      • Additional Erosion Nodes
      • Nuance
    • Simulations
      • Snowfall
      • Debris
      • Water
      • Vegetation
    • Colorizing and Textures
      • Crafting Masks
      • Working with SatMaps
      • Synthesizing Colors
      • Layering Textures
      • ColorErosion
    • Managing Graphs
      • Using Modifiers
      • Portals and Chokepoints
      • Visualizing Scale
      • Accumulators
      • Navigating Complex Graphs
    • Baking Nodes
      • Linchpin Nodes
    • Build and Export
      • Exporting Nodes
      • Build Options
        • Managing Regions
      • Tiled Builds
      • Using Regions
      • Profiles and Batch Builds
      • Batch Builds
      • Mesh Exports
        • Tangent-Space Normals and Warped Maps
      • Application Specific Export Nodes
        • Unreal Node
        • Unity Node
    • Importing Terrains
      • Universal Instructions
      • Software-specific Instructions
        • Unreal
      • Common Issues
  • Advanced Topics
    • Build Swarm
      • Creating Mutations
      • Build Reports
    • Technical Information
      • File Formats
      • Learning and Predictive System
      • Paths and Storage
      • Dimensions and Scale
      • Calculating Memory Requirements
    • Automation
      • Command Line Automation
      • Managing Input and Output
      • Building a Bridge with the CLI
  • Plugins
    • Gaea2Houdini
      • Installing Gaea2Houdini
      • Using Gaea Nodes
    • Gaea2Unreal
      • Installing Gaea2Unreal
      • Importing Terrains
      • Importing Weight Maps
  • Developers
    • Scripting and Expressions
      • Variables
      • Expressions
      • Math Node
    • TOR Platform SDK
  • Troubleshooting
    • Terrains
      • Common Errors
      • Terrain Quality
    • Diagnostics (Watson)
      • Diagnostics Package
      • CPU Only Mode
      • Benchmark Devices
Powered by GitBook
LogoLogo

Copyright © 2020-2025 QuadSpinner. All rights reserved.

On this page
  • Arguments
  • Using Files for Variables
  1. Advanced Topics
  2. Automation

Command Line Automation

PreviousAutomationNextManaging Input and Output

Last updated 2 months ago

Gaea's Build Swarm (Gaea.Swarm.exe) can be automated via the command line interface.

See Command-line Interface for details on the full CLI available in both Gaea.exe and Gaea.Swarm.exe

Arguments

The Build Swarm can accept the following arguments:

Argument
Description

-filename <filename>

The fully qualified path to the .terrain file that should be built. It should be wrapped "" quotes for safety.

-interactive

Show interactive prompts when launched from the CLI.

-ignorecache

Ignore baked cache when set to true.

-verbose

Enable Verbose logging for diagnostics purposes.

-safemode

Enforce Sade Mode for debugging or diagnostics purposes. Not recommended for production builds.

-seed <int>

Mutation seed to use for the build.

-v or --v

-v foo=bar -v value=0.35 -v erosion=1

--va <string>

Comma separated variable values alphanumerically-sorted by variable names. Must include all values. This is to help reduce character count by not having to i

Variables passed this argument must be equal in count to the number of variables declared in the terrain file.

-vars <filename>

Instead of -v the -vars argument can be used to pass a specifically formatted plain text or JSON file to provide Variable values.

The Build Options window has a helpful button to Show Command Line that will show the current file's Build Command Line including all variables. It is useful to copy this and then modify it as needed.

Using Files for Variables

You can store variables in delimited files or JSON and pass them in the -v argument. This is useful for more complex automation where an external tool may save variables instead of passing them directly to a command line.

Text file

The text file is an INI style dictionary of key-value pairs.

variable=value
filename=C:\Path\File.ext
erosion=0.35
switchErosionProcess=1

JSON File

{
  "variable": value,
  "filename": "C:\Path\File.ext",
  "erosion": 0.35,
  "switchErosionProcess": 1
}

Variable names cannot be repeated.

To see how variables can be bound to node properties, see Variables

Variables. This argument marks the beginning of key-value pairs of variables. This must ALWAYS be the last argument. All other switches and arguments should precede -v

The -v argument must be repeated for each variable (key-value pair). For example:

⚠️
⚠️