Managing Assets

This post refers to the new-and-improved beta version of Tabletop Playground, and may describe functionality or UX not present in the legacy version. For information about the beta, click here.
Accessing the Package Folder
Whenever you create a package in TTP, what you’re doing is creating a folder on your hard drive, within which will be stored all of the images (aka textures), 3D models, scripts, and so on your game needs. If you want to work efficiently in TTP, it’ll help to know where that folder is so you can work with it directly.
You can quickly open your package folder in your system browser by clicking the folder icon at the top of the object library:

By default, all your packages will be located in Tabletop Playground’s PersistentDownloadDir folder. If you’d like to change this to somewhere more convenient, open the Settings Menu and look for “Package Location” in the “Game” tab. Set it to “Custom Directory,” and select or create the folder you’d like your packages to live in.

Importing and Using Assets
Whenever you use the “Import” button to bring an asset into your package, what you’re doing is copying that asset into the appropriate folder within the package — for example, all images you import will be in the package’s “Textures” folder. So if you’re making images for your game, you may find it efficient to simply save them into that folder in the first place. When you next open the “Select Resource” window, you should see the file there in the list.
Similarly, if you want to update an image for a component, you can simply overwrite its file in the texture folder rather than re-importing a new version from elsewhere.
It’s also worth noting that multiple object templates can use the same asset. For example, you can have multiple Deck templates that all use the same cardback image. When creating the second deck, simply choose the back from the Select Resource window rather than hitting Import.
The Asset Cleanup Tool
Assets will remain in your package unless you remove them, even if you’ve deleted the associated template. For example, if you create a board, add a local image for it, and then later delete the board template, the image will still be in your package, increasing its size. (The texture is not deleted automatically in case another object is using it.)
You can easily find and delete such unneeded assets using the Asset Cleanup tool.

When you open your Object Library, you’ll see an indicator over the cleanup icon if TTP detects that you have assets not currently in use by any template. (If you just deleted the template, you may need to close and reopen the package for this to register.) Clicking that button will bring up the Asset Cleanup Tool modal.

Here, you can review the unwanted files, de-select any you wish to keep, and delete the rest.
Note that the tool cannot detect whether or not a script uses an asset, so if you’re creating things via scripting, you’ll want to be careful not to delete them here.

















