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-05 00:35:51 +02:00
.idea Python3.8 2021-08-04 20:30:42 +02:00
fftcg card sorting, opus_id "chaos" and "promo" 2021-08-05 00:35:51 +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.8 2021-08-04 20:30:42 +02:00
LICENSE Initial commit 2018-11-02 18:15:16 +01:00
main.py url based imageloader.py, composition with card backs 2021-08-05 00:17:47 +02:00
Pipfile Python3.8 2021-08-04 20:30:42 +02:00
Pipfile.lock Python3.8 2021-08-04 20:30:42 +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