this post was submitted on 20 Oct 2025
3 points (100.0% liked)
MTG
2357 readers
1 users here now
Magic: the Gathering discussion
General discussion, questions, and media related to Magic: the Gathering that doesn't fit within a more specific community. Our equivalent of /r/magicTCG!
Type [[Card name]] in your posts and comments and CardBot will reply with a link to the card! More info here.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
Check the console for errors? Or send me a link of where you got it published and I'll take a look.
I've managed to write another script that seems to work:
Seems simple enough, so I'm going to try and make one myself. Here's the idea I have so far: