Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.37 KB

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