Tabletop Simulator

Tabletop Simulator

View Stats:
tabicat Nov 12, 2020 @ 10:58am
On Linux, where are a game's .json files located?
They're not stored in my Documents folder because TTS is running under a Windows emulator (Proton).

The reason I ask is that I've created a custom tile and I need to set it to a specific size, and apparently the only way to do that is by editing the .json file for the tile directly. Is this correct?

Also, while I have your attention, is there any way to remove the brown border around a custom board?
< >
Showing 1-8 of 8 comments
SaltyO Nov 12, 2020 @ 11:09am 
~/.local/share/Tabletop Simulator
~ is short for /home/username/
That's where they are on linux. I have no idea how an emulator does things. If you are using linux, you can find things quite easily with "find" and "locate".

"is there any way to remove the brown border around a custom board?"
No, those brown boards are default models. You can take the image from the board and apply it to your own board model or to a tile, then scale it to your liking.

"the only way to do that is by editing the .json file for the tile directly. Is this correct?"
I don't think so... If all you want to do is make a tile X size, do it at the table with the Scale gizmo tool. You can set the exact location and size of the object this way.
tabicat Nov 12, 2020 @ 11:19am 
Thanks. I finally found the files.

I had no success with the 'find' command because I kept trying to "find" the name of my game. However, the saved games are called "TS_Save_x.json".

As for the scale tool, it only lets me scale by a factor. What I'm looking for is a way to say "if this board is 10 inches wide, then these tiles need to be 2 inches wide". How do I specify that?
Last edited by tabicat; Nov 12, 2020 @ 11:21am
SaltyO Nov 12, 2020 @ 11:31am 
if you want pieces to autoscale to a proportion relative to another object, I'm afraid you will have to script that. I am not sure why you need this though. Perhaps I'm not understanding your project. You can set the exact size and coordinates of an object in TTS using the gizmo mentioned, not just a scaling factor. I think you might be looking at the Scale command in the object alt-click menu? I am doing a huge TTS restore project rn or else I'd show you.

Another useful little command if you really need to find something is: grep -ri "string" <directory to recurse>
This will search all files in all directories stemming from the one indicated recursively, so any mention of the string in a text file etc., and faster than it takes Win10 to find Cortana's shoes.

Last edited by SaltyO; Nov 12, 2020 @ 11:31am
tabicat Nov 12, 2020 @ 11:39am 
When I click on the Gizmo->Scale tool, I get this dialog box: https://i.imgur.com/lXM1fMg.png

I don't know what the "8" means other than it being 8 times larger than something, but that something is not defined.

I tried setting the tiles and the board both to scale 8, but that just made the board smaller and the tiles much too big.

SaltyO Nov 12, 2020 @ 2:54pm 
I see. I have personally never had to have exact measurements relative to other objects in any of my games. Rather than try to decipher the scaling logic, which other users who are adept at wargaming (and thus wrestled with measurements at levels I know not) could probably explain to you far better, I will just pass on general wisdom, which is to get in the habit of making all of your assets OUTSIDE of the sandbox, with consistent sizes relative to one another as they would be irl. If you rely on TTS for precision and for asset management, you will have a bad day. If precision in measurement is of the utmost, than probably look to another solution like roll20, forge or vassal.
tabicat Nov 12, 2020 @ 6:32pm 
The assets are already scaled and sized correctly. Maybe if I upload my game you could take a look at it. I have a board and some tiles. The tiles need to be scaled to match the images on the board. So I created a custom tile component for the board, and another custom tile component for the tile pieces. Unfortunately, custom tiles all start as a small rectangle, so it doesn't matter how big my asset is.
SaltyO Nov 14, 2020 @ 9:21am 
I could take a look at it, but by the sounds of it I think your original question about scaling might be true, if you want exact relative sizes between different components, the easiest way would be to edit the .json file of the save/mod. That's if it's absolutely necessary for there to be so many different tile sizes... Once you scale a tile to where it needs to be in the sandbox, you can reskin it with a new image and it will keep the dimensions of the previous tile. Maybe I'll have better advice if I see what you're trying to do :)
tabicat Nov 14, 2020 @ 8:29pm 
Ok, I've uploaded my game so far. https://steamcommunity.com/sharedfiles/filedetails/?id=2287706462

You'll see there are a bunch of rectangular tiles scattered around. First, these tiles need to be stacked onto the board in the lower-right on top of the matching artwork. That means that either the tiles or that board need to be scale. Probably the board.

These tiles also need to be scaled to fit onto the large board on the left. I think I have that part working, as you can see on the lower-right corner of that board.

Any advice you can give me before I continue would be very helpful.

I know I need to create a lot of snap points, but I don't really understand how those work just yet. I need to watch some tutorial videos on that.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Nov 12, 2020 @ 10:58am
Posts: 8