AssetDownloaderPlugin

v1.0.1·Updated 2021-08-14

Allows GM to request download of an asset ZIP file one all clients. Supports download confirmation setting and ignore own request setting.

About this mod Author’s original text

Aset Downlaoder Plugin

This unofficial TaleSpire plugin that allows the GM to request an asset package download from an external source.

Typiclaly used to download game specific asset to all client for use with plugins like CMP, Handouts, etc.

Setting allows the client to be prompted to accept the download and to ignore own requests (e.g. if the GM already

has the assets downloaded).

The asset ZIP will be downloaed and expanded into TaleSpire_CustomData were it can be used by other plugins. The

original downloaded ZIP file is removed.

Change Log

1.0.1: Corrected GitHub Link (no plugin change)

1.0.0: Initial release

Install

Use R2ModMan or similar installer to install this plugin.

Usage

Press the keyboard shortcut from Download Request (default RCTRL+D). This will open up a download dialog.

The GM enters the direct URL for the asset pack ZIP file. The pack must be a ZIP file even if it only contains

one asset.

If clients have the confirmDownload setting set (default is set) a download dialog will pop up indicating who

make the request (i.e. the user name) and the proposed URL. Do not modify the URL. Click Download to process the

request or Cancel to reject it. If the confirmDownload is not set, the request is processed automatically.

The asset pack ZIP file will be downloaded and expanded into the TaleSpire_CustomData folder where it will be

accessible to other plugins.

FileAccessPlugin Cache Setting

In order to avoid having to stop and restart TaleSpire after using this plugin (to allow other plugins to see

the newly downloaded content), ensure that the FileAccessPlugin's configuration is set to the No Cache setting.

If FileAccessPlugin is set to use cache then its list of asset will be out of date when the new assets are

downloaded and thus other plugins will not know about the new assets (thus requiring a TS restart).

Asset Package Hosting

The asset package ZIP file can be hosted on any hosting site as long as it provides a direct URL to the ZIP file.

Many hosting sites, like Google Drive, don't provide direct access to the file. Instead they provide access to a

website which then displays the file or makes it available for download.

Generally if you paste the URL into your browser and your browser starts to download a file then you have a direct

URL to the file. If, on the other hand, pasting the URL into your browser displays a web page with the file contents

or links to dowload the file then it is not a direct URL and will not work with this plugin.

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

bbepisTaleSpire-BepInExPackbrcoding-SetInjectionFlagPluginHolloFox_TS-BoardPersistencePlugin

File & checksum

Filename
AssetDownloaderPlugin-1.0.1.zip
File size
28.5 KiB