DICE PACKS BUNDLE
Page 1 of 2 12 Last
  1. #1

    FG Map Module Generator

    Having a requirement to create several maps modules I decided to write a routine to automate the creation process and to share with the FG community. Therefore attached is a zip file which contains a .exe routine I have created which will generate a .mod file for images (png/jpg).

    The fields are:

    Map Module Name: This is the name of the Modulefile (minus the .mod extension)

    Category: Category the map file will sit within on FG

    Author: Your name

    Image Folder: The folder containing jpg/png you want to make a module containing (no ending "\")

    Module Folder: The folder the module should be saved in when creating (no ending "\")

    Enclosed is an example of the completed fields - you will need to change these to reflect your system/configuration.

    The program will also add a thumbnail image to the final module if a "thumbnail.png" is included in the Image Folder.

    The program is written in PureBAsic which is free for upto 800 lines and cheap (79 euros). The program also contains compilers for Windows/Linux/Mac OS (you could amend the code and compile it natively to your OS if you wish). As an added bonus I have included the source code if you wish to modify or make use of the program for your own needs. Purebasic can be downloaded from: https://www.purebasic.com/
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by ColinBuckler; February 19th, 2018 at 23:46.
    Ultimate License
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D)

    Currently Playing:
    Empire of the Ghouls 5E Campaign
    Tales from the Yawning Portal 5E Campaign
    Rise of the Runelords Pathfinder 1e
    Amazing Adventures 5E Campaign
    "Some are born to move the world, to live their fantasies
    But most of us just dream about the things we'd like to be."
    Rush - Losing It


    Currently DM'ing
    Princes of the Apocalypse 5E Campaign
    Waterdeep: Mad Mage 5E Campaign
    The Blight 5E Campaign

  2. #2
    Erin Righ's Avatar
    Join Date
    May 2016
    Location
    Vernon, BC, Canada
    Posts
    396
    Thanks Colin, this could be hella useful

  3. #3
    If you have a PDF and want to create a map module for your game, look at this post: https://www.fantasygrounds.com/forum...ges-From-A-PDF

    Using that process you can extract all images fro a PDF, review the images deleting the ones that you no longer require. Next use this program to repack all of the images into a mod file and inturn automatically creating the required xml files required.
    Ultimate License
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D)

    Currently Playing:
    Empire of the Ghouls 5E Campaign
    Tales from the Yawning Portal 5E Campaign
    Rise of the Runelords Pathfinder 1e
    Amazing Adventures 5E Campaign
    "Some are born to move the world, to live their fantasies
    But most of us just dream about the things we'd like to be."
    Rush - Losing It


    Currently DM'ing
    Princes of the Apocalypse 5E Campaign
    Waterdeep: Mad Mage 5E Campaign
    The Blight 5E Campaign

  4. #4
    Nice one Colin.
    Keep it up!
    Engineer Suite
    Import, build or edit NPCs/spells/equipment and then parse them directly into a Fantasy Grounds module.

    Download the latest version from the website.
    Support me by becoming a patron on Patreon.

    Chat directly about issues or suggest features on the
    Discord channel.
    Post issues on the issue tracker on Github.

  5. #5
    Kudos Colin! Just used this utility to create a module to share my frequently used battle maps between all my campaigns. Worked perfectly. Thanks!

  6. #6

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    Yes. This is very nice. Well done.

  7. #7

  8. #8
    Just discovered this... Thank you!

  9. #9
    I tried using this in a non 5e game and the ruleset won't recognize the mod (tried in both FGC and FGU). It didn't work in Conan, V5, or even D&D 3.5. Any way to make it universal or is it only for 5e?

  10. #10
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,094
    Blog Entries
    9
    Quote Originally Posted by ProfDogg View Post
    I tried using this in a non 5e game and the ruleset won't recognize the mod (tried in both FGC and FGU). It didn't work in Conan, V5, or even D&D 3.5. Any way to make it universal or is it only for 5e?
    Try this, rename .mod to .zip, open the definition.xml file and change the ruleset tab to
    <ruleset>Any</ruleset>
    You can leave it as a folder, or rezip the contents (not folder).

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in