RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
803 stars 263 forks source link

[Feature]: Add Multi VTT Import #3765

Open irishman2020 opened 1 year ago

irishman2020 commented 1 year ago

Feature Request

I ran into a situation when setting up my campaign where I was trying to import multiple VTT files and it took a long time since I had a large collection I had created/gathered and I had to import them one at a time.

The Solution you'd like

Add an option when importing VTT files to import multiple files.

Alternatives that you've considered.

Add an option to either accept the imported map properties as-is (no prompt) or prompt for each. This might be something that could just be scripted or run as an outside tool, since this should be only done if you have an issue with a campaign file or creating one for the first time (with a lot of VTT files). It might need to note that the import may take some time (maybe show a progress?)

Additional Context

No response

Azhrei commented 1 year ago

This seems quite reasonable. A user-friendly way to handle this might be to allow recognized file extensions to be dropped onto the main map view. The proper menu option could be automatically invoked based on the file type. (Only one campaign file can be in the drop list. If a campaign file is included, it is processed first, then other file types. We'd want campaign files, UVTT files, and RPMap files, I think. It wouldn't hurt to allow exported campaign properties to also be supported.)

Edit: Seems to me we must already have an issue for this, but my search-fu is failing me.

thelsing commented 1 year ago

I think selecting multiple files when importing and prompting after each file would work well enough. I did sth. like that some time ago.