Thread: FG Map Module Generator
-
February 19th, 2018, 23:44 #1
- Join Date
- Mar 2014
- Location
- Staffordshire, UK
- Posts
- 337
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/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
-
February 20th, 2018, 06:27 #2
Thanks Colin, this could be hella useful
-
February 20th, 2018, 11:37 #3
- Join Date
- Mar 2014
- Location
- Staffordshire, UK
- Posts
- 337
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
-
February 20th, 2018, 18:13 #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.
-
April 20th, 2018, 11:39 #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!
-
April 22nd, 2018, 14:48 #6
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Yes. This is very nice. Well done.
-
January 19th, 2020, 21:32 #7
- Join Date
- Dec 2019
- Posts
- 21
awesome. works great
-
October 13th, 2020, 16:25 #8
- Join Date
- Mar 2017
- Posts
- 589
Just discovered this... Thank you!
-
January 9th, 2021, 22:12 #9
- Join Date
- Mar 2017
- Posts
- 589
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?
-
January 11th, 2021, 03:05 #10
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