Tabletop Simulator
Оцінок: 60
(TOOL) Mass Token Import
2
3
   
Нагородити
До улюбленого
В улюблених
Прибрати
Позначки: Misc
Розмір файлу
Додано
Оновлено
54.554 KB
1 листоп. 2017 о 23:06
22 лют. 2023 о 13:22
Змін 12 ( перегляд )

Підпишіться, аби завантажити
(TOOL) Mass Token Import

Опис
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.
Коментарів: 100
Grzegorz Brzęczyszczykiewicz 21 черв. о 10:28 
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 черв. о 12:06 
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 берез. о 17:16 
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 січ. о 16:22 
dpmusiol: I figured out what causes that, you have to have physics set to full, not (semi)locked.
dpmusiol 24 груд. 2023 о 19:51 
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 груд. 2023 о 7:39 
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 груд. 2023 о 23:52 
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 верес. 2023 о 6:24 
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 серп. 2023 о 1:00 
Doesn't seem to work at all man.
leberschnitzel 13 берез. 2023 о 6:55 
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.