These have been done.
Now, there's the possibility to designate a specific commander/commander pair for a deck. Doing so might be a bit complex, but if it's not something you want to do, you can at least fall back to humans always choosing commanders.
There is no circumstance in which an AI will make the choice. It will always be a human.
When there is no choice to be made because there is exactly one valid commander, that choice is made automatically. This does
not cover partners.
In order to make a fingerprint for a deck, do the following:
- Save the deck normally, and open the card list that the deck builder exported.
- Copy the card list section to a text editor (or leave it there. Or whatever...).
- Isolated just the card names. (Explained below.)
- Copy the commander (or commanders) to the top of the list.
- Make it match the following format.
- Code: Select all
CW_Commander_RegisterAutoSelect(
{"SLIVER_QUEEN"}, -- These brackets should contain either one or two commanders. (Two only in the case of partners.)
{
"ABSOLVER_THRULL", -- This list should be the card names from the deck.
"ABZAN_ASCENDANCY",
"AKKI_LAVARUNNER",
"ASSASSINS_BLADE",
"BLINKMOTH_URN",
"BREEDING_POOL",
"BUDOKA_GARDENER",
"BUSHI_TENDERFOOT",
"CHANDRA_TORCH_OF_DEFIANCE",
"DEADLY_TEMPEST",
"GREENWARDEN_OF_MURASA",
"HORNET_NEST",
"MOLDGRAF_MONSTROSITY",
"NEZUMI_SHORTFANG",
"UNDERWORLD_CERBERUS",
"SLIVER_HIVELORD",
"SLIVER_LEGION",
"SLIVER_OVERLORD",
"SLIVER_QUEEN"
}
)
- Remove the comments. I don't know if they'll cause issues or not.
- Save the file as "CW_COMMANDER_*DECKNAME*.LOL", where *DECKNAME* is replaced with the deck's name. This name isn't super important as long as it starts with "CW_COMMANDER_" and doesn't interfere with any others.
- Upload the LOL file along with your deck.
In order to convert a card's filename (which is what appears in your card list) to its cardname, usually you can just remove the ending, which will either be numbers (in the case of vanilla cards), "_CW_###" in the case of most CW cards, or "_MM_CW_###" in the case of a many manual mana cards. Do not include basic lands or any duplicate cards.
Do not include the commander land.If your deck is being tested using either the Favor of the Gods card or the Energy of the Gods card, then those also shouldn't be included if you want the auto-selection to work during these tests.
There's currently no good method in place for dealing with the tables created this way, but in the future, I'll set it up so any lol files uploaded via the EDH deck upload folder will be moved to the main function folder so they'll work automatically.
Not all cards in the deck need to be included. The most important cards to include are the commander and some cards which are less likely than most to appear in other decks. Especially multiple cards that are unlikely to appear together very often. The idea is to compare the list of cards to the current deck. If every card in the list is found, then it sets the commander to whatever commander is named. If only three very common cards are provided, then it may match many decks, and thus mess those decks up by choosing the wrong commander.
If your deck only has one commander, then there's no reason to do this at all. If it has partners, then it might still be a good idea until I can figure out how to make partners auto-select any choices with no valid alternatives. Like if you're deck has
Bruse Tarl, Boorish Herder,
Akiri, Line-Slinger,
Vial Smasher the Fierce, and
Grenzo, Dungeon Warden, then it would ideally auto-select
Vial Smasher the Fierce and only have you make the selection between the other two, since the vial smasher
must be chosen. (Because you must have a commander identity consisting of white, black, and red. Grenzo could provide the black and red, but doesn't have partner and can't provide the white, and thus isn't valid at all.) It doesn't currently manage this, but it's the ultimate goal.