Tabletop Simulator

Tabletop Simulator

MSE Importer
16 Comments
giantweevil  [author] Oct 8 @ 11:06am 
@Rivers yeah apparently pastebin nuked my account from orbit for some reason. Links should all be fixed now.
Rivers Sep 16 @ 10:46am 
the pastebin links give 404 errors
Psiell Apr 5, 2024 @ 6:50pm 
well the script is a blessing regaurdless so thanks. ^~^
giantweevil  [author] Apr 5, 2024 @ 5:07pm 
@Psiell yes, you can use google drive or steam cloud to host images. That's not the actual problem. You could even put those on individual cards using the custom card button in TTS, one by one. What they don't do is host images in an accessible way for a script to pull a large number of images into TTS. Imgur's API does do that, which is why it's used here. Creating custom cards *in bulk* in TTS is a little more complicated than just having them uploaded somewhere.

Ideally, I'd grabbing a directory with images and text file all at once and uploading it to a user's steam cloud, keeping the relevant identifiers and processing from there, but as far as I'm aware there's not a reasonable way to do that in TTS itself. If I had a way to do that, I wouldn't be using two different sites for storage at all, there'd just be a big friendly button to find a directory. I don't like how many manual steps are in the process currently, but it's the best way I could find to do it.
Psiell Apr 5, 2024 @ 3:26pm 
https://www.reddit.com/r/tabletopsimulator/comments/ndjv4p/new_to_tts_how_other_players_could_see_my_custom/ try reading this. it seems to imply that you can indeed just use google drive or steam cloud. so when i upload the content it should all save to my steam cloud if i choose to do so.

you dont need to, the user does when they upload it for people to download. so if i could upload the images via a link on my drive and the raw tts export then it shouldnt be a problem for others to get the images.
Psiell Apr 5, 2024 @ 3:20pm 
cus the goal is import them then upload them as a massive mod of custom ai mtg cards. i would think that saveing them as a custom object would be good enough.
Psiell Apr 5, 2024 @ 3:19pm 
if i upload the cards as a mod to the steam workshop it should work right?.
giantweevil  [author] Apr 5, 2024 @ 2:55pm 
@Psiell for other people to see the images, they need to be hosted somewhere public. Only the host would be able to see the images if they were just pulled from the host's computer. It might be possible to have them get directly uploaded to the user's steam cloud, but I haven't seen any way to do that in the TTS documentation.
Psiell Apr 5, 2024 @ 2:08pm 
is it possible to point it towards a folder on your pc and have it pull from that? and have it import them via the alphabetical sort option
Psiell Apr 5, 2024 @ 2:04pm 
i see. that sucks. oh well.
giantweevil  [author] Apr 5, 2024 @ 1:58pm 
@Psiell Imgur is used because of the kinds of access it provides for free, to only lightly authenticated clients (which is to say, an API key as opposed to OAuth). Google Drive doesn't have an equivalent, and I'm not aware of another image hosting site that does. In the background direct links to every image in the album get pulled, so direct linking being free is also a requirement. Other image hosting sites generally charge for direct linking.
Psiell Apr 5, 2024 @ 1:50pm 
ok so appearently for the last year imgur has had constant problems for many with error 404 or 500 upon trying to upload or look at images. please please fix this with some other site/solution. i really relly want this to work as there is no other mse importer that keeps text.
Psiell Apr 5, 2024 @ 1:43pm 
could you please make this work with a different website or a google drive or something. imgur constantly refuses to upload cards for me and many other people resulting in long uplaod times only to find out one or two cards errored out and didnt upload and i have to do it 50 or 60 times before they all work. and even then imgur interupts multiple times to ask if im a bot.
giantweevil  [author] Oct 13, 2022 @ 2:39pm 
@skurleton I think I found the bug, try the updated MSE script. Might have to Ctrl-Shift-R to reload it without using the cached version. Also, accidentally deleted your comment. Turns out there's no "are you sure" on that and no way to undo it. Sorry!
giantweevil  [author] Oct 22, 2021 @ 11:58pm 
@Fefe where are you getting stuck? In your MSE folder there should be a folder called "data", in that folder you should be able to make a new folder called "magic-TTS.mse-export-template" then add the text file linked above to it (without a file extension, may need to save as .txt and remove it in file explorer) as well as any 100x100 png image saved as "icon.png" After that, you should be able to access it through the File > Export > HTML menu as "TTStext"
Depressed Chinese Man Oct 16, 2021 @ 11:02pm 
Struggling to use the MSE export script. Any tips for anyone who has never touched a script in their life?