Game Command Line#
This page describes the command line of the game Acres. The Option Index lists each option with the source files that read it.
Synopsis#
Description#
Without an option, the game shows the menu. The menu writes a session folder and then starts the simulation again with options of this page. Thus a script can start each session that the menu starts.
An option starts with one hyphen. A switch has no value, for example -SessionLog. A value option has the form -Name=value, for example -EnvHour=10.5. Put a path that contains spaces in quotation marks. Most options apply to agent 0 only. The agents file (-Agents=) gives the settings of the other agents.
The game stops with a message when a value is outside its permitted range. The message is in the log file of the game.
Options#
Session Type#
-VehicleDemo- Starts a session with a vehicle. No menu shows.
-ShellView- Starts a free camera for an inspection of the map. No vehicle exists.
-FromMenu- The menu sets this switch. Esc then opens the pause menu.
-SessionMode=simulation|replay|pilot- The menu sets this value. With
replay, the HUD shows a replay row. -MapData=NAME|DIR- The map of the session.
defaultor no value is the map inGame/Content/Simulation. A name without/is a map variant inGame/Content/SimulationMaps/NAME, for exampleacre-mixed. A folder must containACRE/site.json. -NoHUD- Hides the HUD.
-ReplayDirector- In an episode replay of several vehicles, the view goes to a moving vehicle when the vehicle in view stands still for 4 s.
-nullrhi- A standard Unreal switch: no rendering. The game then uses no GPU LiDAR and no soil visuals.
View Camera#
The view camera follows the vehicle on a boom. The game limits each value to the range that the description gives.
-CameraCab- Starts in the cab view. C changes the view.
-CameraRear- Starts in the view of the rear camera. It needs the sensor recorder (
-SensorRecordor-SensorStream=). -FarmCameraYaw=DEG- The yaw of the boom relative to the vehicle. Default: 0.
-FarmCameraPitch=DEG- The pitch of the boom, from -80 to -5. Default: -18.
-FarmCameraDistance=M- The length of the boom, from 4 to 20. Default: 9 for the Maxxum, 7 for the Polaris.
-FarmCameraSide=M- The side offset of the camera, from -5 to 5. Default: 0.
-FarmCameraBack=M- The rear offset of the boom pivot, from 0 to 10. Default: 0.
Vehicles and Agents#
A session has one to 8 agents. The game reads the first of -Agents=, -Vehicles= and -Vehicle= that it finds.
-Vehicle=maxxum|polaris- The vehicle of a session with one agent. Default:
maxxum. -Vehicles=LIST- One agent for each entry, for example
maxxum,polaris. An entry can have a pose:polaris@U:V:YAW(survey grid cell and Unreal yaw in degrees) orpolaris@utm:EASTING:NORTHING:HEADING(UTM zone 16N, heading clockwise from grid north). -Agents=FILE- A JSON file with the list
agents. Each entry has the keys of Agents File. -PolarisFinish=graphite|forest_green|desert_tan|deep_blue- The paint of the Polaris. Default:
graphite. -PolarisOccupants=N- The number of persons in the Polaris, from 0 to 6. Default: 1.
-SpawnAt=PLACE- The start place of agent 0: a point id or a name of
places.json. Default:spawn-icsc-garage. An unknown place gives a warning and the default place. -VehicleSpawnU=CELL,-VehicleSpawnV=CELL,-VehicleSpawnYaw=DEG- The start pose of agent 0 on the survey grid. These options have priority over
-SpawnAt=.
Parameter Files#
These options replace a file of Game/Content/Simulation (or of the map folder) with a different file.
-VehicleConfig=FILE- The Maxxum, soil, surface and implement parameters. Default:
tractor.json. -PolarisConfig=FILE- The Polaris parameters. Default:
polaris.json. -PolarisSet=KEY=VALUE;...- Changes Polaris parameters. The keys are the dotted keys of
polaris.json. -SensorConfig=FILE- The sensor configuration. Default:
sensors.json. -PolarisSensorConfig=FILE- The sensor file that the game puts on the sensor configuration for the Polaris. Default:
sensors_polaris.json. -MaxxumSensorConfig=FILE- The sensor file that the game puts on the sensor configuration for the Maxxum: the roof LiDAR and the front and rear cameras. The mounts are assumed: the real tractor has no sensors. Default:
sensors_maxxum.json. -EnvConfig=FILE- The clock and the weather. Default:
environment.json. A missing file keeps the built-in values. -FieldSetup=DIR- A folder with the field setup that the menu writes.
-VehicleOutput=DIR- The session folder. Default:
Saved/Vehiclein the project folder of the game.
Maxxum and Implement#
-Implement=ID- The implement of the Maxxum:
none,cultivator,chisel_plow,disc_harrow,seed_drill,mounted_sprayer,loader_bale_fork,backhoe_attachmentorsquare_baler. Default:none. -ImplementDepth=M- The working depth of a tillage implement.
-HitchMode=auto|position|draft|float- The control mode of the three-point hitch.
-DraftSetpoint=N- The draft setpoint of draft control, in newtons.
-SprayRate=L_HA,-SeedRate=KG_HA- The application rate of the sprayer and of the seed drill.
-WindrowDensity=KG_M,-BaleMass=KG- The windrow and the bale of the square baler.
-BoomLift=M- The lift of the sprayer boom.
-ImplementSet=KEY=VALUE;...- Changes keys of the implement data file.
-VehicleGear=N- The start gear of the Maxxum, 1-based. Default: the value
initial_gearoftractor.json(10). -VehicleDiffLock=off|rear|all- The differential lock at the start.
-Vehicle2WD- Turns off the front-axle drive.
-VehiclePtoKW=KW- A constant PTO load.
-VehiclePayload=KG- A payload. The limit is the rated payload.
-VehicleSoilClass=NAME,-VehicleSoilTexture=NAME,-VehicleSurface=NAME- The soil class, the soil texture and the surface of the wheels.
-VehicleModel=maxxum_150|legacy- The tractor model.
legacyis the old tractor. -VehicleImplement=NAME,-VehicleImplementType=NAME,-VehicleImplementWidth=M,-VehicleImplementDepth=CM,-VehicleDraft=N- The implement of the legacy tractor.
-VehicleDraft=selects a custom implement with this draft, from 0 to 100000 N. -FarmHarvester- Puts the harvest header and the bunker on the hitch.
-Implement=is then ignored. -FarmHarvestOn- With
-FarmHarvester, the header starts on.
Sensors#
-SensorRecord- Records the sensors of each agent into the session folder. The agent key
sensor_recorddecides for one agent. -SensorOutput=DIR- The folder of the sensor episodes. Default:
sensorsin the session folder. -SensorStream=PORT- Opens the sensor stream on this port. The stream sends the clock, the INS data, the LiDAR clouds and the camera images.
-SensorStreams=PORT,...- One sensor stream port for each agent, in agent order.
-SensorShm- Puts the camera images in shared memory. The stream then sends only a small reference for each image.
-SensorSeed=N- The seed of the sensor noise.
-SensorDelay=S- The delay of the sensor data.
-SensorNoNoise- No noise in any sensor.
-SensorNoCamera,-SensorNoCameraRear,-SensorNoLidar,-SensorNoGnss,-SensorNoImu,-SensorNoIns,-SensorNoCan- Turns off one sensor.
-SensorGnssHz=HZ,-SensorImuHz=HZ,-SensorLidarHz=HZ,-SensorCameraHz=HZ,-SensorCameraRearHz=HZ- The rate of one sensor.
-SensorLidarColumns=N,-SensorLidarRings=N,-SensorLidarRange=M- The scan pattern and the range of the LiDAR.
-SensorLidarReturnMode=MODE- The return mode:
strongest,first,last,dual_strongest_last,dual_first_lastortriple_first_strongest_last. -SensorLidarSubRays=N,-SensorLidarDivergence=MRAD- The sub-rays of one beam and the beam divergence.
-SensorLidarIdeal- A LiDAR scan with no motion distortion and no weather. Add
-SensorNoNoisefor returns without noise. -SensorLidarNoMotion,-SensorLidarNoWeather- Turns off the motion distortion, or the effect of rain and fog.
-SensorLidarRain=MM_H,-SensorLidarVisibility=M- The rain rate and the visibility that the LiDAR model uses.
-SensorCpuLidar- Uses the CPU LiDAR in place of the GPU LiDAR.
-LidarCropState=FILE- The crop state of one day for the LiDAR. A relative path starts at the launch folder.
-LidarPostProcess=async|sync,-LidarResolve=parallel|serial- The processing of the LiDAR scans. Defaults:
async,parallel. -LidarInputDigest- Writes a digest of the inputs of each scan to the log.
-SensorCameraWidth=PX,-SensorCameraHeight=PX,-SensorCameraHfov=DEG- The image size and the field of view of the camera. A calibrated camera keeps its field of view when the size changes.
-SensorCameraExposure=VALUE,-SensorCameraReadout=S- The exposure and the rolling-shutter readout time.
-SensorCameraWarmup=N- The frames that the camera renders before the first image, from 0 to 16.
-SensorCameraIdeal- A pinhole image with no distortion, no rolling shutter, no sensor model and no noise.
-SensorCameraNoDistortion,-SensorCameraNoRollingShutter,-SensorCameraNoNoise- Turns off one part of the camera model.
-SensorCameraNoHistory- Turns off the temporal history of the camera render.
-SensorCameraMainFamily,-SensorCameraShowFlags=NAME=0|1,...- Diagnosis of the camera render: the view family of the main view, and the show flags of the capture.
-SensorCameraSelfTest- Runs the CPU checks of the camera model.
-SensorGnssStart=converged|cold,-SensorGnssFrame=wgs84_g2139|nad83,-SensorGnssBaselineKm=KM,-SensorGnssOutage=START:END- The GNSS start state, the output frame, the distance to the base station and an outage interval in seconds.
-SensorRenderProfile=calibrated|reduced- Pins the sensor render profile.
Weather and Clock#
-EnvDate=YYYY-MM-DD- The start date. With no
-EnvDate, the game starts on the day of the computer's clock (environment.json:"date": "today"). -EnvHour=H- The start time in local hours, from 0 to less than 24.
-EnvMinute=S- The real seconds for one minute of game time.
-EnvLowC=C,-EnvHighC=C- The low and the high temperature of the day. The game checks the two values together.
-EnvWind=MPS,-EnvWindFrom=DEG- The wind speed and the bearing that the wind comes from.
-EnvClouds=clear|partly|overcast- The clouds. Another value gives fair cumulus clouds.
-EnvRain=START_H,END_H,TOTAL_MM- A rain event.
-EnvFog=off|auto|M- The fog: off, from the weather model, or a visibility in metres.
-EnvSeed=N- The seed of the weather.
-EnvRainLens- Rain drops on the lens on all views. Off by default.
-EnvSnow=MM- Snow on the ground at the start, mm of water.
-EnvIce=MM- Glaze ice on the surfaces at the start, mm of water. 0.5 mm covers all surfaces.
-EnvFrozenSoil- The soil is frozen for the session: the wheels do not sink and leave no ruts (Docs/Models/farm.md, Snow and Ice).
-FarmRain=MM_H,-FarmTimeScale=X,-FarmMinC=C,-FarmMaxC=C,-FarmEvap=MM_DAY- Old options of the farm tests: constant rain, the speed of the clock, a fixed temperature range and a fixed evaporation. Use the
-Envoptions.
Farm, Fields and Crops#
-FarmDisabled- No farm and no weather runtime.
-CropSeason=YEAR|legacy- The crop season file
ACRE/crops_YEAR.json. Default:2026. -CropStage=mature|date- The start growth of the crops.
dategives each field the degree days from its planting date to the session date. Default:mature. -FarmInitialGrowth=X- A fixed start growth from 0 to 1 for each field.
-FarmInitialTheta=X- The start soil water as a fraction from the wilting point to the field capacity, from 0 to 1.
-FarmKsatScale=X- A factor on the saturated conductivity, from more than 0 to 10.
-FarmPreDays=N- Runs the water model for N days before the start, from 0 to 366.
-FarmLoad=FILE- Loads a saved farm state.
-FarmFresh- With
-ReplayFile=, does not load the farm state of the replay folder. -FarmGeneratedCrops=true|false- Makes the generated crop instances. Default: true.
-CropSpatialGroups- An experimental grouping of the crop instances.
-FarmWaterFlat- A flat material for standing water.
-NoCropMarks,-NoFieldDetail,-NoGroundCoverFit- Turns off the crop marks, the field detail and the fit of the ground cover.
Regional Ground#
-DriveRegion- Loads the surveyed ground around the tile (
ACRE/DriveRegion/region.bin). -DriveRegionStreaming- Streams the regional ground chunks.
-RegionPrefetchSeconds=S,-RegionPadding=M,-RegionUnloadGrace=S,-RegionMaxChunks=N,-RegionLoadsPerTick=N- The stream settings.
-RegionMaxChunks=is from 1 to 128 (default 32).-RegionLoadsPerTick=is from 1 to 8. -RegionCrops=true|false- The standing crops of the regional fields.
-RegionColumns=true|false- The soil-water columns of the regional fields. Default: true.
-NoRegionRutTiles- No rut tiles on the regional ground.
-RegionCropLod=,-RegionCropShadows=,-RegionCropCrushLook=,-RegionCropShadowCache=,-RegionCropCullDistance=,-RegionCropComponentsPerTick=,-RegionCropShadowDistance=,-RegionCropStandInAll=,-RegionCropStandInShadows=,-RegionCropStandInLidar=,-RegionCropFarLidar=,-RegionCropStandInFinEnd=,-RegionCropStandInFarGain=- The render settings of the regional crops.
-RegionCropRealEnd=,-RegionCropRealResident=,-RegionCropStaticShadowFrom=,-RegionCropStandInStart=,-RegionCropStandInFade=- The start values of the console variables of the same names (
acres.RegionCropRealEndand the others), in metres. -RegionBakeStart=N,-RegionBakeCount=N- The chunks of the commandlet that bakes the regional ground.
Farm Traffic#
-NpcVehicles- Pickups and tractors on the farm roads, and 16 cars on US 52.
-NpcWorkers- Workers who walk and scout the crops.
-NpcTraffic=N- The number of cars on US 52, from 0 to 200.
-NpcTestVictim- A test: a worker stands 14 m ahead of the vehicle.
-PathObjects=FILE- A scenario file with the objects on the path of a mission. With a scenario file, the farm traffic is off.
Replay and Drive Scripts#
-ReplayFile=FILE- A recorded drive that the vehicle replays.
-ReplayMode=commands|pathcommandsreplays the recorded commands.pathfollows the recorded path. Default:commands.-ReplayShift=E,N- Moves the replayed path by east and north metres.
-DriveScript=FILE- A JSON script of timed controls.
-VehicleRoute=N,-VehicleRouteReverse,-VehicleRouteSpeed=MPS- Drives a review route of the map, in reverse direction if necessary, at a speed.
Bridges#
-RlPort=PORT- Opens the vehicle bridge (JSON over TCP on
127.0.0.1). -RlPorts=PORT,...- One vehicle bridge port for each agent, in agent order.
-RlCan=IFACE- The J1939 bus of the Maxxum on a SocketCAN interface, for example
vcan0. -RlCanUdp=PORT- The same CAN frames over UDP on
127.0.0.1. -DbwLog- Writes
dbw.csv(the drive-by-wire reports of the Polaris at 50 Hz).
Simulator Control and Logs#
-SimControl=PORT- Opens the simulator control channel.
-Lockstep- Starts held. The world advances only on step requests.
-LockstepFrameSteps- In lockstep, one frame runs the physics steps up to the next sensor sample, at most 12 steps. The game does not render the frames between sensor samples.
-EpisodeLog=FILE.mcap- Records the episode log from the first physics step.
-EpisodeReplay=FILE.mcap- Replays an episode log. Without an agent list, the game takes the agents of the log.
-EpisodeReplayRate=X- The time scale of the replay, from 0.1 to 120.
-EpisodeReplayExit- Stops the game at the end of the replay.
-SessionLog- Writes the session log.
-VehicleRecord- Writes the vehicle CSV files.
Rendering and Capture#
-RenderTier=low|high- The render tier. Without this option, the game selects
highwhen the GPU has 11776 MiB or more, elselow. The last value on the command line applies. -CloudQuality=balanced|reference- The quality of the clouds.
-SensorMainViewPercent=N- The resolution of the main view, in percent, when a camera sensor is on. The temporal upscaler gives the size of the window. The sensor pictures do not change. From 50 to 100. Default: 67.
-NoDenseGrass- Removes the dense short grass from the verges and lawns within 24 m of the main view (grass choice A, the default since 19 November 2026). Only the main view shows this grass: the sensor cameras, the LiDAR and the shadows do not.
-CaptureVideo=FILE,-CaptureSeconds=S,-CaptureFps=FPS,-CaptureSize=WxH,-CaptureCodec=NAME- Records the window into a video file with
ffmpeg. The frame rate is from 1 to 120. -ResX=PX,-ResY=PX- Standard Unreal options for the window size. The video capture reads them.
Test and Diagnostic Options#
-VehicleTest=coast|reverse|turn|impact,-VehicleTestDuration=S- A scripted test. It runs on a flat test pad.
-VehicleTestPad,-VehicleTerrainTest,-VehicleSlope=DEG- The flat test pad, the real terrain for a test, and a slope of the pad (at most 20 degrees).
-VehicleCapture- Takes the screenshot
vehicle.png2 s before the end of a test. -TerrainVerify- Checks the terrain of the map at the start.
-RenderBenchmark,-RenderBenchmarkWarmup=S,-RenderBenchmarkDuration=S,-RenderBenchmarkOutput=DIR,-RenderBenchmarkStationary,-RenderBenchmarkSteer=RAD,-RenderBenchmarkRayTracingInstances- The render benchmark. The steer value is a road wheel angle of at most 0.5 rad.
-RenderInventory,-ShadowContributorDump,-PhotoSceneMaterialAudit,-PhotoConiferRasterReference- Diagnosis of the scene: lists of meshes, shadow casters and materials.
-RigSelfTest,-ShellSmoke- Self-tests of the equipment rigs and of the game mode.
-MenuOpen=NAME,-MenuTab=NAME,-MenuSet=KEY=VALUE;...,-MenuShot=FILE,-MenuExitAfterShot,-MenuRunNow,-MenuAutoStart,-MenuBrushTest=N,-MenuDemo=FILE- Test hooks of the menu.
Agents File#
Each entry of the list agents is an object. For agent 0, a key that is not in the file uses its option. The other agents use only their keys.
| Key | Option of Agent 0 | Meaning |
|---|---|---|
name |
The name in the logs, the folders, the HUD and the bridge messages. Default: the vehicle. | |
vehicle |
-Vehicle= |
maxxum or polaris. |
finish |
-PolarisFinish= |
The paint of the Polaris. |
implement |
-Implement= |
The implement of the Maxxum. |
spawn |
-VehicleSpawnU=, -VehicleSpawnV=, -VehicleSpawnYaw= |
[u, v, yaw_deg] on the survey grid. |
utm |
[easting_m, northing_m, heading_deg] in UTM zone 16N. |
|
utm_frame |
nad83_2011 (default) or wgs84. |
|
replay_file, replay_mode, replay_shift |
-ReplayFile=, -ReplayMode=, -ReplayShift= |
The replay of a recorded drive. |
drive_script |
-DriveScript= |
A drive script. |
rl_port |
-RlPort= |
The port of the vehicle bridge. |
sensor_stream |
-SensorStream= |
The port of the sensor stream. |
gear |
-VehicleGear= |
The start gear of the Maxxum. |
sensor_record |
-SensorRecord |
true or false. |
sensor_overlay |
-PolarisSensorConfig= |
A sensor file on top of sensors.json. |
Source: Game/Source/Acres/AcresAgents.h.
Examples#
Show the menu:
Drive the Polaris on a map variant in the evening, with clouds:
Packaged/Linux/Acres.sh -VehicleDemo -Vehicle=polaris -MapData=acre-mixed -EnvHour=18.5 -EnvClouds=overcast
Start the Maxxum with the chisel plow at a depth of 0.2 m, with the session log:
Start two vehicles, each with its own bridge port:
Start the Polaris held in lockstep, for the ROS 2 bridge, without rendering:
Packaged/Linux/Acres.sh -VehicleDemo -Vehicle=polaris -nullrhi -SimControl=5600 -Lockstep \
-SensorStream=5601 -RlPort=5556 -EpisodeLog=/tmp/run.mcap
Replay an episode log at four times the speed, and stop at the end:
Packaged/Linux/Acres.sh -VehicleDemo -EpisodeReplay=/tmp/run.mcap -EpisodeReplayRate=4 -EpisodeReplayExit
Console Variables#
The game has these console variables. Set one with the Unreal console or with -ExecCmds="NAME VALUE".
| Variable | Default | Meaning |
|---|---|---|
acres.RegionCropRealEnd |
110 | Regional crops: the real patches end at this distance from the view, m. |
acres.RegionCropRealResident |
130 | Regional crops: a sub-cell keeps its real patch components to this distance, m. |
acres.RegionCropStaticShadowFrom |
30 | Regional crops: components beyond this distance use the static shadow cache, m. Negative: off. |
acres.RegionCropStandInStart |
95 | Regional crops: the stand-in starts to fade in at this distance, m. |
acres.RegionCropStandInFade |
10 | Regional crops: the width of the stand-in fade, m. |
acres.FoliageWindDistance |
10000 | The maximum distance of the foliage wind animation, cm. 0 keeps the authored distances. |
acres.FoliageMaskDistance |
0 | The distance beyond which Nanite foliage uses opaque rasterization, cm. 0 keeps the authored settings. |
acres.SunUpdateAngleDegrees |
0.75 | The minimum sun movement before the shadow projection updates, degrees (0.75: about every 3 minutes of game time). 0: each frame. |