The cards and decks in the FFTCG mod initially left a lot to be desired. The image quality was varying wildly and the card backs sometimes differed subtly, so that you could roughly guess which cards your opponents had in their hands when playing. Not ideal.
However, cards for the TTS are actually “just” images of the fronts and backs, arranged in a grid, and a corresponding JSON file. The JSON file defines the grid and the cards’ placement.
What started out as a small Python script to download the fronts from the official card list and stitch them together in a suitable grid using PIL eventually led to this project.
fftcgtool#
Card import tool for “Final Fantasy TCG Complete” for “Tabletop Simulator”
The first part of the project is fftcgtool
:
A Python package that makes use of the API powering the official card browser to list, download and prepare the cards of a card pack (“Opus”) for the mod.
It also utilizes the API behind FF Decks to import community-made decks directly into the game.
ttsimport#
The second part is ttsimport
, a simplistic web GUI for fftcgtool ffdecks
.
This enables the import of FF decks into the TTS without a local installation of fftcgtool
.
Additionally, importing is thus possible for normal TTS users without special technical know-how.
- Python 3.9 + ASGI-Framework: FastAPI
- Vue 2.6 + Single-File Components + JavaScript ES module syntax
ttsimport-bot#
Third and last part is ttsimport-bot
, which brings the features of ttsimport
to the Discord platform.
Actually, this was just born out of my curiosity on how to write a Discord bot using discord.py.
But since the FFTCG community organizes itself largely via Discord, the result found some grateful users.
Timeline#
Project abandoned …
late 2022
As I haven’t been active in the FFTCG community for a long time, this project has been abandoned until further noticettsimport-bot v0.6.2
2022
27.08.2022
Originally intended as a submodule ofttsimport
, hence the unusual version number: v0.6.2 on GitHubStart: ttsimport-bot
2022
24.08.2022
fftcgtool v0.2
2021
21.09.2021
Apart from game mechanics introduced by newly published Opus since then,fftcgtool
v0.2 is the latest versionStart: ttsimport
2021
07.09.2021
Start: Redesign fftcgtool
2021
03.08.2021
fftcgtool
was rewritten from scratch when it turned out to become more than a simple script without dependenciesStart
2018
02.11.2018
First commit in this project