dmarcuse / fvtt-adventure-bundler Goto Github PK
View Code? Open in Web Editor NEWExport and import Foundry adventures, assets included!
License: MIT License
Export and import Foundry adventures, assets included!
License: MIT License
It seems to not understand wildcard images and gives an error when trying to find them.
in case you dont know. if you put an * in an image. for example. Beast_01.PNG and turn it into Beast_*.PNG.
the function is that if you have multiple images Beast_01.PNG through Beast_10.PNG. it will randomly choose an image that shares the same name before the *.
Hello this issue is more a report as I found a workaround.
Running on Foundry V10.291, Starfinder 0.23.0 and Adventure bundler 0.2.2
What's happening
When I want to "Bundle and Import" an adventure created in an adventure compendium I got the following error :
Error exporting Adventure: Not Found
Looking in the console I noticed this
GET http://localhost:30000/worlds/sfs6-0102/assets/scenes/K2l138MwSwobjR7q-thumb.webp 404 (Not Found)
Workaround : I re-generated all thumb pictures of map.
I find it a pity that the images in the notes are not exported along. Is this a bug? If not, it would be a good feature.
Hi!
One thing that I'd like to see different is renaming everything to asset(x). Especially when you want to share adventures with people, it's nicer to have the names of the assets in place. That way a user can browse the files and find files. Instead of having to open and look at everything because they're named asset...
Hi!
Firstly, thanks for making this module, makes sharing content a lot easier :D
I've encountered that when a map file name contains spaces, it doesn't get exported and only the thumbnail is present.
Occasionally, importing a bundle in Foundry v11 with version 0.2.3 fails with a vague error which occurs on the server side:
FoundryVTT | 2023-06-18 17:03:29 | [error] Maximum object expansion depth exceeded
Error: Maximum object expansion depth exceeded
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:257:29)
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:263:32)
at file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:259:55
at Array.map (<anonymous>)
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:259:46)
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:263:32)
at file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:259:55
at Array.map (<anonymous>)
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:259:46)
at _expand (file:///home/dana/foundry/stable/bin/resources/app/common/utils/helpers.mjs:263:32)
This seems to be a recursion issue, and is reproducible when trying to import the same bundle.
If you prepare your adventure on the forge vtt server, the downloaded bundles still contain links to the server, instead of packaging up the assets like they do with local adventures.
For example:
"name":"SJ-DC-DD-04 The Highest Bidder","img":"https://assets.forge-vtt.com/5e8b516891f93735fd1249d1/adventures/SJ-DC-DD-04%20The%20Highest%20Bidder/!Cover.webp"
This would be a nice addition, to download those and include them in the assets.
Some assets from D&D Beyond are similar, the user may or may not want those assets downloaded as well, so perhaps an option to say "package up assets at this URL" or something similar?
(I'm going to probably write up a script to fix up the adventures I bundled already, but this strikes me as something you could easily do as well, and other folks might want.)
If it would be helpful to include one of these adventures, let me know, I have several.
I can't add items and actors to the adventure since then a system has to be specified. I did not find a way to specify a system - but it should be the same system the world I'm using to export is running as.
Hi,
I was able with the module to export stuff from one word.
But: The Import-Button is something I cannot find in another world with the activated module.
The Import-Button should be somewhere at the adventure, or? I cannot find it there:
Or I'm completely on the wrong way where the buttons should pop up.
With best regards,
Jens
Hi.
I exported an scenario including npcs, music and journal entry.
When trying to import it, I get the error message "Cannot read properties of null (reading '_tombstone')"
I already found out that this is probably a class and not a real tombstone but that didn't help much.
https://foundryvtt.com/api/classes/foundry.data.TombstoneData.html
I attached my zip file of the "adventure", maybe that can help?
Hi, can you advice, please?
System: Warhammer 4,
I have exported my adventure (scenes, actors, journals, music), then imported but notning happens after finish the import (in the console is an error: foundry.js:753
TypeError: Cannot read properties of null (reading '_tombstone')
at commons.js:6174:16
at Array.map ()
at EmbeddedCollectionDeltaField._cleanType (commons.js:6173:20)
at EmbeddedCollectionDeltaField.clean (commons.js:5074:19)
at ActorDeltaField._cleanType (commons.js:5393:28)
at ActorDeltaField.clean (commons.js:5074:19)
at SchemaField._cleanType (commons.js:5393:28)
at SchemaField.clean (commons.js:5074:19)
at commons.js:6098:41
at Array.map ()
at EmbeddedCollectionField._cleanType (commons.js:6098:20)
at EmbeddedCollectionField.clean (commons.js:5074:19)
at EmbeddedDataField._cleanType (commons.js:5393:28)
at EmbeddedDataField.clean (commons.js:5074:19)
at commons.js:5863:42
at Array.map ()
at SetField._cleanType (commons.js:5863:20)
at SetField.clean (commons.js:5074:19)
at SchemaField._cleanType (commons.js:5393:28)
at SchemaField.clean (commons.js:5074:19)
at Adventure.cleanData (commons.js:7043:26)
at Adventure._initializeSource (commons.js:7030:31)
at new DataModel (commons.js:6906:21)
at new Document (commons.js:7583:3)
at new BaseAdventure (commons.js:9478:3)
at new ClientDocumentMixin (foundry.js:13979:7)
at new Adventure (foundry.js:19246:1)
at #preCreateDocumentArray (foundry.js:13535:15)
at ClientDatabaseBackend._createDocuments (foundry.js:13428:73)
at ClientDatabaseBackend.create (commons.js:8629:19)
at async Adventure.createDocuments (commons.js:7958:23)
at async Adventure.create (commons.js:8081:23)
at async _h (v1.ts:127:6)
at async index.ts:23:25
at async HTMLInputElement. (main.ts:76:21)
onError @ foundry.js:753
🎁call_wrapped @ libWrapper-wrapper.js:507
🎁Hooks.onError#lib-wrapper @ listeners.js:138
🎁Hooks.onError#0 @ libWrapper-wrapper.js:187
#preCreateDocumentArray @ foundry.js:13537
_createDocuments @ foundry.js:13428
create @ commons.js:8629
await in create (async)
createDocuments @ commons.js:7958
create @ commons.js:8081
_h @ v1.ts:129
await in _h (async)
(anonymous) @ index.ts:21
AND
foundry.js:68326
Cannot read properties of null (reading '_tombstone')
fetch @ foundry.js:68326
notify @ foundry.js:68223
error @ foundry.js:68260
onError @ foundry.js:754
🎁call_wrapped @ libWrapper-wrapper.js:507
🎁Hooks.onError#lib-wrapper @ listeners.js:138
🎁Hooks.onError#0 @ libWrapper-wrapper.js:187
#preCreateDocumentArray @ foundry.js:13537
_createDocuments @ foundry.js:13428
create @ commons.js:8629
await in create (async)
createDocuments @ commons.js:7958
create @ commons.js:8081
_h @ v1.ts:129
await in _h (async)
(anonymous) @ index.ts:21
)
Could you advise, please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.