Tabletop Simulator

Tabletop Simulator

60 ratings
(TOOL) Mass Token Import
2
3
   
Award
Favorite
Favorited
Unfavorite
Tags: Misc
File Size
Posted
Updated
54.554 KB
Nov 1, 2017 @ 11:06pm
Feb 22, 2023 @ 1:22pm
12 Change Notes ( view )

Subscribe to download
(TOOL) Mass Token Import

Description
Recently I had to import over 390 custom tokens... and after 2 days I still had another few 100 more to do!! It was so slow and painful having to copy and paste the token, right click it, select custom, alt tab, get the url, tab back, paste the url, hit import... and repeat!!

So I made this quick and dirty solution for importing 100s of token images into TTS. All you do is make a template object, drop it on the tool, and then copy all your urls into the text tool and hit the button. So much faster.

At this time, as that was all I needed, this script only works on the default TTS "CUSTOM TOKEN" object.. but the method can be easily adapted to all custom objects. If there is interest I could expand the mod.. but it is what it is at this time!

UPDATED 14/01/2018

  • It now works on all objects in TTS (apart form custom decks and asset bundles)
  • It now can read off two url lists.
  • List 1 = image slot 1 or diffuse map for custom OBJs
  • List 2 = image slot 2 or normal map for custom OBJs
  • Imported objects are placed inside a Bag to be neat. You can save this to your chest and then import it into any mod you are working on.
  • GoogleDrive and Dropbox RAW links, will be rephrased automatically. So you can paste raw links form those sites into the mod and it will work.

To use only 1 image list, simply select the 2nd list and select all and delete. The default "empty" for a text field says "Type Here". This means empty as far as the mod is concerned.

If you want to use two urls lists then they MUST be the exact same length of lines, as in have the same number of URLs in each list.

Instructions : https://www.youtube.com/watch?v=BxLUW6z_Ztc

How to use
• Create 1 Token as a "template" for all your other tokens.
• Make a text file of all your URLs, 1 URL per line. If you use DropBox or GoogleDrive you can simply select all the images and get the urls in one click.
• Paste your URL list into TTS, but selecting the TEXT TOOL and editing the TEXT FIELD in the mod. Just simple ctrl+v to paste it in. (remember to delete anything I had in the tool)
• Drop your template token onto the tool
• Press the button

• After it has finished, press the button next to the bag and it will spit everything out of the bag into the table to fix GUID issues and load all the images into your TTS cache.
• When all the loading is done you will notice a button at the base of the table to pack everything backup into the bag

• Save the compleated bag to import into your mod.
• Enjoy your hours of extra time by going for a surf with your kids.

Mass Copy from GoogleDrive it out of order!!

Yes, yes yes it is : (... Luckily we have a fix for this! Basically, you need to use a 3rd party tool to order the links. There are a number of these around.. but I mainly use Direct Link Generator or File Cabinet.

I have made a YouTube video instructions for these tools..
https://www.youtube.com/watch?v=OJzcePZUwes

Direct Link Generator - Google Drive, Dropbox, Onedrive[syncwithtech.blogspot.com]
Files Cabinet[gsuite.google.com]

Thanks

big thank you to dzikakulka for helping me with some of my typical noob-like scripting questions. This mod wouldn't be here with out him.
98 Comments
Jjshebesta Mar 21 @ 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 Jan 22 @ 4:22pm 
dpmusiol: I figured out what causes that, you have to have physics set to full, not (semi)locked.
dpmusiol Dec 24, 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 Dec 23, 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 Dec 22, 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 Sep 23, 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 Aug 11, 2023 @ 1:00am 
Doesn't seem to work at all man.
leberschnitzel Mar 13, 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 Mar 13, 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] Feb 22, 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