1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 15:02:59 +00:00
(mirror) Card import tool for "Final Fantasy TCG Complete" for "Tabletop Simulator"
Find a file
2021-08-09 07:01:25 +02:00
.idea RunConfig 2021-08-09 06:12:00 +02:00
fftcg PKG structure 2021-08-09 07:01:25 +02:00
.dockerignore Docker 2021-08-03 02:24:14 +02:00
.gitignore Add README, add docker option 2018-11-02 19:49:35 +01:00
Dockerfile Python3.9 (typos) 2021-08-09 05:47:25 +02:00
LICENSE Python3.9 (typos) 2021-08-09 05:47:25 +02:00
main.py PKG structure 2021-08-09 07:01:25 +02:00
Pipfile Python3.9 2021-08-09 05:32:05 +02:00
Pipfile.lock Python3.9 2021-08-09 05:32:05 +02:00
README.md Format strings, CLI interface, Single request to ffdecks.com basic API instead of per-card requests 2018-11-02 23:24:08 +01:00

fftcgtool

Card import tool for Final Fantasy TCG Complete mod for the Tabletop Simulator

Usage

usage: main.py [-h] [-n COUNT] [OpusID]

Imports FFTCG cards for TT-Sim.

positional arguments:
  OpusID                the Opus to import

optional arguments:
  -h, --help            show this help message and exit
  -n COUNT, --num_threads COUNT
                        maximum number of concurrent requests

Run using your system's python3

  1. Make sure PIL and requests python3 libraries (or equivalent) are installed.
  2. Run ./main.py from project root directory.

Run using a docker container

  1. Make sure you have a working installation of docker software.
  2. Update your local image docker pull ldericher/fftcgtool.
  3. Run docker run --rm -it -v "$(pwd)/out:/app/out" ldericher/fftcgtool in any directory.

Output files will go to subdirectory ./out. CLI arguments are supported as docker run --rm -it -v "$(pwd)/out:/app/out" ldericher/fftcgtool -n 2 5 (imports Opus 5 using 2 threads)

Future work

  • Multiple opus import