Skip to content
README.md 689 B
Newer Older
Studer Brendan's avatar
Studer Brendan committed
# EOLJsonParser
this project is meant to be a tool for the End Of Life unity project. It uses a JSON file to create Naninovel scripts.

## Input
A json file containing scenarios generated by the [EndOfLife-StoryBuilder](https://labinfo.ing.he-arc.ch/gitlab/ticd/17ticd05/endoflife-storybuilder) C# project.

## Output
A folder tree containing Naninovel scripts

# Installation
- Python 0.10.8
    - No tested for other versions.

# Run
run the following command
Studer Brendan's avatar
Studer Brendan committed
```bash
Studer Brendan's avatar
Studer Brendan committed
python .\EOLJsonParser.py
Studer Brendan's avatar
Studer Brendan committed
```
Studer Brendan's avatar
Studer Brendan committed

It's possible to add arguments
- -i or --ifile" to specified the input json file
- -o or --ofile to specify the name of the output folder
- -t or --tree to only print the tree of scenarios