this post was submitted on 19 Feb 2024
7 points (100.0% liked)

Digital

259 readers
1 users here now

MTG Arena and Magic Online discussion

Discussion related to Magic's digital games, including MTG Arena and Magic Online (or MODO).

Learn more about MTG Arena and Magic Online!


founded 1 year ago
MODERATORS
 

In this edition:

  • Watch Pro Tour Murders at Karlov Manor This Weekend!
  • Arena Open: Murders at Karlov Manor March 2–3
  • You Can Now Import Deck Names
  • Get Daily MTG Arena Updates
  • Event Schedule
top 3 comments
sorted by: hot top controversial new old
[–] sboulema@programming.dev 2 points 8 months ago (1 children)

Wondering about the deck name import... Cool geature at first but sounds like it would break support for other apps when saving to or importing deck files.

[–] Evu@mtgzone.com 2 points 8 months ago* (last edited 8 months ago) (1 children)

Yeah, that's a reasonable concern.

I've written a couple of things that parse text decklists (you can find them here). For what they do, usually it's safe to just ignore any line that doesn't start with a number. That'll be okay for decks in this new format... unless the deck name starts with a number, which probably isn't that unusual. I actually have a [[Slime Against Humanity]] deck on Arena right now that I named "24 Slime" (because that's how many copies it has).

The simplicity is the point of the text format. It would have been better for them to make a new format to support this new feature (while still supporting the old text format). MTGO had .dec and .dek formats that could perhaps have been reused for this. Then again, part of the appeal of the text format for Arena is that you can just copy it into your clipboard, instead of having to save a file somewhere. I don't remember whether .dec and .dek are binary formats. But let's say they are -- there are still plenty of text data storage standards, like JSON or YAML, that Wizards could have used to create a more complex, but still copiable, decklist format.

Edit: Actually I looked at the new rules again and I'm wrong, "Name" will always be the first thing on the name line, and that shouldn't bother either of my programs. But I still feel like an entirely new format might be the right idea. The fact that they created a whole new "About" section means they think they might add more fields to it in the future. Who knows how complex those fields might get? Switching to an established standard now could save them some pain down the line.

[–] cardbot@mtgzone.com 1 points 8 months ago