Tabletop Simulator

Tabletop Simulator

Card Importer for Card Games and memes
371 Comments
[TGC] Smoldy 12 Jul @ 10:52pm 
im trying to import the edge of eternities precons (probably the cause of this issue im about to ask about) just to try them out and whenever i try to import the deck list off moxfield or any other deck site i keep getting " Error in Script ([854FD9]Card Importer [49D54F] 3.14159265358 - d936a8): chunk_4:(952,6-141): attempt to index a nil value"
KarateSnoopy 28 Jun @ 7:09pm 
great mod. btw for the few folks looking to import sideboard, here's some manual steps that work:

1) go to deck on scryfall.com , click export, copy to clipboard
2) go to TTSim, open notebook
3) click the top one called "Add new" and whatever type in name like "test"
4) paste the contents into the main notebook and then delete everything in the main deck and the sideboard line. leaving the 15 sideboard cards or whatever
5) now type in chat "scryfall deck" with mouse pointed to where you want it to spawn.
DSS 27 Jun @ 9:59pm 
Just a heads up that for some reason "Travel the Overworld" from the Final Fantasy set seems to print only in spanish. Please update if you can when you have a chance. Thanks for the great mod!
Debatra 28 Mar @ 7:49pm 
Attempting to spawn in a deck from a TappedOut link, 95-98 cards load before it stalls out and I get an error message every so often.

Error in Script ([854FD9]Card Importer [49D54F]1.971 - d936a8): chunk_0:(679,11-67): Expected string argument to JSON.decode(), got HTML?
Yavamaya 26 Mar @ 11:26am 
I was struggling for a bit, but I found the source of my issue.
The loader has trouble with the format of the name of the card [Kongming, "Sleeping Dragon"] (without brackets).

Once I removed this card from the decklist, it worked perfectly.
Thraez 21 Mar @ 4:57pm 
Scryfall [decklist link moxfield] has not been working for me or my friends for the past 4-5 months.

Has there been some update to this workshop that we might not have gotten, and is needed for it to work?
Amuzet  [author] 11 Mar @ 12:11pm 
okay but what did you actually type?
rikaleeta 11 Mar @ 9:34am 
the only commands i was inputting were scryfall. i have tried reloading tts many times and it doesn't help. when i type in a scryfall command, the console says "command not recognized: scryfall".
Amuzet  [author] 10 Mar @ 9:57pm 
what were the commands that were input before? did a reload not fix it?
Could you inform me on how to reproduce the problem you might be having?

If you dont want to undo/redo the tabletop game, use the command "scryfall clear queue"
rikaleeta 10 Mar @ 2:35pm 
I am currently having an issue where no Scryfall commands will work. The console says that it does not recognize it. Scripting appears to be on.
Thraez 9 Feb @ 6:22am 
I have had the same issue with unable to load from moxfield or other deck sites, tappedout is the only one it seems to import from currently.
Kraft 15 Jan @ 3:05am 
How do you get the colored text in the tooltip?
IiceE 9 Jan @ 5:26am 
I'm currently using an MTG scripted table is there a way to fix the importer so it can load more cards and more leeway on the misspelling of cards?
Annathoth 31 Dec, 2024 @ 7:15pm 
this has worked amazing for me in the past but I just tried to use it with my friend and got this error when I tried to spawn the deck list

Error in Script ([854FD9]Card Importer [49D54F] 1.97 - d936a8): chunk_4:(519,6-102): attempt to index a nil value
Sgt_Hobbes 29 Nov, 2024 @ 8:21pm 
Using version 1.97 with the Table Top Simulator Magic Table, we are not able to load in ANY decks at all. Anyone else running into any issues with the new version?
Debatra 28 Sep, 2024 @ 9:15am 
@tungsten Try "Scryfall search set:XXX+rarity:YYY" one rarity at a time. You can't really do it by color because multicolor cards will appear in multiple searches.
tungsten 24 Sep, 2024 @ 11:04am 
Even with the 100 cap this mod is incredible, a 400 cap would suit grabbing sets one at a time, and exotic decks above 100 cards. Thank you for your work regardless
tungsten 24 Sep, 2024 @ 10:57am 
Trying to import a set with `scryfall search set:[set code]` yields too many results. Is the 100 cap flexible? I would like to be able to import full sets at a time
HaplessNerd 19 Jul, 2024 @ 7:23pm 
Was archidekt support dropped for this? I could have sworn I was importing decks from there before...
Doctor L 13 Jul, 2024 @ 5:47pm 
I'm trying to use this with my friends on the MTG table, I used the additive load to bring it in. Nothing is working, even when we type "/Scryfall help", it says "Invalid Command. Type /help."
G4mma159 11 Jul, 2024 @ 1:23pm 
Also I think there's a bug, because when I try to add custom art to a double-sided card, specifically Hydroelectric Specimen, i can no longer spawn the regular version of it, just the new one,
G4mma159 11 Jul, 2024 @ 1:21pm 
How do I add custom art to both sides of a double-sided card?
Amuzet  [author] 28 Jun, 2024 @ 9:32pm 
If any of you want to mess around with my code to get Archidekt to work here's the github https://github.com/Amuzet/Tabletop-Simulator-Scripts/blob/master/Magic/Importer.english.lua

I havn't a clue on how to fix what's changed also I can't change the Pi table version of the importer since it's a custom made by Oops I Baked A Pie

MTG Deck Loader / Importer (scripted)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2163084841
^^^ here is a link to a Much better deck importer mine was originally made to spawn single cards and tokens while playing the game
AXJB 28 Jun, 2024 @ 2:23pm 
Hey, it wont load anything from archidekt, it seems to work for moxfiled, hopefully this can be fixed soon as my friends and I mainly use archidekt
Amuzet  [author] 24 Jun, 2024 @ 7:31pm 
So long as a Card in the scryfall database has an "assosiated Tokens" field the following command should work to spawn in those tokens. In your case:

Scryfall token kalitastraitor

Another example is "Scryfall token arlinnkord" will spawn three things; her wolf token, emblem, and Checklist card (for unsleeved DFCs)


D-Ry , In Tabletop Simulator you can place cards on the bottom of a deck by placing the deck on top of the card you wish to bottom. AND if you want to look at the current bottom card of a deck Alt +Shift will work to peak Under any object.

Specifically what you want is to GRAB the card from the bottom without seeing the Next card which is done by Grab+Holding the Deck and while holding it Alt+RightClicking to remove the bottom card!

For any other keybinds in table top press the "?" key!


Rafael: It seems my secret language switcher continues not to work "Scryfall lang es" for Spanish
Vee 24 Jun, 2024 @ 6:39pm 
Is there any way to spawn either all tokens of a certain type or a specific printing of a token? Say i want specifically this zombie token from oath of the gatewatch https://scryfall.com/card/togw/8/zombie
Is there a way to either spawn all zombie tokens so I can look through them and find this one, or a way to spawn this specific one?
I know "Scryfall print *cardname*" works for nontokens, but not for tokens like food or treasure or such
D-Ry 14 Jun, 2024 @ 5:14pm 
Can I reveal the bottom card of my deck without spoiling the next one? I have a Grenzo deck I want to utilize.
Rafael Marrega 13 Jun, 2024 @ 5:13am 
Hey, can I spawn entire sets in localized prints, like spanish (ES) or italian(IT) from Scryfall?
Jester Lover 17 May, 2024 @ 4:49pm 
anyone able to spawn archidekt lists yet?
JCarrilloLIVE 12 May, 2024 @ 2:36am 
Same, can't import from archidekt since a few days ago :steamfacepalm:
victo83 9 May, 2024 @ 1:42pm 
I've been using the mod for a couple of months and didn't have any problem with importing from archidekt, but since today it doesn't seem to work? Did it happen to anyone else or is it just me?
Mini 8 May, 2024 @ 4:01am 
Has anyone been able to get archidekt deck lists to spawn, I haven't been able to. Works just fine with tappedout
Verflucht 15 Apr, 2024 @ 1:25pm 
After more testing, it looks like the issue is when loading Khorvath as a partner commander. I haven't tested any other partner decks yet, but i will after work. The decklists im pulling in are from moxfield.
OrdinaryCatKevin 13 Apr, 2024 @ 4:02pm 
I'm trying to load a couple of cards using this mod, but my dinosaur decks on Moxfield keep having an error where it just won't be able to load the whole deck.

Is this a problem with certain versions of the cards, or am I doing something wrong?

The command prompt I'm using is "Scryfall (Deck URL)".
Amuzet  [author] 5 Apr, 2024 @ 5:18pm 
I copy pasted Khorvath Brightflame what is the error, it seems to be working on all tables I load it on. Is there a custom table that this has been happening on?
Verflucht 5 Apr, 2024 @ 4:59pm 
I'm getting an error when trying to spawn in Khorvath Brightflame. Doesn't matter where I try to spawn it from, and the error changes based on the location.
lyra_tcm 21 Mar, 2024 @ 2:44am 
this was a custom alter art for the card i was talking about, looks to be a tts issue tho and was able to mostly fix it by up scaling the art before importing
Amuzet  [author] 21 Mar, 2024 @ 2:14am 
Harddrive usage, Unfortanetly one of the popular tables increased the default output to a larger one, so now I have two of everycard :steamsad: so I'll change it to large

Also it checks the card info for hi-res flag and switches to small if there is no hi-res scan. This happens a lot during Preview season
lyra_tcm 21 Mar, 2024 @ 1:24am 
Is there a reason why your importer renders card with custom arts in a lower quality comapred to the source?
Zooglie 22 Dec, 2023 @ 7:17pm 
I keep getting unknown command errors when using any of the scryfall commands, dunno if im missing something but I have it installed correctly.
lindquca 11 Nov, 2023 @ 6:40am 
Yes I am having this same problem too @Albert and @Quinoa
Albert 10 Nov, 2023 @ 6:57pm 
@Quinoa I seem to be having the same problem as you
Quinoa 10 Nov, 2023 @ 8:23am 
the mod currently doesn't seem to be working with various MTG table mods, says it's attempting to find a nil value or something to that effect. anyone else having this problem?
stræf 21 Oct, 2023 @ 10:20am 
i am trying to figure out how to import a specific version of a card that had multiple versions.

everythingamajig has different versions from the same set, that are not the same thing as printings so the printings importer does not work. there are versions a through f.
https://scryfall.com/card/ust/147a/everythingamajig

how do i specify a specific version for import?
Amuzet  [author] 7 Oct, 2023 @ 12:49pm 
@Gondola NO, sorry.

@Trax The importer on that table seems to be still working, which deck list did you use? perhaps it's export format changed? and therefor requires an updated importer. My importer is not on that table.... hope this helped.

@Prismatica I've been trying to get "Comments" working for decklists usually after the card name denoted with a # and then the image URL, But this always gets difficult since the current way I query the cards is based on a timer and gets offset from each other :( I could redo all this but I have other things to do...

@EclipsePlays Ulamog is now working, but I changed nothing. So the data base entry for that printing probably was not entirely upto date when you tried. remember cards that are spoiled are host to many issues until they are released.
Gondola 7 Oct, 2023 @ 1:06am 
If you try and get a card from a certain set, but it wasn't printed in that set, it defaults to the latest printing.
Could you make it import the printing closest to the set that it wasn't printed in?
Trax 4 Oct, 2023 @ 10:59pm 
Do you know the card importer in this scripted table https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2688047075 comes up with a bunch of black cards? I stated using it a couple years ago and for whatever reason cards imported 5x faster on this particular table as opposed to others but now that ive come back it still works just as fast but gives a lot of blank cards.
Prismatica 4 Oct, 2023 @ 2:11am 
Would be really nice if importing a deck from the Notebook tab allowed using custom images the same way importing cards directly does. I have several pieces of custom art I'd like to use for one of my decks and it's not really feasible to import them all one by one.
EclipsePlays 3 Oct, 2023 @ 8:31pm 
Follow up, this also means that "scryfall print ulamog, the ceaseless hunger" fails as well, with the same error code
EclipsePlays 3 Oct, 2023 @ 8:29pm 
Hello! I'm sad to say that while attempting to import specific copies of cards for my eldrazi deck that I found one that don't work.

1 [sld:1122] Ulamog, Ceaseless Hunger
chunk_3:(66,8-76): attempt to concatenate a nil value