How to check deck legality and build decks on a custom format?
Hi everyone, I’m trying to build decks for a custom format using this card pool (f:standard tix<=0.1 usd<=1). I have a deck here: deck link.
I know legality is ultimately whatever rules you define for a custom format, but I’m looking for a practical way to check a deck automatically against a specific pool, rather than checking each card one by one. For reference, Penny Dreadful has a deck legality checker. I’m wondering if there’s something similar for generic card pools, or if manual checking is the only option.
Is there an easy way to check if the deck is legal for this pool and identify any cards that aren’t allowed? Also, I’d love tips or strategies for making deckbuilding simple in a custom format like this. Thanks!
I built a simple validator for custom formats to use with Premodern/Prefire, it uses a JSON file with the list of valid cards as data source and runs as a static website. If you know how to code it should not be too hard to generate a new format based on MTGJSON:
https://github.com/Badaro/validator
https://github.com/Badaro/validatortools
Disclaimer that my design skills are close to zero.
Seems simple enough, so I'm going to try and make one myself. Here's the idea I have so far:
When I try to validate a deck, I only see the message “Loading data, please wait…” and nothing happens. So I’m not sure if it’s a problem with my JSON export, the file path, or the validator itself.
I exported the Standard Penny collection from Moxfield to JSON using a Python script:
I saved the JSON file as
validator/formats/standardpenny.jsonand added it to the validator’s config:Then I tried to validate this deck exported as Plain Text from Moxfield and got the error.
I've managed to write another script that seems to work:
Check the console for errors? Or send me a link of where you got it published and I'll take a look.
I'm not aware of a single tool, but you could ensure the deck is standard legal in any normal deck building tool, then additionally check it against the Penny Dreadful deck checker - if it passes both, it should be legal in your format (assuming I understand what you're doing correctly.)
Edit: Nevermind, I see you're limiting it to $1, not $0.01, despite borrowing the name. Penny Dreadful checker won't work.
Yeah Penny Dreadful uses tix<=0.02 and this uses both tix<=0.1 and usd<=1