A small tool to extract a specific part from a TJA chart
- Python 3 (tested on 3.7)
- pydub
- ffmpeg
For instructions on how to install ffmpeg, please see this page.
pipenv install
pip install pydub
pipenv run python tjapractice.py [tja file] [start time] [end time]
python tjapractice.py [tja file] [start time] [end time]
Both start time and end time are in milliseconds (ms).
After running the script, two new files should appear in the same directory as the original TJA file, both prefixed with practice_
.
- Forked paths are not handled properly
- Balloon counts are not handled properly
- Code is a goddamn mess please save me