LordAshes-AssetDownloaderPlugin icon

AssetDownloaderPlugin

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

Last updated 3 years ago
Total downloads 1133
Total rating 0 
Categories Networked Tools Assets Effects Props
Dependency string LordAshes-AssetDownloaderPlugin-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepisTaleSpire-BepInExPack-5.4.10 icon
bbepisTaleSpire-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.10
brcoding-SetInjectionFlagPlugin-2.3.0 icon
brcoding-SetInjectionFlagPlugin

Allows players to flag mods are installed

Preferred version: 2.3.0
HolloFox_TS-BoardPersistencePlugin-2.0.2 icon
HolloFox_TS-BoardPersistencePlugin

This is a developer tool based package used to add support for JSON persistance on a board.

Preferred version: 2.0.2

README

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.