forked from brikikeks/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 6
Flags
Alexander Puck Neuwirth edited this page May 23, 2026
·
43 revisions
| Flag | Info | Example |
|---|---|---|
| effect | Specify global effects | 'effect "Devour"' or '-e "Devour"' |
| yeffect | Specify your effects | 'yeffect "Plasma Burst"' or 'ye "Plasma Burst"' |
| eeffect | Specify enemy effects | 'eeffect "Progenitor Tech"' 'ee "Plasma Burst"' |
| yfort | Specify your fortresses | 'yfort "Phobos Station, Lightning Cannon"' or 'yf "Phobos Station"' |
| yfpool | Sets the amount of forts to use from yfort (default=random,integer) | 'yfpool 2' |
| efort | Specify enemy fortresses | 'efort "Phobos Station, Lightning Cannon"' or 'ef "Phobos Station"' |
| efpool | Sets the amount of forts to use from efort (default=random,integer) | 'efpool 2' |
| ydom | Specify your dominion | 'ydom "Alpha Bombard"' or 'yd "Krellus' Nexus"' |
| edom | Specify enemy dominion | 'edom "Alpha Bombard"' or 'ed "Krellus' Nexus"' |
| Flag | Info | Example |
|---|---|---|
| sim | Simulates n games (integer) | 'sim 1000' |
| reorder | Optimizes deck by reordering with given iterations for simulating (integer) | 'reorder 1000' |
| climb | Optimizes deck by changing the deck based on ownedcards and funds with given iterations for simulating (integer) | 'climb 1000' |
| climbex | Optimizes deck with given iterations for simulating. The first number are the initial iterations and gets multiplied with iter-mul until it reaches the second number. (integer,integer) | 'climbex 10 1000' |
| climb_forts | Optimizes forts with given iterations. Checks every combination of yfpool fortresses from yfort to estimate the best fortresses. (integer) | 'climb_forts 1000' |
| anneal | Takes three parameters iterations, initial temperature and exponetial decrease of temperature. The temperature defines the probability for accepting a worse deck, with lower temperature only better decks are accepted. (integer,integer,float) {more} | 'anneal 1000 100 0.001' |
| genetic | This algorithm optimizes the deck based on a pool of seed decks ('pool'). The general procedure is: mixing the cards of two decks ('crossover') and/or and changing a single card randomly ('mutation') (sort of like anneal) | ./tuo gauntlet1 gauntlet2 genetic 100 surge |
| Flag | Info | Example |
|---|---|---|
| iter-mul | Sets the iteration multiplier (default=10, integer) |
climb-opts:iter-mul 100 or climb-opts:iterations-multiplier 100
|
| open-the-deck | Will optimize the deck to revealing the whole enemy deck |
climb-opts:open-the-deck or climb-opts:otd
|
| endgame-commander | Similar to endgame but applies to commanders. Sets the fusion levels of a commander to be considered |
climb-opts:endgame-commander 2 or climb-opts:egc 2 or climb-opts:min-commander-fusion-level 2
|
| use-all-commander-levels | Use also non maxed commanders | climb-opts:use-all-commander-levels |
| use-all-card-levels | Use also non maxed commanders | climb-opts:use-all-card-levels |
| recent-boost | Try newer cards first in climbing | climb-opts:recent-boost |
| recent-boost-times | Define how much more likely recent cards are considered | climb-opts:recent-boost-times 2 |
| recent-boost-percent | Define the fraction of cards considered as 'recent' | climb-opts:recent-boost-percent 100 |
| Flag | Info | Example |
|---|---|---|
| random | Play randomly (default) | 'random' |
| ordered | Play ordered, meaning always playing the furthest to the front card, from 3 card hand | 'ordered' or '-r' or 'enemy:ordered' |
| exact-ordered | Play in exact order | 'exact-ordered' or 'enemy:exact-ordered' |
| flexible | Play flexible, meaning always playing the card with best random winrate at current state (estimated by 3 random sims with flexible-iter iterations) | 'flexible' or 'enemy-flexible' |
| flexible-iter | Set the iteration number for flexible (default=20,integer) | 'flexible-iter 10' |
| flexible-turn | flexible for first n turns, then random (default=10,integer) | 'flexible-turn 5' |
| Flag | Info | Example |
|---|---|---|
| -o= | specify path to inventory file | '-o="data\ownedcards2.txt"' |
| -o | equals '-o=data/ownedcards.txt' | '-o' |
| -o- | don't use inventory file | '-o-' |
| ! | In decks, use it before the name of the card to force it to be used. | !Auger Bore |
| fund | run fund sim with the specified amount of SP | 'fund 9999' |
| keep-commander | keeps current commander | 'keep-commander' or '-c' |
| dom-maxed | sim all maxed dominions | 'dom-maxed' or 'dominion-' or 'dom-' |
| dom-owned | sim dominions in inventory | 'dom-owned' or 'dominion+' or 'dom+' |
| dom-none | don't sim dominions, but use the dominion from passed deck | 'dom-none' |
| factions/mono | specify which factions should be used | 'factions progenitor' or 'mono bloodthirsty' or 'factions imperial factions raider' |
| no-factions | specify which factions shouldn't be used. This flag conflicts with factions flag | 'no-factions progenitor' or 'no-mono bloodthirsty' or 'no-factions imperial no-factions raider' |
| skill/strategy | specify which skill should be used | 'skill jam' or 'skill enfeeble strategy strike' |
| no-skill | specify which skill shouldn't be used | 'no-skill jam' or 'no-skill enfeeble no-strategy strike' |
| prefered-skill | specify which skill should be used more often when testing for improvements | 'prefered-skill jam' of 'prefered-strategy jam' |
| prefered-factor | specify how heavily to prefer (default=3,integer) | 'prefered-factor 3' |
| recent-percent | specify the percentage id-based border of recent cards (default=5,integer) | 'recent-percent 5' |
| Flag | Info | Example |
|---|---|---|
| freeze | keep the first n cards in exact order | 'freeze 5' or '-F 3' |
| -L | limit deck size between two values | '-L 3 7' |
| vip | specify vip cards,when a vip card dies the game is considered as lost | 'vip " HyperSec Hunter, Ymir of the Void"' |
| Flag | Info | Example |
|---|---|---|
| fight | You play the first unit (default) | 'fight' |
| surge | The enemy plays the first unit | 'surge' or '-s' |
| win | Goal is winning | 'win' |
| defense | Goal is winning or stalling | 'defense' |
| raid | Maximize raid score | 'raid' |
| campaign | Maximize amount of survived cards, also sets gamemode to surge | 'campaign' |
| brawl | Maximize brawl score, also sets gamemode to surge | 'brawl' |
| brawl-defense | Minimize enemy brawl score, also sets gamemode to fight | 'brawl-defense' |
| gw | Maximize gw score, also sets gamemode to surge | 'gw' |
| gw-defense | Minimize enemy gw score, also sets gamemode to fight | 'gw-defense' |
| pvp | equals 'win fight' | 'pvp' |
| pvp-defense | equals 'defense surge' | 'pvp-defense' |
| Flag | Info | Example |
|---|---|---|
| threads | Specify the amount of threads for tuo. Gets set to 1 when iterations<10 | 'threads 1' or '-t 4' |
| seed | sets the seed to use (default=time,integer) | 'seed 1337' |
| +hm | Use harmonic mean | '+hm' |
| target | Limit winrate | 'target 98' |
| timeout | Stop the sim after n hours (default=0) | 'timeout 0.5' |
| mis | Only improvements higher than min-increment-of-score will be applied (default=0,float) | 'mis 0.02' |
| cl | Sets the confidence level. This is used in 'climb' to stop simulations early when they are unlikely to yield a better score (default=0.99. float) | 'cl 0.98' |
| Flag | Info | Example |
|---|---|---|
| +vc | print values of cards in the deck | '+vc' |
| +vc-x | lock best X cards in the result deck | '+vc-x 5' |
| +so | shorter tuo score output | '+so' |
| +uc | print an extra list of upgraded cards at the end | '+uc' |
| +ci | prints ci | '+ci' |
| +v | prints more output | '+v' |
| Flag | Info | Example |
|---|---|---|
| hand | Set the initial hand | 'hand "Hurkol Bloodvessel#9, Virklaw"' or 'enemy:hand "Hurkol Bloodvessel#9, Virklaw"' |
| debug | Runs in debug mode | 'debug' |