Skip to content

A tool for converting 5eTools monsters to Lion's Den Fight Club 5 compatible xml files

Notifications You must be signed in to change notification settings

rogueturnip/5eTtoFC5

 
 

Repository files navigation

5eTtoFC5

git remote add upstream https://github.com/gilamran/tsc-watch.git
git fetch upstream
git merge upstream/master
git push

5eTtoFC5 is a script for converting 5eTools monsters to Lion's Den Fight Club 5 compatible xml files. The usage is explained like this:

$ ./python convert.py --help
usage: convert.py [-h] [--ignore] [-v] [-o COMBINEDOUTPUT]
                  inputJSON [inputJSON ...]

Converts 5eTools json files to FC5 compatible XML files.

positional arguments:
  inputJSON          5eTools inputs

optional arguments:
  -h, --help         show this help message and exit
  --ignore           ignores errors (default: false)
  -v                 verbose output (default: false)
  -o COMBINEDOUTPUT  combines inputs into given output (default: false)

You are required to download the repo as a zip or download all files, just downloading convert.py is not enough.

Example

$ ./python convert.py -o "output.xml" "monstermanual.json" "volosguide.json"
Done converting monstermanual
Done converting volosguide
Converted 456 monsters

Disclaimer

Some 5eTools monsters use their 'replace' feature, which is something that I might be able to code someday but isn't a thing I could do easily. Those monsters will have a seperate message appear in verbose mode.

Version

  • Version 1.2

Contact

Developer

  • Discord: Flore#0001

About

A tool for converting 5eTools monsters to Lion's Den Fight Club 5 compatible xml files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%