Aedif / TokenVariants

GNU General Public License v3.0
17 stars 12 forks source link

Forge Bazaar search paths #109

Closed pinkflumph closed 1 year ago

pinkflumph commented 1 year ago

I'm trying to add the Forgotten Adventures bazaar assets to the search paths and for some reason the core folder is never getting cached.

Specifically, the paths to FA assets are all of the following form: "...bazaar/assets/FA_", e.g. "...bazaar/assets/FA_Adversaries_Bandits_01/Bandits/Bandit_Archer_01.webp". After adding a forge-bazaar source with the path "assets/FA_Adversaries_Bandits_01" the module properly caches all the images under "FA_Adversaries_Bandits01" and its nested folders. However, given a forge-bazaar source with just "assets" as its path, the module doesn't cache or find any of the images. I've tried getting around this by adding a source with "assets/FA*" as the path, but that hasn't helped:

image

Is there any way to fix this? I'd rather avoid adding each one of the folders manually (and adding a new one every time a new package is published). Thanks!

Aedif commented 1 year ago

Seems like some sort of restriction enforced by ForgeVTT.

I implemented a workaround in the latest release: https://github.com/Aedif/TokenVariants/releases/tag/4.38.0

pinkflumph commented 1 year ago

Just tested, it works. Amazing, thanks!