Tabletop Simulator

Tabletop Simulator

MTG Deck/Draft/Cube Importer
132 kommentarer
kLAcK 5. sep. kl. 12:57 
Awesome! Yes I'm excited to draft.
rikrassen  [ophavsmand] 5. sep. kl. 11:53 
SPM should be live soon (draft will be a bit longer though as usual), I've had a bit of trouble with my updater, but we'll get there
kLAcK 5. sep. kl. 11:42 
Might it be possible to add SPM support? The final cards were revealed today.
Love this mod BTW!
rikrassen  [ophavsmand] 24. aug. kl. 15:48 
Card backs are loaded by TTS, the importer just copies what you enter verbatim. If the card image isn't loading it's because TTS can't access it. Maybe it's access controlled if it's a URL, maybe the path is in the wrong format/not absolute if it's a local file.
JRBLordDVanity 21. aug. kl. 14:02 
I cannot load in card backs, even though the image format is one of the acceptable ones. Am I doing something wrong? I make sure the image is a .jpg
rikrassen  [ophavsmand] 25. juli kl. 14:28 
EOE is now available for drafting
SPODERMAN 24. juli kl. 17:13 
commenting to say EOE doesnt work for drafting currently
Rads 23. juli kl. 7:31 
EOE does not work for Drafting. It doesn't find the 3 letter code
saximaphone 16. juli kl. 18:00 
It does use the HD scryfall pngs.
EdgarEat 16. juli kl. 14:38 
Can you make the images HD, scryfall png
Lenc 3. juli kl. 23:42 
Just passing by to thank you for this mod and say how we appreciate your continuous improvement on it, you are one of the reason it's easier for us to have Magic in TTS, it's the best card importer me and my friends have seen so far around here! Thanks!
rikrassen  [ophavsmand] 11. juni kl. 12:12 
@jason, that may be possible. I can add it to my list of feature requests
jason whorees 9. juni kl. 16:06 
I'm making a cube with a lot of custom cards on Cube Cobra, and the way I do it is to override a card with the same mana cost and color as my custom card with an image of my card in the Image URL section of the card I have added.

I understand that when I import the cube, it is still fetching the cards from scryfall and not the images of the custom cards I have used to overwrite it. Is there a way for me to import the cube with the images of my custom cards instead of the scryfall ones?
rikrassen  [ophavsmand] 2. juni kl. 5:44 
The code is mostly the same code that Wizards/Scryfall use to refer to the set, i.e. https://scryfall.com/sets/fin . You can see this at the bottom left of any card as well. There are some special cases like mentioned in the description above like for jumpstart packs.
Ivy Lebelle ٩(××)۶ 2. juni kl. 4:14 
Guys, I can't figure out how to use the draft tab. Where can I get the code?
rikrassen  [ophavsmand] 9. apr. kl. 18:08 
@Az I looked into this and it seems to only be happening sometimes (it may have been an issue on CubeCobra's side), but I've added some more logging to try to debug if it happens again.

On another topic, in case anyone had issues with Archidekt today, they completely changed there site. I have updated the code, everything should be working again.
Az 8. apr. kl. 13:06 
I'm struggling to import cubes from CubeCobra, if I try importing https://cubecobra.com/cube/overview/wtwlf123 it says there's an issue and asks if I'm sure it's public
rikrassen  [ophavsmand] 31. mar. kl. 6:33 
Thanks for the bug report L3vi, I think I know what's going on there, I should be able to fix that for you soon
L3vi 30. mar. kl. 20:57 
Has anybody else noticed a bug with the importer GUI? I discovered that if I import a scryfall deck link it will fail to import if any of the cards have been printed in the new set. Not even if the cards are new, even just reprints. Once I manually set the print version of each card to a non-new set (not Tarkir) it imported great!
I don't know if this is an issue with the Scryfall API or perhaps the importer.

Love the GUI though, thanks for all you do!
saximaphone 14. mar. kl. 19:25 
Oh you can just link as single scryfall card page? That's very useful thank you!
rikrassen  [ophavsmand] 14. mar. kl. 6:14 
In Scryfall the tokens are part of a separate set which is T + the set of the card that makes the token, i.e. for Basri, Tomorrow's Champion the cat token is in TDFT. Probably an easier way though is to import single cards from Scryfall, i.e. https://scryfall.com/card/tdft/2/cat , to get that exact printing.
saximaphone 14. mar. kl. 0:09 
How are you able to choose specific tokens? Setting the set doesn't work.
saximaphone 2. mar. kl. 15:22 
Thanks!
rikrassen  [ophavsmand] 1. mar. kl. 7:26 
@saximaphone thanks for the report. MTGGoldfish is supposed to work, this is a bug I can fix. To specify a specific printing of this card manually you would use the format "Dusk // Dawn (LTC)" or "[LTC] Dusk // Dawn"
saximaphone 24. feb. kl. 20:45 
Am I able to import cards of a specific set?
Trying to import from MTGGoldfish, but it doesn't like doubles like Dusk/Dawn.
I can put it in manually as "Dusk" and it shows up, but not as "Dusk [LTC]" as the preferred set.
rikrassen  [ophavsmand] 18. feb. kl. 8:49 
Moxfield blocks API requests, I believe they were allowing requests from TTS, but maybe they've gotten more strict.
Wurstwassermann 17. feb. kl. 8:26 
Hi! Thanks for you great work! For a few weeks, I cant import my moxfield decks anymore.. I always get a 403 forbidden error, but playing on other servers, the exact same url works.. can anybody help me fixing this on my created tables?
rikrassen  [ophavsmand] 16. feb. kl. 13:48 
For @Pickle, sorry for the long silence. I couldn't implement your custom pack feature without a client update, but I finally put one together. The cube tab now allows for a custom number of packs. Unfortunately it seems that seeding strategies vary a lot, and is too complicated for an in game UI like this one. However, since shuffling is more consistent than paper magic, seeding likely isn't required if the goal is just to even distribute the colours.
Pickle 25. okt. 2024 kl. 12:13 
I just found this mod and am very excited to try it out. However, in the cube portion you mentioned, I noticed that it automatically generates 3 packs. I was curious to know if you plan on adding support for custom pack sizes that are sometimes used in Cube (like 5 packs of 9 cards).

Additionally, some Cubes require seeding for color or rarity. How difficult would that be to implement?
rikrassen  [ophavsmand] 27. aug. 2024 kl. 18:14 
@Valentine if somebody gave me the assets for a foil effect I could probably add it, but shaders are outside my current skill set right now
Valentine 24. aug. 2024 kl. 13:11 
Any possibility to add an option for a foil effect to cards imported as foil?
rikrassen  [ophavsmand] 2. aug. 2024 kl. 12:00 
I get my data for new sets from https://github.com/taw/magic-sealed-data That's usually live within a couple days of the set releasing, so shouldn't be too long before I get everyone able to draft with the new set :)
clope 2. aug. 2024 kl. 11:21 
How quickly do you update this importer to feature new set releases? I'd love to do a Bloomburrow draft on TTS but I don't know the roadmap for that set with this card importer. I love what you're doing though, please keep it up!!
rikrassen  [ophavsmand] 12. juni 2024 kl. 20:23 
It looks like the draft data was added two days ago, so my weekly import should pick it up tonight. I'll make sure it doesn't have any other problems after that
Grace 12. juni 2024 kl. 20:16 
The importer currently has problems when trying to draft with MH3, are there plans to fix this?
rikrassen  [ophavsmand] 20. maj 2024 kl. 7:41 
Ok, thanks to Oops' helpful tip the Moxfield issue was an easy to deal with. Should be working now.
rikrassen  [ophavsmand] 20. maj 2024 kl. 7:08 
Thanks for the reports everyone, sorry that I've been busy. I'll try to get to fixing this soon
Oops I Baked a Pie 18. maj 2024 kl. 14:30 
heyo - moxfield appears to no longer work with your importer - all decks show up as "private"

perhaps this might help:
moxfield closed access to their api some months ago - I went to the discord and they were awesome and put in an exception for queries originating through TTS - as far as i understand your deck queries and import pre-processing is actually done on your own server? could be the reason why
Galaeran 12. maj 2024 kl. 15:35 
It appears the "failed to read deck" error comes from cards with '/' in the name (e.g. split cards or adventure cards). I was getting this error, but then I tried copying the deck list into a text file and removing the '/'s, then the import was successful. Hope this helps!
Dear next of kin... 12. maj 2024 kl. 6:03 
Big thanks on making this, it's been so good to make things easier for our pod.

I however am having the same issue as Moose, using the same table. I'm also having the issue when using the importer by itself. "There appears to be an issue with your deck: failed to read deck from:" *url* "are you sure it's public." And I've also experimented with making decks public, but that also doesn't fix it.

The Decklist entry is working correctly however and we've been using that. Thanks for the Importer again, and keep up the great work.
Moose 12. maj 2024 kl. 5:02 
While using this table (https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2265064081) which seems to use your importer, I'm getting an error with Moxfield with decks that used to be able to import fine saying "There appears to be an issue with your deck: failed to read deck from:" and then it shows the link i'm using as well as asks if it's public. I've tested this with some friends and it happens when any of us go to import decks. Not sure if it's an issue with this mod or the other one I'm using, but wanted to mention it in case!
frosty999 19. mar. 2024 kl. 7:51 
Honestly one of the best importers I've seen on the workshop, It's the only one that I've found so far that works with the links I use, supports custom card backs without having to delve into the scripting, and actually uses the correct artwork for the cards I picked. Great work! :steamthumbsup:
rikrassen  [ophavsmand] 11. feb. 2024 kl. 15:00 
Sorry about that, the set data changed apparently with the new play boosters. I fixed it, should be working now.
Shane 10. feb. 2024 kl. 12:49 
I know it just came out, would you know when MKM will get support in draft?
Quásar 22. nov. 2023 kl. 22:28 
It works perfectly, thank you very much rikrassen for reading and fixing it :steamthumbsup:
rikrassen  [ophavsmand] 20. nov. 2023 kl. 14:40 
Hey Quásar, sorry you weren't able to load in Spanish cards. I updated the Scryfall code so that loading sets with a specific language is now possible. I also changed how the user language override works so that it will take priority over loading English cards.
Quásar 17. nov. 2023 kl. 23:17 
Thanks for the mod.
I can succesfully import a full set like "https://scryfall.com/sets/woc"
But when I try to import "https://scryfall.com/sets/woc/es" it doesn't work.

It says: "There appears to be an issue with your deck: Downloading from scrgfall.com is supported, but /sets/woc/es is not recognized as a deck URL."

Of course I tried the Language option selecting "Español" and importing the URL without the "/es" at the end and it just import the full set in English.
Any idea? Thank you.
lekkolek 23. sep. 2023 kl. 0:00 
First of thank you for your extra effort. The speed is indeed awesome and it's not only the speed when importing decks. For some reason the decks imported through your importer is way faster when trying to search through the deck and I really appreciate that. Also thank you for the tip with the MTGO export format I didn't know that. Yes if I find anything I'll report back :D
rikrassen  [ophavsmand] 22. sep. 2023 kl. 18:40 
Hey lekkolek, glad you're liking the speed of the importer. There is a downside to that speed though, and that's that I have to have a copy of Scryfall that stays up to date. My database updates on Thursdays, and it looks like Aragorn, Hornburg Hero didn't quite make the cut this week. I ran the update again and it looks like it's there now. There is still a problem with the deck you sent me, it's using a printing of Torens that Scryfall doesn't have in its database. When I switch that printing the decks loads.

If you're running into trouble with any more decks from a site you can try using the site's export + MTGO format, or post here/DM me and I'll happily take a look :)
lekkolek 20. sep. 2023 kl. 1:08 
I really love this importer due to its speed however I encountered multiple issues when trying certain decks. One of the decks causing issues is this one https://www.moxfield.com/decks/s_vlZEP8okWfzA-v0J4dqg
where it constantly says "Deck not found" even though it is publicly viewable and importable through other importers that are however more laggy and prone to crashing our games when they dont work which this one never did. I am not sure if I was doing something wrong but other decks did work fine so I'm not sure.