Register

Universal Donjon Importer

An Add-on Module for Foundry Virtual Tabletop

Author: MeowBrowntr Project: Source Foundry Versions 11+ (Verified 13) Last Updated 3 days, 16 hours ago

This package contains art, text, or software code produced using generative AI.

Generative AI (Google Gemini) was utilized as a pair-programming assistant during the development of this module. Specifically, it assisted in writing and optimizing the core JavaScript logic (such as edge detection and wall merging algorithms), integrating with the Foundry VTT API, and drafting the README documentation. All code was actively directed, reviewed, and tested by the human author. No AI-generated media (images or audio) are included in this package.

A lightweight and efficient Foundry VTT module that seamlessly imports dungeon maps generated by Donjon directly into your scenes. It automatically calculates and draws optimized walls and doors from your Donjon JSON files.

✨ Features

 

 🛠️ How to Use

  1. Generate a dungeon on Donjon
  2. Download both the Map Image (PNG/JPG) and the JSON Data (Export -> JSON).
  3. In Foundry VTT, create a new Scene and set the downloaded image as the Background Image.
  4. Go to the Wall Controls layer on the left toolbar.
  5.  Click the new Dungeon Icon (Import Donjon Map).
  6.  Select your JSON file, adjust offsets if necessary, and click Build Map.

💡 Alignment Tip: Donjon exports are usually 50px per square. If your walls don't align perfectly due to Foundry's default scene padding, use the Manual Offset X & Y fields (e.g., trying 300 for both often perfectly aligns with default padding).

Categories

Available Versions

  1. Version 1.0.3

    3 days, 16 hours ago
    Foundry Version 11+ (Verified 13) Manifest URL Read Notes
  2. Version 1.0.2

    3 days, 18 hours ago
    Foundry Version 11 - 12 (Verified 12) Manifest URL Read Notes
  3. Version 1.0.1

    3 days, 20 hours ago
    Foundry Version 11 - 12 (Verified 12) Manifest URL Read Notes
  4. Version 1.0.0

    5 days, 17 hours ago
    Foundry Version 11 - 12 (Verified 12) Manifest URL Read Notes