Skip to content

manted/mtg_deck_pic

Repository files navigation

MTG Deck Pic Generator

Skip finding your cards from a mountain of deckboxes/trade binders and manually aligning your cards before taking a perfect MTG deck picture. Start automatically generating MTG deck pictures with your decklists and your own card collection.

Usage

Download this repo by clicking the following buttons:

download

Unzip it to a desired folder on your machine.

To run the program, please refer to the OS system specific to your machine:

On Windows

There are 2 ways you can run this program.

First way, double click the exe file directly and it will generate the deck picture for grixis_delver in your /decklist folder. Keep in mind that it would overwrite the existing grixis_delver.jpg file in the /decklist folder.

Second way, if you want to generate deck pictures for other decklists, search for Command Prompt in Search and open it.

In the Command Prompt, go to the unzipped folder by running:

cd /path/to/your/folder

For example:

cd C:\Users\manted\mtg_deck_pic-main

To run the program:

start deck_pic_generator DECKNAME

For example:

start deck_pic_generator grixis_delver

On Mac

Open the Terminal app.

In the terminal, go to the unzipped folder by running:

cd /path/to/your/folder

For example:

cd /Users/manted/mtg_deck_pic-main

To run the program in the terminal:

./deck_pic_generator DECKNAME

For example:

./deck_pic_generator grixis_delver

The DECKNAME should be one of the text file names in the /decklist folder, without the txt extension. The generated image would be /decklist/DECKNAME.jpg.

Card Names

The card names in the decklists must match exactly the image names in the /img folder, without the png extension.

The individual card images must be in png format.

Deck Picture Background

The background of the generated image is /img/background.jpg. You can replace it with any image of your choice and regenerate the deck pictures.

Limitations

  • Main deck size has to be exactly 60 or 80. Sideboard size has to be exactly 15.
  • Split card names with / in them are not working at the moment. eg: Fire // Ice. You can use a different name without the / in the decklists and image names in /img folder. eg: Fire Ice.
  • Cards that are in the decklists but are not in the /img folder will be left blank in the generated deck picture.
  • Same card image is used for each card name in the decklist, if you want to have different versions of a card, you can give them different names. For example, you have Island_1.png and Island_2.png, and use them as different cards in your decklist.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published