Tabletop Simulator

Tabletop Simulator

(TOOL) Mass Token Import
106 Comments
Bismarck 28 Aug @ 6:56am 
I cant believe its taken me so long to find this. This is just phenomenal work, thank you so much!
Habanero 8 Apr @ 3:29am 
This also works for figurines, nice.
Track Charlie 24 Mar @ 6:42pm 
Can we get a third column to import a name of the unit? I have names for each, but now I have to handjam them.
Wargo567 31 Jan @ 5:51pm 
Does not work with google links.
Radio With Legs 2 Sep, 2024 @ 2:55am 
Can you make it work with asset bundles (It would be very useful)
Pony Flare 31 Aug, 2024 @ 12:19pm 
The problem with Dropbox links is an internal change in their structure. The parser built into this mod changes a 0 into a 1, but starts at the wrong point... Since the links now include a "key" as the first thing after the ?, the script doesn't make the required change.

Under the convertURLs(urls) function for the Cog's script
link = link:gsub('?dl=0', '?dl=1') should be link = link:gsub('dl=0', 'dl=1')
Grzegorz Brzęczyszczykiewicz 21 Jun, 2024 @ 10:28am 
It still works, you just need to put "file:///" in front of your link, at least if you're going off of your hard drive
Captain Maybe 8 Jun, 2024 @ 12:06pm 
This no longer works. The built-in demo doesn't even work. Any chance of an update to the mod and the instruction video?
Jjshebesta 21 Mar, 2024 @ 5:16pm 
I found a decent workflow for gathering the steam cloud URLs. You can upload files in bulk to the Steam Cloud Manager (under the Mods dropdown in TTS). Once you have those files in your Cloud Manager you can click on the file and it automatically saves that file's url to your Clipboard! On Mac and PC your clipboard history is limited to only the last copied data, but a third party clipboard history tool like CLIPBOOK can maintain a history. With a few clicks you now have a list that can be pasted into Mass Token.
Erfeo 22 Jan, 2024 @ 4:22pm 
dpmusiol: I figured out what causes that, you have to have physics set to full, not (semi)locked.
dpmusiol 24 Dec, 2023 @ 7:51pm 
I had the same "Custom Tile: PLACED" followed immediately by "Custom Tile: REMOVED" problem. I hit the button as soon as I dropped it and it worked. You may have to try a couple of times. It's still faster than importing one by one. Thanks, Tragic
tarek.eleryan 23 Dec, 2023 @ 7:39am 
As a follow up. The tool works fine for google links and dropbox links if you manually get the direct links before pasting them into the textbox. Is there anyone that has figured out a way to mass bulk convert links. I thought the mod was intended to convert/parse as part of functionality
tarek.eleryan 22 Dec, 2023 @ 11:52pm 
Is this tool still working for anyone using Google Links. When I attempt to paste in google links they now are all one line and are comma separated. Even when I attempt to manually remove the comma and set each link on its own line I get errors.
Erfeo 23 Sep, 2023 @ 6:24am 
I'm also unable to get it to work, whenever I place the initial template on the cogwheel tool it says:
"Custom Tile: PLACED" followed immediately by "Custom Tile: REMOVED". I tried it with a number of different items and item types (token, tile, figurine, model), and none of them work.
RankMayor 11 Aug, 2023 @ 1:00am 
Doesn't seem to work at all man.
leberschnitzel 13 Mar, 2023 @ 6:55am 
Ok no need to do that just for me, I quickly edited your script and added that for me so I can use it. Pretty simple, basically copy / pasting what you already did for the URL Lists.
leberschnitzel 13 Mar, 2023 @ 6:24am 
this is awesome, just one question: Is it possible to add a list for names of the objects?
we have list 1 for front, 2 for back, I'd like 3 for Names.
I love to give my objects names :)
Tragic  [author] 22 Feb, 2023 @ 1:19pm 
UPDATE : 23/02/2023

• CHANGED : The way the mod detects the placed object has changed. It should be much more reliable.

• ADDED : I have added a slight change to the spawning system so it places the objects into a New Bag and the palaces that bag into Infinite Bag
TheGreenLing 27 Jan, 2023 @ 8:53pm 
For anyone having trouble with making url links, I found it was much easier to just do with local files. (as mentioned by GC2 below, big props to him)
Instead of using a URL, you just add file:/// then the path.

If you want to do it fast and you already have your items numbered, you can use excel/google sheets to generate the links in like 30 seconds.
Create 3 column
Column A1 says File:///(Then the path) Ex: File:///D:\Tiles\
Column B1-X has the name of the files (if numbered you can drag right down and get all the numbers instantly) Ex: Tile1
Column C1 has the extension (option ignore if not) Ex. .png
Then use formula =CONCATENATE($B$1,C1,$D$1) and drag down.

Bonus Tip:
If you don't have your files numbered, but you want to do it quickly, rather than doing it manually there is a program called Fileboss that is free and lets you rename any number of files, and it takes like .1 seconds. Its amazing.

Just wanted to share because it really is a huge time saver!
jutrasimon 26 Sep, 2022 @ 8:08pm 
Genius stuff! Thx!
Habanero 15 Sep, 2022 @ 2:25am 
As it turns out, TTS just doesn't like unicode filenames (Japanese, etc.). Renaming them all to just numbers fixed the issue.
Habanero 15 Sep, 2022 @ 1:37am 
I tried using this to make figurines in bulk from a list of images stored locally in the correct directory link scheme. For some reason, it creates duplicates of some objects, and other figurines don't properly parse the directory path correctly despite being in the same format. Any idea what could be causing that?
Cannon Fodder 6 Feb, 2022 @ 10:20am 
I had the same issue as GravitySoul and RedBaron in getting errors that the png file format was not supported. However, after making the Google Drive links public to anyone that had the url it was able to load the png file. I suspect the permissions to the url was manifesting as an invalid format in the program.
SquadUp 30 Jul, 2021 @ 4:01pm 
How do I keep the google drive file names? It just names all the files 0,1,2,3,
GC2 10 Jun, 2021 @ 6:32am 
Little 7 Sep, 2020 @ 11:20pm 
Hey, not sure what I'm doing wrong but once I've imported the urls it just produces a bunch of the same tokens. Any suggestions?
Chosen Mimes 10 Jun, 2020 @ 1:38pm 
Update! I'm not very smart!
Make sure you actually make the files on Google drive Publicly available via the links you copy.
then once you have all the links make sure you format them with your text-editing tool (search and replace) of your choice into the same format as the link "Direct link generator" provides!

The tool works if used correctly. if you have questions regarding importing from one drive feel free to contact me. i'll try to help.
RedBaron 20 May, 2020 @ 8:08pm 
I got the exact same errors as GravitySoul. First it imports one long line with %20 character codes instead of separate lines for each link, then even when I remove those and replace with correct spacing, it says files are not supported even though its .jpg
Muse 20 May, 2020 @ 9:09am 
Hey, it seems like it's not working with google links anymore for some reason.

Google Disk's copy URLs now comma separate into one long line. But it still didn't work after removing the comma and spacing. Instead I get an error saying the format isn't supported; But the images are in the .png format.
Samuelw 7 May, 2020 @ 6:45am 
Cool. I thought I was doing something wrong. (in the end I just made a custom deck instead.) But this is great work without cards. Saved SO MUCH time!
Tragic  [author] 6 May, 2020 @ 7:29pm 
This mod does not import card data... I have been meaning to add that. Card create scripts did nto exist when this mod was made.
Samuelw 6 May, 2020 @ 12:27pm 
Does this work for individual card? (i.e. a custom card, not a deck)
jmricker 3 May, 2020 @ 2:07pm 
Opps, looks like Steam didn't like the link in my last post. Let me try it a different way:

https:// [drive dot google dot com]/uc?export=download&id=1Q7mS0vmCzZa4eaGl5banFAKNNkRH-WPP

Also great mod, really appreciate it. Oddly satisfying to see 1400+ tokens laid out and then are sent to the bag one by one.
jmricker 3 May, 2020 @ 1:53pm 
The link you get from Files Cabinet will look like this:

https://drive.google.com/file/d/1Q7mS0vmCzZa4eaGl5banFAKNNkRH-WPP/view?usp=drivesdk

and it needs to look like this for TTS to import it properly:

{LINK REMOVED}

Hope this helps
KarateSnoopy 10 Mar, 2020 @ 12:28pm 
Thank you for creating this! I just imported 840 double sided war gaming tokens with one button click. So much easier than doing it manually :)
lucacipo66 3 Jan, 2020 @ 10:44pm 
hello, thank you for your explanatory video
Tragic  [author] 2 Jan, 2020 @ 1:59pm 
@Luc - https://www.dropbox.com/s/pc27dlr2b1hsk70/demo.mp4?dl=0

Made a quick link on how to use this tool with SteamCloud
lucacipo66 30 Dec, 2019 @ 12:34am 
I only have problems with cloud steam. I don't know which file to use as an example to then elaborate the list and display it in the steam cloud manager. thanks you are a myth
Tragic  [author] 30 Dec, 2019 @ 12:23am 
The tool only applies existing links to objects. So you can build many objects quickly instead of manually importing everything. You still need to upload the actual images to your steam cloud or drop box or whatever. All the tool dose is allow you to paste a lot of links to images all at once and build a lot of objects for each link.

If you still have an issue I'll make you a small video tutorial first thing 2020.
lucacipo66 30 Dec, 2019 @ 12:17am 
thank you
lucacipo66 30 Dec, 2019 @ 12:16am 
if I import titles from my list in local I don't find them in the cloud manager except the one I used as an example
Tragic  [author] 30 Dec, 2019 @ 12:08am 
it works with steam cloud. I do not know what to tell you.. it will paste links into your objects just fine.
lucacipo66 29 Dec, 2019 @ 11:11pm 
hello, I have conducted other tests, it does not seem to me that your module works with the steam cloud. Maybe I'm wrong? thank you in advance for your answer
lucacipo66 26 Dec, 2019 @ 11:01am 
I did some tests with the files locally, but even if I choose to upload to the steam cloud after your mass import I don't find them in the steam cloud. What should I do in your opinion? sorry again for the wrong comment
lucacipo66 26 Dec, 2019 @ 10:58am 
sorry I miss the comment
lucacipo66 17 Dec, 2019 @ 9:33pm 
thank you for your information, I'll do some tests
Tragic  [author] 17 Dec, 2019 @ 10:44am 
It should work the same way... there is no way to mass collect links from steam cloud.. but you cloud as far as I know. You can just click on the files in the manager and it copies the link, paste into a text file and then once you have all the links paste into the tool. Also you can use local filenames and once the objects are made do a mass upload.
lucacipo66 17 Dec, 2019 @ 6:54am 
hello, can I ask you the courtesy to make a tutorial on loading tokens in SteamCloud? thank you very much you are a myth to me
kensuaga 10 Dec, 2019 @ 2:32pm 
@tragic Welcome Back!
lucacipo66 6 Dec, 2019 @ 10:47pm 
Hello, your change is very interesting, could you tell me if there are differences in the method of uploading files compared to before to put them SteamCloud?