Deck Editor - Import - better support of third party websites
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Hi, did try the Import, I was surprised how extremely "basic"/broken it is, I wanted to import precon with set cards from that precon, so I find a deck on mtggoldfish where all the cards are proper precon set, but instead of importing it just say error, or used first print(I did try every export option)
I did try one website where I did import the deck and again export (`deckstats.net`), the website did import all set version, but again that export didn't work.
I was even searching if there is some solution only which I did find was this one:
`https://www.reddit.com/r/XMage/comments/16ac9r5/importing_deck_with_specific_printings/ `=> `https://github.com/thebear132/MTG-To-XMage`
didn't try it, because I am on Windows, and probably wanted to import only one precon, so instead I build the deck one by one, instead of trying to use python script
But today you really got me.... wanted to copy paste multiple cards from one deck to other (everything on xmage), the only option is to copy it from `deck1.dck` to `deck2.dck` is to copy it in text editor and then the software make some fixes, because the `import (append cards)` DOES NOT WORK with your own formating ! I was like what the .... seriously...
and other thing I notice today, the text from clipboard where it write example, and that it should work with `MTGA, moxfield, archidekt`, so I did try even those websites, it does not work either, the last `1.4.58-dev (2025-10-06 20-40)` nor the `2026.02.11` build
TLDR:
Can you please update the import so it can import cards with set version like `[NCC] (NCC)` anywhere in the line(second attribute, last attribute)
maybe you can use some of the code from `https://github.com/thebear132/MTG-To-XMage` ?
-----
precon deck links :
```
https://www.mtggoldfish.com/deck/4766524#paper
https://moxfield.com/decks/flG8SlpN50qt-L-rQ6VftQ
https://archidekt.com/decks/4022935
```
cards example which I am asking to be able to import :
```
1 [NCC] Aerial Extortionist
1 [NCC] Alela, Artful Provocateur
1 [SNC] An Offer You Can't Refuse
```
```
1 Aerial Extortionist [NCC]
1 Alela, Artful Provocateur [NCC]
1 An Offer You Can't Refuse [SNC]
```
```
SB: 1 [THS:213] Burnished Hart
SB: 1 [MRD:245] Solemn Simulacrum
SB: 1 [ORI:240] Sword of the Animist
```
``
I don't know if this `CatID` is the set ID, but would be nice
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.