forked from rrgeorge/5eTtoFC5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
47 lines (31 loc) · 1.3 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 5eTtoFC5
**5eTtoFC5** is a script for converting 5eTools monsters to Lion's Den Fight Club 5 compatible xml files. The usage is explained like this:
```bash
$ ./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
```bash
$ ./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**
my version: py convert.py -o "output.xml" "input.json"