Final Fantasy

Final Fantasy

This plugin reads a decklist, automatically fetches card art from FFTCG and puts them in the proper game/ directories.

This plugin supports many decklist formats such as tts, untap, and octgn_xml. To learn more, see here.

Basic Instructions

Navigate to the root directory as plugins are not meant to be run in the plugin directory.

If you’re on macOS or Linux, open Terminal. If you’re on Windows, open PowerShell.

Create and start your virtual Python environment and install Python dependencies if you have not done so already. See here for more information.

Put your decklist into a text file in game/decklist. In this example, the filename is deck.txt and the decklist format is Tabletop Simulator (tts).

Run the script.

python plugins/final_fantasy/fetch.py game/decklist/deck.txt tts

Now you can create the PDF using create_pdf.py.

CLI Options

Usage: fetch.py [OPTIONS] DECK_PATH {octgn_xml|tts|untap}

Options:
  --help  Show this message and exit.

Formats

octgn_xml

OCTGN XML format.

<deck game="285a8cdb-1d02-4edd-a9de-1ade9d5a4f43">
<section name="Forwards" shared="False">
<card qty="3" id="6048684b-b336-40e3-bbd4-8b47adde3e85">Wuk Lamat</card>
<card qty="3" id="4c162e0a-689b-4eec-b7b0-0e5c3065a894">Taivas</card>
</section>
<section name="Backups" shared="False">
<card qty="3" id="bf14d905-80cc-401f-b329-719b93715820">Naji</card>
</section>
</deck>

tts

Tabletop Simulator format.

--Generated By materiahunter.com--
Deck Name: Matt's crap
Created by:


main(50):

Forward(28):
3 Rufus (20-040L)
3 Billy Bob (18-124C)
3 Zack (25-073L)
3 Reno (25-085L)
2 Angeal (26-082H)
3 Barret (25-066L)
3 Cloud (11-136S)
3 Rude (25-084R)
2 Sephiroth (22-032L)
3 Genesis (24-025L)

Summon(7):
3 Cu Sith (10-068C)
2 Ixion (17-090R)
2 Mist Dragon (9-068H)

Backup(15):
1 Jessie (1-204S)
3 Tyro (11-072R)
1 Shantotto (1-107L)
1 Wedge (4-076R)
3 Reeve (9-098C)
3 President Shinra (15-136S)
1 Chadley (25-027H)
1 Cait Sith (11-133S)
1 Vincent (19-054C)

Monster(0):

limit break(0):

Forward(0):

Summon(0):

Backup(0):

Monster(0):

untap

Untap format.

1 Jessie (1-204S)
3 Tyro (11-072R)
1 Shantotto (1-107L)
3 Rufus (20-040L)
3 Cu Sith (10-068C)
1 Wedge (4-076R)
3 Billy Bob (18-124C)
3 Reeve (9-098C)
3 President Shinra (15-136S)
3 Zack (25-073L)
3 Reno (25-085L)
2 Angeal (26-082H)
3 Barret (25-066L)
3 Cloud (11-136S)
2 Ixion (17-090R)
1 Chadley (25-027H)
3 Rude (25-084R)
2 Sephiroth (22-032L)
1 Cait Sith (11-133S)
1 Vincent (19-054C)
2 Mist Dragon (9-068H)
3 Genesis (24-025L)