News:

Introducing VSV = Versatile Separated Values. Simple, elegant format usable for lists, tables, object notation, subtitles, playlists.

Main Menu

Shena'Fu's Online Card Creator

Started by Den, 2009-Aug-20 08:33

Previous topic - Next topic

Den

Someone on MTGSalvation suggested making a client-server card creator. So I created this online card creator.

Please post only issues or suggestions for the online card creator in this topic.

Please post you card creations at the other topic.

Images by FirePenguinMaster, ComicBookGuy, Vogon, et al.

Over 146,000 cards have been created since 2009.

Changelog
[spoiler]
8/22/17
Added QR code for card image

6/22/17
Rearranged form fields
Hide hints/instructions by default
Added Show Instructions button

6/20/17
Make radio buttons label clickable

6/16/17
Added Genres, which alters the card types and supertypes. [Magic, Earth, Space]

6/15/17
Added CBG frame

6/14/17
Added Classic-Shifted Art BG frame

6/13/17
Card list by creator @ https://ieants.cc/magic/cclist.php?creator=

11/7/16
Added Full Art frame

11/5/16
Allow set icon and rarity. (not done for all frames yet.)
Use imagick instead of gd. (not done for all frames yet.)
Better help section.

10/20/16
Added energy mana. Use 'e' in mana cost or {e} in rules text.

4/18/16
Change Classic and Modern frames to Amiri bold font type:

1/13/16
Added colorless mana symbol (diamond shaped).

10/18/15
Added Planeswalker, flip and split frames.
Main font Molengo-Regular.ttf
Rules text parse word by word (in filp and split.) (Was line by line).

1/1/13
Hybrid and Phyrexian mana in the form 2/c, c/2, c/d, d/c, p/c, c/p. e.g. 2/ww/p

4/1/12
Image URL shorter and more legible.

11/20/11
Added Creator field.

1/8/11:
Added Planar Chaos aka "Planeshift" and FirePenguinMaster's (FPM) frames.

11/17/10
Added supertype Ongoing, types Scheme and Emblem

5/20/10
Added Space frames.

5/13/10
Added future-shifted frames.

5/11/10:
Added 8th edition (modern) frames.
[/spoiler]


((TODO))
.script to create all WotC cards
.high def images of frames (done: vogonhd, vogon full art, planeswalker)
.fix slash to %2F in card names. fix redirection accept %2F
.add metadata to image. including URL to card creator for this card.
.languauge support. east asian.
.fix parentheses orphan on new line
Support me on Patreon

I saw. I conquered. I came.

Dykotomee

#1
I'm an experienced PHP/JavaScript developer, and of all the CC tools out there, yours seems to look the most promising. Is there any chance of collaboration on this? I'd love to further the project, and I have some ideas I can suggest too.

- Michael

~ ><>

Den

I'm interested in hearing your ideas and how you plan to expand on the CC.
Support me on Patreon

I saw. I conquered. I came.

bakert

Hey.  Thanks for approving my membership.  I tried to join to comment on this thread about the card creator.  I think we ended up having a conversation on MTG Salvation already.

Still interested in the source to have a go at adding hybrid and as insurance in case your version disappears but very happy with the program!

Thanks!

Den

#4
Added flip and split frames. Flip and split cards: use ;; to separate each half in corresponding fields. (e.g. Fire;;Ice) For an example, see Fire;;Ice and Budoka Gardener;;Dokai, Weaver of Life

Added Planeswalker frames.
Ex. Koth of the Hammer
Support me on Patreon

I saw. I conquered. I came.

Den

#5
Added colorless mana. Use 'c' in mana cost or {c} in rules text.
[mana]c[/mana]
Support me on Patreon

I saw. I conquered. I came.

Den

#6
Change Classic and Modern frames to Amiri bold font type: https://github.com/google/fonts/tree/master/ofl/amiri
Support me on Patreon

I saw. I conquered. I came.

Den


  • Added energy mana. Use 'e' in mana cost or {e} in rules text.
  • Allow set icon and rarity. (not done for all frames yet.)
  • Use imagick instead of gd. (not done for all frames yet.)
  • Better help section.
Support me on Patreon

I saw. I conquered. I came.

Den


  • Added Full Art frame
Support me on Patreon

I saw. I conquered. I came.

Den

#9
https://ieants.cc/magic/cclist.php?creator=

You can view a list of all your cards via above URL and add your creator name at the end of the address.

Over 110,000 cards have been created since 2009.
Support me on Patreon

I saw. I conquered. I came.

Den

#10
6/14/17
Added Classic-Shifted Art BG frame

6/15/17
Added CBG frame

6/16/17
Added Genres, which alters the card types and supertypes. [Magic, Earth, Space]
Support me on Patreon

I saw. I conquered. I came.

Den

#11
6/20/17
Make radio buttons label clickable

6/22/17
Rearranged form fields
Hide hints/instructions by default
Added Show Instructions button

Support me on Patreon

I saw. I conquered. I came.

Den

8/22/17
Added QR code for card image
Support me on Patreon

I saw. I conquered. I came.

Den

#13
10/03/2017

  • Form more compact
  • Flex layout
  • Fonts:

    • text = Itim
    • header = Fondamento
  • Instructions in Markdown; converted to HTML with JS library
Support me on Patreon

I saw. I conquered. I came.

Den

#14
10/14/2017

added Delayed supertype

10/30/2017

added direct link to view the list of cards by creator
Support me on Patreon

I saw. I conquered. I came.

Den

#15
1/24/2018

blended trims and rules box for two-color cards (in classic, modern, and planeshift frames for now). takes into account mana symbols in both mana cost and rules text.

1/27/2018

added Token supertype
Support me on Patreon

I saw. I conquered. I came.

Den

#16
2/3/2018

added Playing Card frame

Playing Card options
Form FieldFunction


Thus you can use playing card frame for a card with nothing but a bunch of text. If you have art with transparent background, you can try to overlap the art and rules text for something fancy.
Support me on Patreon

I saw. I conquered. I came.

Den

#17
9/1/2018

- converted Planeswalker frame to Imagick
- centered rules text vertically

9/2/2018

- set timeout for art URL

9/3/2018

- Planeswalker frame to accept nonloyalty abilities
- Planeswalker frame to accept any amount of abilities
- flavortext emdash
- set rules text font to amiri-regular
- fix apostrophe in cardnames in database
- remove duplicate cardnames in database
- cardname font: Kurale

9/4/2018

- more spacing between rules and flavor texts
- trim extraneous newlines and whitespace
- support watermark

9/5/2018

- fix mana symbols cut off
- prevent recursive art
- fix finally really fit long text inside box

9/6/2018

- converted Future frame to Imagick
- Unemploy word wrap to find font size. Reiterate whole texts word by word. Slower, but should be more consistent in outputting biggest text size that fits the text box.

9/7/2018

- sanitize query
- aliases as replacement strings (between two @@ symbols)

9/8/2018

- text render: early escape when lettery exceeds textboxheight, instead of processing entire text
- increase initial rules text size
- separate instructions page: https://ieants.cc/magic/cchints.php

9/9/2018

- moved alias replacements to client side javascript
Support me on Patreon

I saw. I conquered. I came.

Den

#18
List of aliases. Enclose alias on the left column between two @@ symbols. For instance, @ett@ in rules text will become 'enters the battlefield tapped'. Some aliases will take a variable. For instance @dd2@ becomes 'deals 2 damage'. Some aliases have both lower- and upper-case versions.

br />= gy = graveyardbr />= bf = battlefieldbr />= lib = librarybr />= syl = search your librarybr />= Syl = Search your librarybr />= pt = power and toughnessbr />= ias = instant and sorcerybr />= ios = instant or sorcerybr />= to = target opponentbr />= To = Target opponentbr />= tc = target creaturebr />= Tc = Target creaturebr />= tcp = target creature or playerbr />= tcpw = target creature or planeswalkerbr />= tcy = target creature you controlbr />= Tcy = Target creature you controlbr />= tco = target creature an opponent controlsbr />= Tco = Target creature an opponent controlsbr />= tp = target playerbr />= Tp = Target playerbr />= tpw = target planeswalkerbr />= youpw = you or a planeswalker you controlbr />= anyt = any targetbr />= ec = each creaturebr />= Ec = Each creaturebr />= ecy = each creature you controlbr />= Ecy = Each creature you controlbr />= cy = creature you controlbr />= cys = creatures you controlbr />= Cys = Creatures you controlbr />= cmc = converted mana costbr />= et = enters the battlefieldbr />= ett = enters the battlefield tappedbr />= uet = until end of turnbr />= Uet = Until end of turnbr />= dcd = deals combat damagebr />= dd([0-9xyzXYZ]+) = deals $1 damagebr />= g(\+|\-)([0-9xyzXYZ]+) = get $1$2/$1$2br />= gs(\+|\-)([0-9xyzXYZ]+) = gets $1$2/$1$2br />= emblem = You get an emblem with "br />= upkyou = At the beginning of your upkeepbr />= upkopp = At the beginning of each opponent's upkeepbr />= upkall = At the beginning of each player's upkeepbr />= endyou = At the beginning of your end stepbr />= endnext = At the beginning of the next end stepbr />= ctr(.*) = put a $1 counter onbr />= Ctr(.*) = Put a $1 counter onbr />
Support me on Patreon

I saw. I conquered. I came.

Den

#19
9/10/2018

- added frames: classicshift (=default frame), CBG Horizontal (good for sideways card, long texts, vertical arts, and PWs)
- card type font: Kurale

9/10/2018

- font for card name, type, P/T: Arima Madurai (bold) (most frames), Righteous (CBG Horizontal frame)

9/13/2018

- added card types: Elite, Hero, Conspiracy, Phenomenon. Also Magical and Super for Earth genre.

Pro-tip: You can get "Super Hero" on the type line by choosing Earth genre.

- remove emdash if no supertype and type

Support me on Patreon

I saw. I conquered. I came.

Den

9/17/2018

- added supertype: Host
- changed Space supertype: Elite -> Mega
Support me on Patreon

I saw. I conquered. I came.

Den

#21
09/28/2018

- add delay timer to cclist.php to mitigate 503 Service Unavailable in Firefox, Chrome

09/29/2018

- added aliases:
= @dcd@ = deals combat damage

- font for card name, type, artist, creator: Fondamento
- font for power/toughness: Amiri
- playing card frame: mana cost vertically : added watermark :
- FPM frame: reverse mana cost order : center card name
- tweak artist and creator texts
- replace card types for Earth genre: Villain, Power (were Conspiracy, Phenomenon)

Pro-tip: Choose Earth genre to get types like "Super Villain", "Super Power",  "Super Villain Power".

10/01/2018

- form redesign: dropdown selectables: color, border, frame, symbols
- added choice of symbols (mana aesthestics)
- reorganize folders: fonts, symbols
- new mana symbols: 'f' for infinity, 'k' for planar chaos
Support me on Patreon

I saw. I conquered. I came.

Den

#22
2018/10/02

- new page to showcase random cards: https://ieants.cc/magic/ccrand.php

2018/10/03

- new frame: Vogon HD: large, high resolution, more space for texts, including card name, type, rules, and P/T. mana vertical on top left. P/T at bottom left margin. set icon at bottom right corner. work in progress. see examples in attachment.

- converted to OOP classes: classicshift, vogonhd

2018/10/04

- ignore () parentheses in manacost
Support me on Patreon

I saw. I conquered. I came.

Den

#23
2018/10/05

- bitbucket repo - https://bitbucket.org/Shenafu/online-card-creator/src

2018/10/06

- improve Vogon HD aesthetics - land - seams - blend - type icons

2018/10/07

- PW abilities accept more bracket types - [](){} or bracketless

2018/10/08

- vertical mana - don't reverse arrangement - instead user should use reverse notation in input; e.g. [mana]ww3[/mana] should be new standard notation
- genre and subtypes update immediately on element load - no more waiting for body onload

2018/10/09

- new frames: Vogon Full Art - art takes entire card

2018/10/10

; improve cardimage_makeLinearText() ; accepts array as argument ; added shadow option ;
; reorganize Frame dropdown selection ; Vogon HD and Full Art near the top
; Vogon Full Art ; shrink rules text box for planeswalkers

2018/10/11

; Vogon Full Art ; new method of compositing text ; write text on temporary image ; composite using imagick::COMPOSITE_LUMINIZE
; fix Vogon Full Art PW flavor text vertical alignment
; shrink Vogon Full Art rules text initial font size
; cclist and ccrand show 12 cards

2018/10/12

; change Vogon Full Art font for rules text ; Muli regular and Cantarell italic ; sans serif ; less aliasing
; PW rules text starting font size proportional to total (abilities + flavor texts)
Support me on Patreon

I saw. I conquered. I came.

Den

#24
2018/10/13

` leveler cards under Vogon HD and Vogon Full Art frame ` P/T and levels separated by double semicolon ;; ` level values set between brackets [](){}
` hints for leveler

see examples in attachments

2018/10/14 - 15

; alter cardfuncs.php functions to accept arguments as arrays
; remaining frames into OOP classes and Imagick
; transparent images for FPM, Full Art

2018/10/18

; options hasshadow renamed to shadowcolor ; default FALSE
; Full Art artifact wrong filename
Support me on Patreon

I saw. I conquered. I came.

Den

2018/11/01

; manacost accept any letter
; added Pokemon genre and energy symbols:

{c} Colorless
{d} Darkness
{o} Dragon
{y} Fairy
{f} Fighting
{r} Fire
{g} Grass
{l} Lightning
{m} Metal
{p} Psychic
{w} Water
Support me on Patreon

I saw. I conquered. I came.

Den

#26
2018/11/08

; Vogon HD ; Planeswalker art full height, with mask on bottom
; Vogon HD ; Planeswalker rules box and starting font size shrunk
Support me on Patreon

I saw. I conquered. I came.

Den

#27
2018/11/13

; Earth and Space genres ; Emblem type becomes Paradigm

2018/11/14

; PW rules box abilities height proportional to text length
; Scenes rules box, loyalty like Planeswalkers

2018/11/17

; resize linear texts
; security fixes

2018/11/18

; rules text ; bold text between angled brackets <>
; Vogon frames ; fix leveler P/T not separated
Support me on Patreon

I saw. I conquered. I came.

Den

#28
2019/02/09

; divider between rules and flavor texts
; added frame ; Vogon Split
; resize heights for Vogon HD art and rules box
; Vogon HD rules box brightened;  easier to read and more emphasis for art

2019/02/11

; fix show card images with special URL/escape characters in name and creator

2019/02/13

; reworked frame ; Vogon HD ; extra bar ; eliminated black border
; added field ; 'extra' text that may appear before rules


2019/02/14

; Vogon HD ; extrabar opacity
; Planeswalkers rules accept <> angled brackets as loyalty cost
; all frames ; include extra text to rules text
; Vogon Full Art ; remove border; art expand to edge
Support me on Patreon

I saw. I conquered. I came.

Den

#29
2019/02/20

; added symbols and genre ; MBS

{m} Mind
{b} Body
{s} Soul
{n} Generic
{f} Force
{g} Gear
{h} Hi-Tech
{t} Talent
Support me on Patreon

I saw. I conquered. I came.

Den

#30
2019/03/01

; Vogon HD, Vogon Full Art ; only blend for Magic/Space genres

2019/03/02

; rules text ; underline text between _underscores_
; update hints

2019/03/05

; added more colors options for frames ; artifact ; orange ; yellow ; cyan ; purple ; brown
; Vogon HD frames ; added 5 colors

2016/03/06

; fix color options ; yellow attribute missing
; Vogon Full Art ; added 5 new colors
; Vogon HD frames ; new colors fix emboss and decor
Support me on Patreon

I saw. I conquered. I came.

Den

#31
2019/03/12

; new fonts that support Cyrillic and Latin extended characters ; text = Crimson ; name = Albertus Medium

2019/03/13

; SQL db ; convert table and columns to utf8-unicode-ci
; cclist.php ; sort by utf8-bin ; cyrillic and asian at end
; CBG and Space frames ; mb_strtoupper() works on non-ASCII
; all files ; Unix newlines
; cc.php ; replace fonts ; Crimson and Albertus
Support me on Patreon

I saw. I conquered. I came.

Den

#32
2019/07/23

[[Changelog]]
> page title includes card name and creator
> page URL query reduced to only card name and creator
> every card page includes link to discuss card (opens to Dissenter server)
> post (not get) card submissions
> rewrite URL > magic/cc/creator/cardname > magic/cc.php?creator=$1&cardname=$2
> rewrite URL > magic/cclist/creator/page > magic/cclist.php?creator=$1&page=$2
> cclist and ccrand link cards to new URL formats
> update hints
> ymtc2img > redirect with header('Location:') to imagick URL instead of echo image > to reduce number of concurrent processes

[[Examples of new URLS]]

> https://ieants.cc/magic/cc/Gnomes/Duyu Gnoumi, Extraordinaire
> card discussion
> https://ieants.cc/magic/cclist/gnomes/1
Support me on Patreon

I saw. I conquered. I came.

Den

#33
2019/08/17

; added Disqus comment section for each card; replaced Dissenter link
; added alias replacement for 'sacrifice'

br />= @sac@ = sacrificebr />= @Sac@ = Sacrificebr />


2019/08/18

; updated instructions
; added spaces or punctuations after most alias replacements
; added alias replacements

br />= @t@ = targetbr />= @c@ = creaturebr />= @p@ = playerbr />= @pw@ = planeswalkerbr />= @a@ = artifactbr />= @e@ = enchantmentbr />= @o@ = opponentbr />


; rules text font size delta relative to original font size
; fixed linear text aligned left ; placement of text in vertical position (e.g. Vogon Split Card card types)
Support me on Patreon

I saw. I conquered. I came.

Den

#34
2019/09/07

; updated hints
; added columns to rules text

   * Use <<<< to print to left column.
   * Use >>>> to print to right column.
   * Use <<>> to exit column mode.
   
Ex. rules text for Lovestruck Beast (see attachments):

<<<<
<Heart's Desire> {g}
<Sorcery -- Adventure>
Create a 1/1 white Human creature token.
>>>>
~ can't attack unless you control a 1/1 creature.
Support me on Patreon

I saw. I conquered. I came.

Den

#35
2019/09/27

; reduce font size for planeswalkers rules

2019/09/28

; improve planeswalker rules height proportions to accommodate short abilities
; playing card frame ; double frame size ; art behind rules text
; mana cost options ; angle 180

2019/09/30

; clarify hints for mana symbols in rules text
; draw loyalty symbols after effect ; so loyalty symbols appear above dividing line
Support me on Patreon

I saw. I conquered. I came.

Den

#36
2019/10/17

; rarity colors now gradient textures
; default set icon

2019/10/19

; cardfuncs_makeArtImage ; options property for confirm composite
; playing card frame ; rules text overlay inverse matches art

2019/10/23

; seticon better placement
Support me on Patreon

I saw. I conquered. I came.

Den

#37
2019/11/01

; rules options ; xalign, yalign ; default center, center
; Vogon Full Art rules ; center bottom
; Playing card rules ; center center
; Flip frame ; fix 2nd rules text Y

2019/11/04

; rulestext newline ratio + flavortext padding ; smaller

2019/11/09

; vogon frames ; increase Name box height
Support me on Patreon

I saw. I conquered. I came.

Den

#38
2019/11/13

; new Vogon LS frames ; landscape format, for arts that stretch lengthwise from left to right
see attachments for examples

2019/11/15

; vogonls ; plane type shouldn't behave like scene
Support me on Patreon

I saw. I conquered. I came.

Den

#39
2019/11/15

; new Vogon GC frames ; like greeting card ; art (and seticon) on left half ; all else on right half ; see attachments for examples

Pro-tip: Watermark can be used as custom fancy borders or decoration for the right half.
Support me on Patreon

I saw. I conquered. I came.

Den

#40
2019/11/16

; vogonhd ; show extrabar only if extra field has text ; scene like PW layout only if loyalty is set

2019/11/17 - 19

; vogon HD, LS, split frames ; drop shadow in rules box from top and right ; -30, 30, 53, 40% (LS 30%) ; makes art pop out toward viewer & lowers rules box's brightness (which steals the art's attention)

2019/11/22

; vogonhd ; redo frames to make art 3d illusion effect

Support me on Patreon

I saw. I conquered. I came.

Den

#41
2019/11/29

; art, watermark, set icon ; allow special instructions at end of URL ; can chain multiple instructions
; hints updated
; over 126,000 cards created
; suppress deprecated function Imagick::setImageOpacity
; vogonls ; show rules box only if extra, rules, flavor texts exists

2019/11/30

; type icons moved into genre subfolders


Art instructions:


##crop, x, y, w, h
##rotate, degrees
##alpha, value (between 0.0 and 1.0)
##flip (around x-axis)
##flop (around y-axis)


ex

(Ichorid from Gatherer)

before

https://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=35923&type=card


after
https://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=35923&type=card##crop,26,30,171,137

ex.
Split cards

(Illusion;;Reality from Scryfall)

before
https://img.scryfall.com/cards/art_crop/front/8/e/8e7dd90a-4f93-43aa-b503-18289fdd571e.jpg?1562928558;;https://img.scryfall.com/cards/art_crop/front/8/e/8e7dd90a-4f93-43aa-b503-18289fdd571e.jpg?1562928558

after
https://img.scryfall.com/cards/art_crop/front/8/e/8e7dd90a-4f93-43aa-b503-18289fdd571e.jpg?1562928558##crop,0,0,377,254;;https://img.scryfall.com/cards/art_crop/front/8/e/8e7dd90a-4f93-43aa-b503-18289fdd571e.jpg?1562928558##crop,377,0,377,254

ex.
chaining multiple instructions

##crop, 0,0,300,250##flip##rotate, 90##alpha,0.5
Support me on Patreon

I saw. I conquered. I came.

Den

2020/01/06

; normalize table
Support me on Patreon

I saw. I conquered. I came.

Den

#43
2020/02/07
; over 128,000 cards created

2020/02/18
; rules text ; mana brackets support contiguous length of mana codes
(e.g. {2ggg/w} is now valid)
; fonts ; Kelvinch, Ubuntu ; support Latin, Greek, Cyrillic

2020/02/27
; browser-side save filename for image becomes 'CARDNAME by CREATOR.png'
Support me on Patreon

I saw. I conquered. I came.

Den

#44
2020/03/08

; added symbols ; suits for playing cards ; {CDHS}
; image url ; allow underscore
Support me on Patreon

I saw. I conquered. I came.

Den

#45
2020/05 - 2021/12

; legendary names ; text color enhanced
; new color option ; Blend ; for 2 or 3 colors
; hybrid mana 2/c
; playing card ; color = background color
; card importer ; https://ieants.cc/magic/ccimport
; replace CARDNAME with card's name
; ccrand ; allow creator field
; vogongc ; blend left half too
; flavor text ; regular font inside brackets []
; playing frames ; extra becomes title
; Overlay URL to image
; alias ; retain cursor position
; seticon ; new options ; keep ratio ; align right
; cardfuncs ; `` backticks = store and restore blocks of text, card traits
; leveler ; print flavortext
; split cards ; each half watermark, overlay
; PW rules text proportional to num abilities
; shade rules box partitions ; pw, levelers
; card type ; Avatar
; escape kara '\'
; card list ; form to input creator
; VOGON Split ; add flavor text, extras ; frame color from extra 2nd, 3rd text split
; custom mana ;
; over 146,000 cards created



2022/01/31

; added new frame ; Vogon VT ; for vertical art, like Saga

Saga syntax like Levelers. Use double semicolon ;; to create subsections, inside P/T and rules text.


2022/02/01-02

; new image manipulation command ; ##pad,direction,amount,color
; new image manipulation command ; ##tint,color
Support me on Patreon

I saw. I conquered. I came.

Den

Created Gab account and group to showcase cards created with Shena'Fu's online card creator.

"ShenaFusCardCreator" is user account: https://gab.com/ShenaFusCardCreator

"Custom Card Creations" is group name: https://gab.com/groups/59724
* Group is not restricted to this specific card creator. Anyone may showcase cards created from any online or offline card creator.
Support me on Patreon

I saw. I conquered. I came.

Den

#47
2022/02/15

; new mana symbols ; hybrid Phyrexian ; tribrid
; new mana format ; A/B/C

* type hybrid Phyrexian and tribrid symbols in any order:


p/b/r = r/b/p = b/p/r , etc.

u/b/r = r/b/u = b/u/r , etc.



2022/02/20

; hybrid colorless + colored mana ; {c/d}

ex. {c/w} and {w/c} are equivalent. this creates a mana cost that can be paid with colorless mana or white mana

Support me on Patreon

I saw. I conquered. I came.

Den

#48
2022/03/01

; new frame ; Vogon Biz ; make your own business cards

Vogon Biz card options:
FieldOutputNote or example



2022/03/02

; custom mana ; now accepts URL to file ; VSV or JSON

* In VSV, each data row holds exactly two values. The first value is the mana code. The second value is the URL to the image.

* In JSON, each key is the mana code, and each value is the URL to the image.

Examples:

* https://ieants.cc/magic/custommana/business.vsv
* https://ieants.cc/magic/custommana/business.json

Support me on Patreon

I saw. I conquered. I came.

Den

#49
2022/03/21

; custom type icon URL

Some frames automatically display a type icon that represents the card's type. Usually shown in the top left corner of the card.

Now you can use your own type icon by providing a URL to the image. It works for all frames (except CBG Horizontal).

Ex.

- lesson - https://static.wikia.nocookie.net/mtgsalvation_gamepedia/images/b/b2/STX_Scroll_icon.jpg/revision/latest/scale-to-width-down/185?cb=20210331053459
- day / night (use ##crop command to get the correct half) - https://t00.deviantart.net/KfZi9h-OLoiCklG-ilfSn9leFjk=/fit-in/150x150/filters:no_upscale():origin()/pre00/3fe9/th/pre/f/2011/359/7/3/night_and_day_symbols_for_double_face_cards_by_greateralinoe-d4jr8mg.png


Split cards can use one or two URLS, which may be different images. Two URLS are separated by double semicolons ;; . If only one URL is given and no double semicolons, both halves get same icon.

Ex. same icons for both halves
http://myurl1

Ex. different icons
http://myurl1;;http://myUrl2

Ex. only left half gets icon
http://myurl1;;

Ex. only right half gets icon
;;http://myurl2
Support me on Patreon

I saw. I conquered. I came.