AssetDownloaderPlugin

版本 v1.0.1·更新於 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.

模組介紹 作者原文

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.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

bbepisTaleSpire-BepInExPackbrcoding-SetInjectionFlagPluginHolloFox_TS-BoardPersistencePlugin

檔案與校驗

檔案名稱
AssetDownloaderPlugin-1.0.1.zip
檔案大小
28.5 KiB