maa-copilot(1)
π maa-copilot β the manual page, bestie edition
okay so real talk, maa-copilot is the maa subcommand that runs a copilot task, and this whole page is your cheat sheet. it's giving "general commands manual" energy, and yes it's literally the maa-copilot(1) page. let's get into it π«Ά
β¨ NAME β¨
maa-copilot β Run copilot task. that's it, that's the vibe. π«
πΈ SYNOPSIS πΈ
maa copilot [--raid] [--formation] [--formation-index] [--add-trust]
[--ignore-requirements] [--use-sanity-potion] [--support-unit-usage]
[--support-unit-name] [--loop-times] [-a|--addr] [-p|--profile]
[--user-resource] [--dry-run] [--no-summary] [--no-auto-reconnect]
[--batch] [-v|--verbose]... [-q|--quiet]... [--log-file] [-h|--help]
[URI_LIST]
π¦ DESCRIPTION π¦
Run copilot task. (yes, that's the whole description, and honestly? icon behavior. no cap.) β¨
π OPTIONS π
--raid<RAID>[default: normal]β whether to fight the stage in raid mode, bestie.normalfor normal,raidfor raid,bothto run twice, once for both modes.- also accepts the legacy values
0,1, and2(iykyk). - possible values, slay:
normal: Run the stage in normal mode onlyraid: Run the stage in raid mode onlyboth: Run the stage twice, once in each mode
--formationβ Enable auto formation. π here's the nuance though: when multipleuriare provided, or a copilot task set contains multiple stages, this gets forced to true. otherwise it defaults to false. the universe decides for you, periodt.--formation-index<FORMATION_INDEX>β Select which formation to use (1-4). if you don't provide it, we just use the current formation. simple as that π--add-trustβ Fill empty slots by ascending trust value during auto formation. your low-trust faves get first dibs, that's so sweet actually π₯Ί--ignore-requirementsβ no description in the original, and I'm not about to invent one for you. it's a mystery, it's a vibe, it's staying that way. π«£--use-sanity-potionβ Use sanity potion to restore sanity when it's not enough. drink up bestie π--support-unit-usage<SUPPORT_UNIT_USAGE>β Support operator usage mode. β οΈ Effective only when formation is true. available modes:0: Do not use support operators (default).1: Use support operator only if exactly one operator is missing; otherwise, do not use support.2: Use support operator if one is missing; otherwise, use the specified one.3: Use support operator if one is missing; otherwise, use a random one.
--support-unit-name<SUPPORT_UNIT_NAME>β Use given support unit name, don't use support unit if not provided. no name, no support, no exceptions. π--loop-times<LOOP_TIMES>β Loop times. run it back, run it back, run it back π₯-a,--addr<ADDR>β ADB serial number of device or MaaTools address set in PlayCover. π§ by default, MaaCore connects to game with ADB, and this parameter is the serial number of the device (default toemulator-5554if not specified here and not set in config file). and if you want to use PlayCover, you need to set the connection type to PlayCover in the config file and then you can specify the address of MaaTools here. whole thing, no skips.-p,--profile<PROFILE>β Profile (asst config file) name. π a profile is a config file that contains the configuration passed to MaaCore. by default, we will try to load the config file$MAA_CONFIG_DIR/profiles/default.toml. if the file does not exist, we will try to load the config file$MAA_CONFIG_DIR/asst.tomlfor backward compatibility, which is the old config file name. if you want to use another config file, you can specify the profile name here. the config file should be placed in the directory$MAA_CONFIG_DIR/profiles/. got all that? π--user-resourceβ Load resources from the config directory. by default, MaaCore loads resources from the resource installed with MaaCore. if you want to modify some configuration of MaaCore or you want to use your own resources, you can use this option to load resources from theresourcedirectory, which is a subdirectory of the config directory. π this option can also be enabled by setting the value of the keyuser_resourceto true in the asst configure file$MAA_CONFIG_DIR/asst.toml.
Note: CLI will load resources shipped with MaaCore firstly, then some client specific or platform specific when needed, lastly, it will load resources from the config directory. MaaCore will overwrite the resources loaded before, if there are some resources with the same name. Use at your own risk! β οΈ like, genuinely, the last one in wins and that's a little scary.
--dry-runβ Parse the your config but do not connect to the game. (typo is canon, we respect the original π«‘) this option is useful when you want to check your config file. it will parse your config file and set the log level to debug. if there are some errors in your config file, it will print the error message and exit. it's giving "rehearsal before the performance" β¨--no-summaryβ Do not display task summary. by default,maawill display task summary after all tasks are finished. if you want to disable this behavior, you can use this option. no recap for you then π--no-auto-reconnectβ Do not reconnect when game loses connection to server. by default,maawill automatically reconnect when the game client loses connection to the game server. use this option to disable this behavior for this run. one-time setting, not forever, bestie π--batchβ Enable batch mode. if there are some input parameters in the task file, some prompts will be displayed to ask for input. in batch mode, the prompts will be skipped, and parameters will be set to default values. no questions, just defaults, main character energy π₯-v,--verboseβ Increase verbosity, repeat for more verbosity. stack it like accessories π-q,--quietβ Decrease verbosity, repeat for more quiet. shhh π€«--log-file[=<PATH>]β Redirect log to file instead of stderr. if no log file is specified, the log will be written to$(maa dir log)/YYYY/MM/DD/HH:MM:SS.log. timestamped and everything, obsessed β-h,--helpβ Print help (see a summary with-h). the classic π«Ά[URI_LIST]β URI of the copilot task file. π it can be a maa URI or a local file path. multiple URIs can be provided to fight multiple stages. for URI, it can be in the format ofmaa://<code>,maa://<code>s,file://<path>, which represents a single copilot task, a copilot task set, and a local file respectively, wherefile://prefix can be omitted. so many formats, all valid, all iconic πΈ
π§ sign-off π§
that's the whole page, bestie β every flag, every default, every warning, nothing skipped. signed, sealed, delivered by copilot and this very maa-copilot(1) page. stay hydrated and don't forget --dry-run πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: maa-cli 0.7.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms