Coder Social home page Coder Social logo

forecaster / universalvttexport_to_fgmodule Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 63 KB

This is a parser written in Python that converts UniversalVTT exports from the DungeonFog battle map editor to Fantasy Grounds modules.

Home Page: https://towerofawesome.org/df2uvtt/

Python 74.77% PHP 24.89% Batchfile 0.17% Shell 0.17%
parser fantasy-grounds dungeonfog battlemap battlemaps ttrpg ttrpgs

universalvttexport_to_fgmodule's Introduction

UniversalVTTExport_to_FGModule

What?

This is a parser written in Python that converts UniversalVTT exports from the DungeonFog battle map editor to Fantasy Grounds modules.

The generated modules are ready to load right into a Fantasy Grounds campaign and support line of sight.

How?

The generator can be used online on this page with limited options, or downloaded as an executable and used via the GUI or commandline, or you can download the individual Python scripts and run them via the commandline.

  • For the latest executable release see releases
  • For the Python scripts the following files are required: df2vtt_parser.py, fg_module.py, and utilib.py

The executable

You can simply double-click the executable to start the application in GUI mode, or start it from the commandline with no options. Running it with any options will run in no-GUI mode.

The Python scripts

You run the df2vtt_parser.py by calling it through the Python interpreter: python df2vtt_parser. Running with no arguments will print usage instructions. Running df2vtt_paser --help will print a list of all available options with descriptions as well as the script version. You can also run df2vtt_parser --version to print the current version.

Additionally, you can run the parser_gui.py script to launch the GUI (The other files are still required).

Feedback

Any bug report, feature request, or other feedback can be delivered in the following ways:

universalvttexport_to_fgmodule's People

Contributors

forecaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

universalvttexport_to_fgmodule's Issues

Merge mode

Allow merging processed maps into existing module instead of creating a new module

Deployment line 153 causes launch failure

Line 153 in the script in the "deployment" folder causes the script to fail. Commenting it out seems to resolve, so probably just an artifact from development or something.

_testb as fg_module

Thanks!

Map combine mode

Allow merging one or more maps into a single map within the module, such as combining multiple floors of the same map into one map

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.