Proxyshop

Photoshop scripting to generate high-quality Magic card renders, original concept developed by Chilli-Axe, rewritten in Python for extended functionality. If you need help with this app, join our discord: https://discord.gg/qdR2S4nQ6U

Discord Maintenance GitHub Photoshop Python

img1

Requirements

  • A copy of Photoshop (2015-2022 Tested)
  • The Photoshop templates
  • The following fonts, included in fonts folder:
    • Beleren Bold, Beleren2016 Bold, Beleren Smallcaps, MPlantin and MPlantin-Italics
    • Keyrune and Mana (Keep Keyrune updated for expansion symbols)
    • Relay Medium, Gotham Medium, and Calibri (comes with Windows)
    • Chilli’s custom Magic symbols font, NDPMTG.ttf
  • A standard installation of Python 3 (Python 3.8 Recommended, during installation make sure to hit “Add Python to PATH”)

Install Guide

  • Clone to a folder of your choice, referred to as the working directory.
  • Install the included fonts, only the ones listed above are required, the others may be useful to have.
  • Download the Photoshop templates, create a folder called templates in the working directory, and extract them into the folder.
  • Create a folder called art in the working directory. This is where you place art images for cards you want to proxy.
  • File names should be structured like <CARDNAME> (<ARTIST NAME>).jpg. Artist name is optional – if omitted, it will be retrieved from Scryfall. You can optionally specify the card’s set like so: <CARDNAME> [<SET>].jpg. You can also include your proxy creator name like so: <CARDNAME> {<CREATOR NAME>}.jpg. For this to work you need to go into the photoshop template and add a text layer called “ProxyCreator” in the Legal layer group.

Usage Guide (GUI)

  • Run Proxyshop.py.
  • The tabs shown are card types which currently have more than one template available. You can select which template should be used if Proxyshop encounters a card of that type, for example “Fullart” for normal cards, “SilvanExtended” for MDFC, “Extended” for Planeswalker cards.
  • At the top are settings, saved to the config.ini file and maintained the next time you open the app. Automatic Set Symbol will input the correct expansion symbol according to the card’s set information. Auto Symbol Size will size and center that symbol on the end of the typeline. Manual Edit Step will end the script automation when the card is finished so you can make manual changes before saving. You can also remove reminder text or flavor text from the card.
  • Hit “Render all” to render every card art in the art folder. Hit “Render target” to render one specific card.

Usage Guide (Manual)

  • Run render_all.py. Photoshop will open and start rendering each card in the art folder, saving results in an out folder automatically created in the working directory. render_target does the same but for a single image.
  • Modify config.ini to change how the scripts behave – change the default expansion symbol; force the system to use a particular template; choose whether to use automatic set symbols and symbol sizing; choose whether to use a .psd or .psb file; or force the system to stop before saving your cards and exiting so you can adjust them manually.

FAQ

  • I want to change the set symbol to something else. Head over to https://andrewgioia.github.io/Keyrune/cheatsheet.html – you can use any of these symbols for the set symbol for your cards. Copy the text of the symbol you want on the cheatsheet, then replace the expansion symbor character in the config.ini under Expansion.Symbol.
  • I get an error when trying to execute the script with the python command. Python may not be added to your PATH environment variable. Here’s how you can add it: Link
  • Where is a good place to get high quality MTG art? Your best source is going to be MTG Pics, to improve art quality even more you can look into upscaling with Topaz/Chainner/ESRGAN. On our discord we provide a lot of resources for learning how to upscale art easily and effectively. Also for mass downloading art, view my other project: MTG Art Downloader

Scope

  • Modern style cards, normal and extended; transform and mdfc, front and back; basic lands, normal, Theros, and Unstable styles; planeswalkers, normal and extended; mutate, adventure, miracle, and snow cards; and various flavours of fancy frames – stargazing, universes beyond, masterpiece, ZNE expedition, and womensday.
  • Leveler and saga cards require manual intervention to position text layers, but are automated up until that point.
  • Planeswalkers also require manual intervention to position text layers and the ragged textbox divider, but are automated up until that point.
  • Flavor text divider is not supported, as rules text & flavour text are formatted in the same text layer, thus far it seems impractical to position the flavor text divider programmatically.

GitHub

View Github