Tabletop Simulator

Tabletop Simulator

CSVDeck
7 条留言
redpepper 7 月 28 日 下午 7:54 
Update: there aren't escape sequences, but you can add them yourself in the script. For example, add this line after the "else" in the "importCards" function to replace all instances of "[;]" with ",".

value, _ = value:gsub("%[;%]", ',')
redpepper 7 月 28 日 下午 6:26 
This is super helpful! Is there any escape sequence for putting a comma in a card's description? (I've seen [;] used before but it doesn't seem to work here)
Stexe 7 月 10 日 上午 11:13 
Awesome tool and almost exactly what we were looking for!

Have you considered adding an option to import a deck based on a single front image sheet / single back image? It could calculate the number of cards to pull on the sheet based on the number of CSV entries. Would work similar to how TTS already does custom decks and allow for name, description, etc, but in a faster loading format.

Having the option to provide a static URL that contains the CSV file to load could be really useful too. That way people could just update the website data and not have to copy/paste it to generate new cards.

And options for generating multiple different decks at the same time instead of copying CSV files one after another.

Lots of ways to expand on this, but either way incredible work!
lexavian 3 月 28 日 上午 9:32 
For those who do not know how to copy and paste the CSV file, once you've made the file in a spreadsheet software and saved as a CSV, save it to your computer and then open that file in a program like Notepad. Then copy everything from there and paste into here.
Chucklemaster 3 月 26 日 下午 5:54 
genius
Catt0s 3 月 26 日 下午 1:04 
Once TTS adds svg support, this will become so much more useful than it already is...
Malixx 3 月 24 日 下午 12:32 
Like all your tools, wish we had this before :) good job