It is currently 19 Apr 2024, 15:55
   
Text Size

Drawcardlib revisited

Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

Re: Drawcardlib revisited

Postby Sonic » 19 Jul 2013, 17:19

Korath wrote:The icon choice just uses the data in rarity.dat, which is produced from the columns in Manalink.csv. Someone (Sonic? Gargaroz?) already maintains these, even though nothing actually looks at them except for Draft, so far as I can find.

There's options in duel.dat to choose which icon to use for cards with multiple printings. The screenshot above uses
It's nice to know the grunt work is not all for naught. :lol:

Can I assume the symbols coding is somewhat similar to the P/T box? Will it be be possible to restrict the icons to only showing on the large card?

Oh yeah, and I wanted to ask. The small card text parameters being limited to left justified X/Y positioning - is this set in hardcoding stone?
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Drawcardlib revisited

Postby Korath » 19 Jul 2013, 18:18

Yes; icon visibility and placement is specified separately for smallcards and fullcards. So is suppression of the icon for core sets earlier than 6th edition and suppression of the rarity color for expansions earlier than Exodus. The priority rules for choosing between expansions is shared between smallcards and fullcards.

The power/toughness in the lower right of the smallcards are drawn by the exe, so they're out of scope for now. The title text can be centered or right-justified without much effort, though I don't expect good results between the mana stripes (also drawn by the exe) and the occasional over-long card name.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Drawcardlib revisited

Postby Sonic » 19 Jul 2013, 20:36

Korath wrote:The power/toughness in the lower right of the smallcards are drawn by the exe, so they're out of scope for now. The title text can be centered or right-justified without much effort, though I don't expect good results between the mana stripes (also drawn by the exe) and the occasional over-long card name.
It was the over-long card names I was really just concerned with.
Purely from an aesthetic point of view, whilst its useful being able to adjust the height and the left justification offset using the TitleX=8, TitleY=-8 parameters to compensate for the card art now having defined text banners as per the modern paper stock cards. Its just a bit messy with the text running off the right hand side the small card past the end of the banner as drawn on the card art.

Minor niggles apart - the new Drawcardlib is akin to tuning a Formula 1 racing car in comparison to the limited tweaking available to the original games roller skate.
=D>
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Drawcardlib revisited

Postby Korath » 21 Jul 2013, 01:12

New version in the first post. Besides the new features listed there, these new options were added to DuelArt/Duel.dat (the first replaces TitleX and TitleY):
Code: Select all
[SmallCard]
;Bounding box of title text, based on a logical size of 800x1120.
;Defaults TitleLeft=8, TitleTop=-8, TitleWidth=800, TitleHeight=1120.
TitleLeft = 8
TitleTop = -8
TitleWidth = 800
TitleHeight = 1120
;If set to 1, one of the images in CardArt/expansion_symbols.pic will be
;displayed on smallcards according to the card's expansion and rarity.  The
;image should contain a grid of 20 x 25 images: four rarities times five
;expansions wide, and 25 expansions tall.  Transparent borders around the
;subimages are unnecessary.
;Defaults ExpansionVisible=0.
ExpansionVisible = 0
;Bounding box for the expansion symbols, if they're visible.
;Defaults ExpansionLeft=587, ExpansionTop=9,
;         ExpansionWidth=208, ExpansionHeight=147.
ExpansionLeft = 587
ExpansionTop = 9
ExpansionWidth = 208
ExpansionHeight = 147
;If set to 1, then expansion symbols aren't drawn for core sets that didn't
;have them in print (Alpha, Beta, Unlimited, Revised, Fourth Edition, and Fifth
;Edition).
;Defaults ExpansionNoEarlyCoreSets=0.
ExpansionNoEarlyCoreSets = 0
;If set to 1, then only the Common symbol is drawn for expansions that didn't
;indicate rarity in print (Stronghold and earlier, and Portal 2nd Age - the
;first column in expansion_symbols.pic except for Exodus).
;Defaults ExpansionNoEarlyRarity=0.
ExpansionNoEarlyRarity = 0
;If set to 1, 2, 3, or 4, then all symbols are forced to a particular rarity:
;1 is common, 2 is uncommon, 3 is rare, 4 is special/mythic rare.  Overrides
;ExpansionNoEarlyRarity.
;Defaults ExpansionForceRarity=0.
ExpansionForceRarity = 0
[FullCard]
;If set to non-zero, then this configuration file is reread whenever a fullcard
;is drawn, so you don't have to restart Manalink continuously when adjusting
;the values.  This is, of course, fairly slow, so you don't want to leave it on
;once you've got settings you like.  It won't work for the [fonts] section, nor
;reload any images, though; and things will break horribly if
;PowertoughnessBoxVisible or both the ExpansionVisible options were turned off
;at startup but are turned on later.
;Defaults RereadConfigOnRedraw=0.
RereadConfigOnRedraw = 0
;If set to 1, one of the images in CardArt/expansion_symbols.pic will be
;displayed on fullcards according to the card's expansion and rarity.
;Defaults ExpansionVisible=1.
ExpansionVisible = 1
;Bounding box for the expansion symbols, if they're visible.
;Defaults ExpansionLeft=630, ExpansionTop=666,
;         ExpansionWidth=104, ExpansionHeight=53.
ExpansionLeft = 638
ExpansionTop = 666
ExpansionWidth = 104
ExpansionHeight = 53
;If set to 1, then expansion symbols aren't drawn for core sets that didn't
;have them in print (Alpha, Beta, Unlimited, Revised, Fourth Edition, and Fifth
;Edition).
;Defaults to [SmallCard]ExpansionNoEarlyCoreSets.
ExpansionNoEarlyCoreSets = 0
;If set to 1, then only the Common symbol is drawn for expansions that didn't
;indicate rarity in print (Stronghold and earlier, and Portal 2nd Age - the
;first column in expansion_symbols.pic except for Exodus).
;Defaults to [SmallCard]ExpansionNoEarlyRarity.
ExpansionNoEarlyRarity = 0
;If set to 1, 2, 3, or 4, then all symbols are forced to a particular rarity:
;1 is common, 2 is uncommon, 3 is rare, 4 is special/mythic rare.  Overrides
;ExpansionNoEarlyRarity.
;Defaults to [SmallCard]ExpansionForceRarity.
ExpansionForceRarity = 0
[Expansions]
;If set to 1, then if a card has been printed in multiple expansions of the
;same priority (according to the Priority* options below), then the latest of
;those expansion/rarity symbols is used, instead of the earliest.  The ordering
;used is the same as in the column headings in the first line of Manalink.csv.
;Defaults LatestPrinting=0.
LatestPrinting = 0
;Priority given to core sets (Alpha, Beta, Unlimited, Revised, Fourth through
;Tenth Edition, Magic 2010 through 2014) when choosing which expansion/rarity
;to use for cards with multiple printings.  The expansion/rarity with the
;highest priority number is used.
;Defaults PriorityCore=10.
PriorityCore = 10
;Priority given to expert-level sets (Arabian Nights, Antiquities, Legends, The
;Dark, Fallen Empires, Homelands, and the three-set blocks).
;Defaults PriorityExpert=10.
PriorityExpert = 10
;Priority given to portal/starter sets (Portal, Portal Second Age, Portal Three
;Kingdoms, Starter 1999, Start 2000).
;Defaults PriorityPortal=7.
PriorityPortal = 7
;Priority given to reprint sets (Chronicles, Masters Edition I-IV, Modern
;Masters).
;Defaults PriorityReprint=6.
PriorityReprint = 6
;Priority given to casual-format sets (Planechase, Archenemy, Commander,
;Planechase 2012, Commander's Arsenal).
;Defaults PriorityCasual=4.
PriorityCasual = 4
;Priority given to the astral cards and the promotional pseudo-set (used, e.g.,
;for book inserts like Mana Crypt).
;Defaults PriorityPromo=3.
PriorityPromo = 3
;Priority given to box sets (Battle Royale, Beatdown, and the From the Vault
;series).
;Defaults PriorityBox=2.
PriorityBox = 2
;Priority given to prebuilt decks (the Duel Decks: X vs. Y series and Premium
;Decks series).
;Defaults PriorityDecks=1.
PriorityDecks = 1
[Frames]
;Percent of a hybrid frame's width that should be a blend of its two source
;frames.  For example, when set to 20, a white-blue hybrid card will be 40%
;white, 40% blue, and 20% a blend.  Hybrid frames are disabled if this is below
;0.  Values above 100 are valid, though, and result in an image where even the
;far left and right are still a blend.
;
;Right now, this is only used for the ten beta dual lands and the ten
;guildmages in the Ravnica block, and they'll incorrectly always show up as
;their original colors if they have two or more.  (That is, if you take an
;Azorius Guildmage, Lifelace him to green, and Ghoulflesh him so he's black,
;too, he'll still show up as blue and white.)
;
;And yes, I know the mixed watermarks in the duals is ugly beyond belief.  And
;yes, I know the original duals used concentric rectangles.  And yes, I know
;two-color duals didn't start using two-color frames until about sixth edition.
;That's part of why this is still disabled.
;
;Defaults PercentMixedOnHybrid=-1.  30 seems about right.
PercentMixedOnHybrid = -1
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Drawcardlib revisited

Postby Sonic » 21 Jul 2013, 05:51

Image

Utterly gobsmacked! :shock:

And thanks for the small card text bounding box. Neatens up the text really nicely. :)
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Drawcardlib revisited

Postby Gargaroz » 21 Jul 2013, 14:32

Going straightly to V2 of this pacth ! Utter amazingness !
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
Gargaroz
Programmer
 
Posts: 7097
Joined: 06 Nov 2009, 11:11
Has thanked: 82 times
Been thanked: 595 times

Re: Drawcardlib revisited

Postby Korath » 21 Jul 2013, 15:46

I'm going to need a hand identifying all the frame variants that have been printed. Off the top of my head, there's:
  • Original:
    • White/blue/black/red/green/gold/artifact
    • 5 basic land types
    • 10 alpha/beta dual lands (e.g. Savannah). Low priority.
    • Multicolored land (City of Brass; Fifth Edition version of Adarkar Wastes)
    • 10 different two-color lands (Sixth Edition version of Adarkar Wastes)
    • Expansion-specific lands (e.g., Antiquities lands had peach text boxes and orange borders; The Dark and Alliances had mauve boxes and purple borders, with the shade varying slightly between the two; Fallen Empires was pink and red; Homelands was cyan and green; Ice Age was light blue and violet). Very low priority, though I'll probably pick one to use for colorless lands.
    • The little tombstone in the upper left in the original printing of Anger and so on
    • Tokens. Someone else can do the classic versions if they want; they're too ugly for me to want to put any effort into them. (The modern ones are fine.)
  • Modern:
    • White/blue/black/red/green
    • 5 basic land types
    • 17 nonbasic land: 1 colorless, 5 single-colored (but nonbasic), 10 two-colored, one for 3+ colors
    • 11 gold: one for each pair of colors, one for 3+; these all use the gold power/toughness box
    • 10 two-color hybrid; these all use the colorless power/toughness box, not the one matching their right-hand color
    • 17 artifact: 1 colorless, 5 single-colored, 10 two-colored, one for 3+ colors; the single-colored ones use the colored p/t boxes, the 2+ colored ones all use the gold p/t box, and colorless ones use a blue-grey p/t box different from the one for other colorless and hybrid cards.
    • 17 planeswalker: 5 single-colored, 1 for 3+ colored (Nicol Bolas, Planeswalker), 1 colorless (Karn Liberated), and ten two-color combinations. I don't currently plan on implementing the bit of art that pops out over the frame. Placement of the loyalty boxes on the left and bottom right is also very low priority; maybe use the same mechanism as mana symbols for that. Unlike Eldrazi/Ghostfire below, we could just put full-art images in for these and make the rules box translucent, and they'd mostly work just fine; but getting the middle band of the rules box, which is more transparent than the top and bottom, to line up with the different abilities in the text will be more trouble than it's worth.
    • 5 plane-shifted from Planar Chaos
      • Title/type/powertoughness text is in white, with a black shadow to the lower-left. (Is the font the same as with other modern card frames, besides the color and shadow?)
    • A bunch of multiframe variants like Fire // Ice, which I won't be attempting anytime soon
    • Another bunch of multiframe variants with fuse like Beck // Call, which I also won't be attempting anytime soon
    • A bunch of future-shifted from Future Sight, which I won't be attempting in the near or distant future, either. Easier than I'd thought.
    • Four miracle from Avacyn Restored, and should probably make black, colorless, and multicolored versions to deal with lacing and the like. Fortunately, they're all instants and sorceries, so won't be able to interact with the Nyx frames.
    • The various transforming ones in Innistrad block. There's a frame modification for the normal side, and a different frame for transformed. Anyone have a list?
      • Title/type/powertoughness text is in white on the reverse frames, and the power-toughness boxes are different, too.
      • I can enable another two framesets for the one transforming planeswalker, but it seems like a lot of bother for one card. I'm sure not going to make the template myself.
    • A zillion different variants of the Ravnica and Mirran/Phyrexian watermarks. Hm. (Ten Ravnica guilds)*(artifact, color 1, color 2, hybrid, gold, land) is 60 there. (Phyrexian/Mirran)*(w/u/b/r/g/artifact/land/gold?) is probably short of 20. I might come up with something to add these in (short of having a whole different frame type for each combination, which is clearly unmanageable), if someone feels up to assembling a list of links to images for all the different combinations that actually occur.
    • Colorless non-land non-artifacts from Rise of the Eldrazi, plus Ghostfire. Like planeswalkers, I'm don't currently plan on implementing the translucent rules box, and am unsure in general what to do here. The current artifact frame is clearly wrong, though. It would be nice to be able to tell Cardartlib to load a full-art variant for these; if we just put a full-art image in, they'll look very wrong if they somehow become colored.
    • Nyx frame overlays - one for each color, plus artifact, colorless, land, and gold.
    • The level-up cards have level indicators on the left and extra power/toughness boxes on the right, sort of like with Planeswalkers; doable but low priority. The differing saturation on the rules box, like the planeswalker rules box translucency, will be difficult.
    • Tokens. Shouldn't be rough. Needs support for the varying-width title plaque and colored titled font. As with futureshifts, no current plans to make a variant for the textless ones.
    • Vehicles from Kaladesh. - done, but only with the M15 frame.
    • Conspiracies (with the CNS frame and with the colored CN2 frames)
  • M15 (Postmodern?): All configurable, but no art supplied.
    • Probably nearly everything in the Modern list.
    • Plus holostamp for rares and mythics.
    • A planeswalker version. With-holostamp only.
    • Transform front-and-back versions for without-holostamp, with-holostamp, and planeswalker-with-holostamp.
  • Archenemy schemes. These currently don't have artwork at all; they're shown with a dialog (with so much text that it overruns a buffer in do_dialog, with variously catastrophic results). Actual cards would be better. Frames for them should be easy. Getting do_dialog() to show a card that doesn't actually exist is somewhat harder.
  • Vanguard cards. Would be easy, except the actual vanguard frames are so horribly ugly that I refuse to implement them. Maybe someone somewhere's made a reasonably ok looking variant.
  • Planes and phenomena. The frames themselves are easy; displaying them horizontally is horrendously difficult.
What am I missing?
Last edited by Korath on 21 Nov 2016, 22:56, edited 15 times in total.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Drawcardlib revisited

Postby gmzombie » 21 Jul 2013, 16:05

Sonic wrote:Image

Utterly gobsmacked! :shock:

And thanks for the small card text bounding box. Neatens up the text really nicely. :)
That is Sick Bro. i woke up to this..so excited
also here is the list of double sided cards Korath

Hinterland Hermit // Hinterland Scourge - Dark Ascension
Afflicted Deserter // Werewolf Ransacker - Dark Ascension
instigator Gang // Wildblood Pack - Innistrad
Mondronen Shaman // Tovolar's Magehunter - Dark Ascension
Tormented Pariah // Rampaging Werewolf - Innistrad
Reckless Waif - Innistrad
Hanweir Watchkeep // Bane of Hanweir - Innistrad
Kruin Outlaw // Terror of Kruin Pass - Innistrad
Village Ironsmith // Ironfang - Innistrad
Screeching Bat // Stalking Vampire - Innistrad
Bloodline Keeper // Lord of Lineage - Innistrad
Chosen of Markov // Markov's Servant - Dark Ascension
Ravenous Demon // Archdemon of Greed - Dark Ascension
Civilized Scholar // Homicidal Brute - Innistrad
Soul Seizer // Ghastly Haunting - Dark Ascension
Delver of Secrets [Toy]
Magic the gathering Innistrad - Delver of Secrets [Toy]
Ludevic's Test Subject // Ludevic's Abomination - Innistrad
Thaben Sentry // Thraben Militia - Innistrad
Loyal Cathar // Unhallowed Cathar - Dark Ascension
Cloistered Youth // Unholy Fiend - Innistrad
Garruk Relentless // Garruk, the Veil-Cursed - Innistrad
Mayor of Avabruck // Howlpack Alpha - Innistrad
Wolfbitten Captive // Krallenhorde Killer - Dark Ascension
Lambholt Elder // Silverpelt Werewolf - Dark Ascension - Foil
Scorned Villager // Moonscarred Werewolf - Dark Ascension
Ulvenwald Mystics // Ulvenwald Primordials - Innistrad
Villagers of Estwald // Howlpack of Estwald - Innistrad
Gatstaf Shepherd // Gatstaf Howler - Innistrad
Daybreak Ranger // Nightfall Predator - Innistrad
Krallenhorde Wantons - Innistrad - Common
Elbrus, the Binding Blade // Withengar Unbound - Dark Ascension
Chalice of Life // Chalice of Death - Dark Ascension
Huntmaster of the Fells // Ravager of the Fells (140) - Dark Ascension


i think thats all of them
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Drawcardlib revisited

Postby Korath » 23 Jul 2013, 23:05

If anyone's still using classic style card frames (brown artifacts, etc.), speak up and I'll support them in the next release (or show you how if you're willing to help out); otherwise, I'd just as soon leave them broken until both they and the modern style card frames can both be used at once.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Drawcardlib revisited

Postby Mojodishu » 24 Jul 2013, 04:50

New card frames was one of the reasons why I quit paper magic. -_- I hope I'm not the only one who uses old frames.
Mojodishu
 
Posts: 16
Joined: 14 Dec 2012, 15:53
Has thanked: 3 times
Been thanked: 0 time

Re: Drawcardlib revisited

Postby stassy » 24 Jul 2013, 05:12

Well, the new frame for small card title is too bright for the white text, and I am not fond of the black color for card title so I guess you can count me in for testing, though I will need the original frame since I overwritten them with the new ones without backup (yes I know bad behavior :P)
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Drawcardlib revisited

Postby gmzombie » 26 Jul 2013, 02:20

i find myself checking the site daily just to make sure i havent missed any updates...cant wait for the next update..
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Drawcardlib revisited

Postby Korath » 28 Jul 2013, 21:30

New update in first post.
New options in Duel.dat | Open
[SmallCard]
;Color of outline around edge of artwork. Not drawn if any value is below 0.
;Defaults ArtOutlineColorR=-1, OutlineColorG=-1, OutlineColorB=-1.
ArtOutlineColorR = -1
ArtOutlineColorG = -1
ArtOutlineColorB = -1
[FullCard]
;Color of outline around edge of artwork. Not drawn if any value is below 0.
;Defaults ArtOutlineColorR=-1, OutlineColorG=-1, OutlineColorB=-1.
ArtOutlineColorR = -1
ArtOutlineColorG = -1
ArtOutlineColorB = -1
;Bounding box for watermarks and the large mana symbols on basic lands. (This
;is moved upward if the rules box is expanded.)
;
;The images should be in CardArt/watermarks.pic and consist of four
;equally-tall rows of five equally-wide images each. The first row, left to
;right, is Black, Blue, Green, Red, and White. The second row is Azorius,
;Dimir, Rakdos, Gruul, and Selesnya. The third row is Orzhov, Golgari, Simic,
;Izzet, and Boros. The fourth row is Phyrexian, Mirran, and three unused.
;
;The ten guild watermarks on lines two and three all got changed somewhat for
;the Return to Ravnica block. I suppose these variants should be supported.
;I couldn't find usable art when putting these together, though and I'm frankly
;tired of trying to get these to look reasonably good without including two
;dozen different variants of each watermark (one for each background they can
;appear on). So if someone wants to make the images, let me know and I'll send
;you the psd.
;
;Which cards get which watermarks is determined by ./watermarks.csv. Each line
;should consist of a card id number (from manalink.csv), a semicolon, and a
;watermark name; optionally followed by a semicolon and comment. If a negative
;number is seen for the id, no further lines are read - useful for documenting
;e.g. split cards with different watermarks on each half that can't be fully
;displayed right now. (Of course, those could have been done by picking one
;half to display and documenting the other half in the comment, but I chose to
;leave them entirely unwatermarked.)
;
;Watermarks can be disabled by emptying out watermarks.csv, or emptying it
;except for the five basic lands at the top if you want to keep those.
;
;Defaults WatermarkLeft=230, WatermarkTop=736,
; WatermarkWidth=340, WatermarkHeight=340.
WatermarkLeft = 230
WatermarkTop = 736
WatermarkWidth = 340
WatermarkHeight = 340
;If set to 1, always display Phyrexian, Mirran, and Ravnica guild watermarks on
;matching cards, no matter the expansion. Normally, these are only shown for
;Duel Decks: Izzet vs. Golgari, Modern Masters, and the nine expansions in the
;Ravnica, Scars of Mirrodin, and Return to Ravnica blocks (should there be
;others?), as determined by the displayed expansion symbol (or the expansion
;symbol that would be displayed if they're turned off). Relevant for cards
;reprinted in or from these blocks (e.g. Disperse gets the Mirran watermark
;when shown with the Scars of Mirrodin expansion symbol, but not if shown with
;the Morningtide symbol from its original printing or the the Magic 2014 symbol
;from its later reprint).
;Defaults WatermarkOutsideSet=0.
WatermarkOutsideSet = 0
[Frames]
;Percent of a hybrid frame's width that should be a blend of its two source
;frames. (This includes two-color lands, like Rootbound Crag, two-color
;artifacts, like Mage Slayer, and two-color gold cards, like Apocalypse Hydra,
;in addition to true hybrid cards like Gruul Guildmage.)
;
;For example, when set to 20, a white-blue hybrid card will be 40% white, 40%
;blue, and 20% a blend. Two-color frames are disabled if this is below 0, and
;the gold frame normally used for three or more colors will be displayed
;instead. Values above 100 are valid, though, and result in an image where
;even the far left and right are still a blend.
;
;Defaults PercentMixedOnHybrid=30.
PercentMixedOnHybrid = 30
;If set to nonzero, two-color lands from expansions earlier than Classic Sixth
;Edition are drawn with the gold land frame instead of a hybrid, just as if
;PercentMixedOnHybrid were set below 0.
NoEarlyHybridLand = 0
;If set to 1, two-color cards (other than lands and artifacts) whose colors
;have been changed are drawn with the hybrid frame instead of the gold one.
;(This is fairly uncommon, since most color change effects replace colors
;instead of adding to them.)
;
;If set to 2, all two-color cards (other than lands and artifacts) are drawn
;with the hybrid frame instead of the gold one.
;
;Defaults TwoColorAsHybrid=0.
TwoColorAsHybrid = 0
;If set to -1 or below, CardBk_Colorless + CardOv_Colorless are used for
;colorless non-land, non-artifact cards, and are handled identically to other
;frames.
;
;Otherwise, the art for colorless non-land, non-artifact cards is stretched
;over the entire frame, and only CardOv_Colorless is drawn over the art.
;(Typically you'll want that to be translucent; about 75% opacity works well.)
;Additional options are set by adding the numbers below:
;
;+1: The art is also drawn in its normal place on fullcards, which alleviates
;the distortion a bit. (The smallcard art is always over the whole card area
;for non-negative values.)
;
;+2: No frame at all is drawn on smallcards.
;
;+4: After drawing the smallcard art stretched to the full card area, then the
;CardOv_Colorless frame overlay on top of it, draw the smallcard art again,
;clipped to its normal bounding box (but still stretched to the full area).
;You'll want this if your CardOv_Colorless would normally draw over the normal
;art area.
;
;Defaults TranslucentColorless=-1.
TranslucentColorless = -1
;If set to -1 or below, colorless face-down creatures are drawn like any other
;colorless card (that is, according to TranslucentColorless). Otherwise, this
;is used as a replacement for TranslucentColorless, and their FullCards use the
;CardBack artwork.
;Defaults FaceDownCreature=-1.
FaceDownCreature = -1
;Card id of the face-down creature, from Manalink.csv. Configurable here
;because it can change between releases. Only matters if FaceDownCreature
;is non-negative.
;Defaults FaceDownCreatureID=13392.
FaceDownCreatureID = 13392
;If set to 1, artifact lands are drawn with CardBk_Artifact + the
;appropriately-colored CardOv_*Land overlays, so that they're visually
;distinctive from non-artifact lands.
;
;If set to 2, the land overlay is drawn over a artifact-land hybrid frame.
;
;If set to 3, they're drawn as a hybrid colored artifact/colored land. (The
;difference between this and 2 is that the left half of the textbox, borders,
;and text/type lines are drawn in the lighter shade used by spells and colored
;artifacts.)
;
;Defaults ArtifactLand=0.
ArtifactLand = 0
;The directory, relative to CardArt\, in which frame images are searched for.
;Individual images can further alter this, e.g. to search for most images in
;CardArt\modern but for CardBk_Artifact in CardArt\classic, you'd use
;FrameBaseDir=modern and CardBk_Artifact=..\classic\CardBk_Artifact.pic.
;Defaults FrameBaseDir=.
FrameBaseDir=modern
;The image to use for activation/effect/legacy cards. Typically a garish
;orange.
;Defaults CardBk_Special=CardBk_Special.pic
CardBk_Special=CardBk_Special.png
;The base image to use for artifact cards. It gets either CardOv_Artifact
;composited onto it for colorless artifacts; one of CardOv_BArtifact,
;CardOv_UArtifact, CardOv_GArtifact, CardOv_RArtifact, or CardOv_WArtifact for
;single-color colored artifacts; a horizontal blend of two of
;CardOv_BGoldArtifact, CardOv_UGoldArtifact, CardOv_GGoldArtifact,
;CardOv_RGoldArtifact, or CardOv_WGoldArtifact for two-color artifacts; or
;CardOv_GoldArtifact for three/four/five-color artifacts. It may also be used
;for artifact lands, depending on your ArtifactLand setting.
;Defaults CardBk_Artifact=CardBk_Artifact.pic
CardBk_Artifact=CardBk_Artifact.png
;The base image to use for gold (non-artifact, non-land, non-hybrid) cards. It
;gets either CardOv_Gold composited onto it for three/four/five-color spells,
;or a horizontal blend of two of CardOv_BGold, CardOv_UGold, CardOv_GGold,
;CardOv_RGold, or CardOv_WGold for two-color spells.
;Defaults CardBk_Gold=CardBk_Gold.pic
CardBk_Gold=CardBk_Gold.png
;The base image to use for land cards. It gets either CardOv_ColorlessLand
;composited onto it for colorless or non-mana-producing lands, CardOv_Gold for
;three/four/five-color lands, or either one or a horizontal blend of two of
;CardOv_BLand, CardOv_ULand, CardOv_GLand, CardOv_RLand, or CardOv_WLand for
;one- or two-color lands.
;Defaults CardBk_Land=CardBk_Land.pic
CardBk_Land=CardBk_Land.png
;The base image to use for colorless (non-artifact, non-land) cards. It gets
;CardOv_Colorless composited onto it. Modified by TranslucentColorless.
;Defaults CardBk_Colorless=CardBk_Colorless.pic
CardBk_Colorless=CardBk_Colorless.png
;The base image to use for white (non-artifact, non-land) cards. It gets
;CardOv_White composited onto it; and the result is used to create hybrid white
;cards.
;Defaults CardBk_White=CardBk_White.pic
CardBk_White=CardBk_White.png
;Identical to CardBk_White, but for blue spells, and gets CardOv_U composited.
;Defaults CardBk_Blue=CardBk_Blue.pic
CardBk_Blue=CardBk_Blue.png
;Identical to CardBk_White, but for black spells, and gets CardOv_B composited.
;Defaults CardBk_Black=CardBk_Black.pic
CardBk_Black=CardBk_Black.png
;Identical to CardBk_White, but for red spells, and gets CardOv_R composited.
;Defaults CardBk_Red=CardBk_Red.pic
CardBk_Red=CardBk_Red.png
;Identical to CardBk_White, but for green spells, and gets CardOv_G composited.
;Defaults CardBk_Green=CardBk_Green.pic
CardBk_Green=CardBk_Green.png
;The inner border, title/type-line background, and rules text box of colorless
;artifact cards. It gets composited onto CardBk_Artifact, and optionally the
;result is used as the left half of colorless artifact lands (depending on your
;ArtifactLand setting).
;Defaults CardOv_Artifact=CardOv_Artifact.pic
CardOv_Artifact=CardOv_Artifact.png
;The inner border, title/type-line background, and rules text box of
;three/four/five-color gold (non-artifact) spells. It gets composited onto
;CardBk_Gold.
;Defaults CardOv_Gold=CardOv_Gold.pic
CardOv_Gold=CardOv_Gold.png
;The inner border, title/type-line background, and rules text box of
;three/four/five-color gold artifacts. It gets composited onto
;CardBk_Artifact, and optionally the result is used as the left half of
;three/four/five-color mana-producing artifact lands (like a City of Brass
;altered by a Memnarch) depending on your ArtifactLand setting.
;Defaults CardOv_GoldArtifact=CardOv_GoldArtifact.pic
CardOv_GoldArtifact=CardOv_Gold.png
;The inner border, title/type-line background, and rules text box of colorless
;(non-artifact, non-land) cards. It gets composited onto CardBk_Colorless, but
;might get used by itself depending on your TranslucentColorless setting.
;Defaults CardOv_Colorless=CardOv_Colorless.pic
CardOv_Colorless=CardOv_Colorless.png
;The inner border, title/type-line background, and rules text box of
;three/four/five-color lands. It gets composited onto CardBk_Land, and
;optionally the result is used as the right half of three/four/five-color
;mana-producing artifact lands depending on your ArtifactLand setting.
;Defaults CardOv_GoldLand=CardOv_GoldLand.pic
CardOv_GoldLand=CardOv_Gold.png
;The inner border, title/type-line background, and rules text box of colorless
;lands. It gets composited onto CardBk_Land. Optionally forms parts of
;artifact lands, depending on your ArtifactLand setting.
;Defaults CardOv_ColorlessLand=CardOv_ColorlessLand.pic
CardOv_ColorlessLand=CardOv_Colorless.png
;The inner border, title/type-line background, and rules text box of
;single-color white (non-artifact) spells and half of hybrid white spells. It
;gets composited onto CardBk_White.
;Defaults CardOv_W=CardOv_W.pic
CardOv_W=CardOv_W.png
;Identical to CardOv_W, but for blue spells and composited onto CardBk_Blue.
;Defaults CardOv_U=CardOv_U.pic
CardOv_U=CardOv_U.png
;Identical to CardOv_W, but for black spells composited onto CardBk_Black.
;Defaults CardOv_B=CardOv_B.pic
CardOv_B=CardOv_B.png
;Identical to CardOv_W, but for red spells composited onto CardBk_Red.
;Defaults CardOv_R=CardOv_R.pic
CardOv_R=CardOv_R.png
;Identical to CardOv_W, but for green spells composited onto CardBk_Green.
;Defaults CardOv_G=CardOv_G.pic
CardOv_G=CardOv_G.png
;The inner border, title/type-line background, and rules text box of
;single-color white artifacts. It gets composited onto CardBk_Artifact, and
;the result may be used for white or half-white artifact lands, depending on
;your ArtifactLand setting.
;Defaults CardOv_WArtifact=CardOv_WArtifact.pic
CardOv_WArtifact=CardOv_W.png
;Identical to CardOv_WArtifact, but for blue artifacts.
;Defaults CardOv_UArtifact=CardOv_UArtifact.pic
CardOv_UArtifact=CardOv_U.png
;Identical to CardOv_WArtifact, but for black artifacts.
;Defaults CardOv_BArtifact=CardOv_BArtifact.pic
CardOv_BArtifact=CardOv_B.png
;Identical to CardOv_WArtifact, but for red artifacts.
;Defaults CardOv_RArtifact=CardOv_RArtifact.pic
CardOv_RArtifact=CardOv_R.png
;Identical to CardOv_WArtifact, but for green artifacts.
;Defaults CardOv_GArtifact=CardOv_GArtifact.pic
CardOv_GArtifact=CardOv_G.png
;The inner border, title/type-line background, and rules text box of half of a
;two-color, partially white (non-hybrid, non-artifact) spell. It gets
;composited onto CardBk_Gold.
;Defaults CardOv_WGold=CardOv_WGold.pic
CardOv_WGold=CardOv_W.png
;Identical to CardOv_WGold, but for partially-blue two-color spells.
;Defaults CardOv_UGold=CardOv_UGold.pic
CardOv_UGold=CardOv_U.png
;Identical to CardOv_WGold, but for partially-black two-color spells.
;Defaults CardOv_BGold=CardOv_BGold.pic
CardOv_BGold=CardOv_B.png
;Identical to CardOv_WGold, but for partially-red two-color spells.
;Defaults CardOv_RGold=CardOv_RGold.pic
CardOv_RGold=CardOv_R.png
;Identical to CardOv_WGold, but for partially-green two-color spells.
;Defaults CardOv_GGold=CardOv_GGold.pic
CardOv_GGold=CardOv_G.png
;The inner border, title/type-line background, and rules text box of half of a
;two-color, partially white artifact. It gets composited onto CardBk_Artifact.
;Defaults CardOv_WGoldArtifact=CardOv_WGoldArtifact.pic
CardOv_WGoldArtifact=CardOv_W.png
;Identical to CardOv_WGoldArtifact, but for partially-blue two-color artifacts.
;Defaults CardOv_UGoldArtifact=CardOv_UGoldArtifact.pic
CardOv_UGoldArtifact=CardOv_U.png
;Identical to CardOv_WGoldArtifact, but for partially-black two-color
;artifacts.
;Defaults CardOv_BGoldArtifact=CardOv_BGoldArtifact.pic
CardOv_BGoldArtifact=CardOv_B.png
;Identical to CardOv_WGoldArtifact, but for partially-red two-color artifacts.
;Defaults CardOv_RGoldArtifact=CardOv_RGoldArtifact.pic
CardOv_RGoldArtifact=CardOv_R.png
;Identical to CardOv_WGoldArtifact, but for partially-green two-color
;artifacts.
;Defaults CardOv_GGoldArtifact=CardOv_GGoldArtifact.pic
CardOv_GGoldArtifact=CardOv_G.png
;The inner border, title/type-line background, and rules text box of white and
;two-color partially white lands, composited onto CardBk_Land. It also always
;ends up in some form on white and partially-white artifact lands, though the
;precise method depends on your ArtifactLand setting.
;Defaults CardOv_WLand=CardOv_WLand.pic
CardOv_WLand=CardOv_WLand.png
;Identical to CardOv_WLand, but for blue and two-color partially blue lands.
;Defaults CardOv_ULand=CardOv_ULand.pic
CardOv_ULand=CardOv_ULand.png
;Identical to CardOv_WLand, but for black and two-color partially black lands.
;Defaults CardOv_BLand=CardOv_BLand.pic
CardOv_BLand=CardOv_BLand.png
;Identical to CardOv_WLand, but for red and two-color partially red lands.
;Defaults CardOv_RLand=CardOv_RLand.pic
CardOv_RLand=CardOv_RLand.png
;Identical to CardOv_WLand, but for green and two-color partially green lands.
;Defaults CardOv_GLand=CardOv_GLand.pic
CardOv_GLand=CardOv_GLand.png
;A different example config that uses the previous imagery, all in CardArt dir:
;FrameBaseDir=.
;CardBk_Special=CardBk_Special.pic
;CardBk_Artifact=CardBk_Artifact.pic
;CardBk_Gold=CardBk_Gold.pic
;CardBk_Land=CardBk_Land.pic
;CardBk_Colorless=CardBk_Artifact.pic
;CardBk_White=CardBk_White.pic
;CardBk_Blue=CardBk_Blue.pic
;CardBk_Black=CardBk_Black.pic
;CardBk_Red=CardBk_Red.pic
;CardBk_Green=CardBk_Green.pic
;CardOv_Artifact=blank.png
;CardOv_Gold=blank.png
;CardOv_Colorless=blank.png
;CardOv_GoldLand=blank.png
;CardOv_ColorlessLand=blank.png
;CardOv_W=blank.png
;CardOv_U=blank.png
;CardOv_B=blank.png
;CardOv_R=blank.png
;CardOv_G=blank.png
;CardOv_WArtifact=CardBk_Wartifact.pic
;CardOv_UArtifact=CardBk_Uartifact.pic
;CardOv_BArtifact=CardBk_Bartifact.pic
;CardOv_RArtifact=CardBk_Rartifact.pic
;CardOv_GArtifact=CardBk_Gartifact.pic
;CardOv_WGoldArtifact=CardBk_Martifact.pic
;CardOv_UGoldArtifact=CardBk_Martifact.pic
;CardOv_BGoldArtifact=CardBk_Martifact.pic
;CardOv_RGoldArtifact=CardBk_Martifact.pic
;CardOv_GGoldArtifact=CardBk_Martifact.pic
;CardOv_GoldArtifact=CardBk_Martifact.pic
;CardOv_WGold=blank.png
;CardOv_UGold=blank.png
;CardOv_BGold=blank.png
;CardOv_RGold=blank.png
;CardOv_GGold=blank.png
;CardOv_WLand=CardBk_WhiteLand.pic
;CardOv_ULand=CardBk_BlueLand.pic
;CardOv_BLand=CardBk_BlackLand.pic
;CardOv_RLand=CardBk_RedLand.pic
;CardOv_GLand=CardBk_GreenLand.pic
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Drawcardlib revisited

Postby gmzombie » 29 Jul 2013, 00:19

ok so i tested the new setup and when i use the backgrounds of yours korath everything is good. when i use Sonics modern backgrounds this is what happens...mind you all i did is change the names so the right pic file would load up. nothing else at this time. i originally copied my latest info so i could use the modern borders but there are 2 bounding boxes that have a different sizes and border colors
Attachments
screenshot.3.jpg
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Drawcardlib revisited

Postby Korath » 29 Jul 2013, 00:30

That's because it's compositing the smaller-sized CardOv_R image from the manalink3 makeover over the larger CardBk_Red image from Sonic's more recent mod.

Until he has a new version out, you can use the alternate config near the end of the Duel.dat I included - comment out the current CardBk_ and CardOv_ lines, then uncomment the ones after ";A different example config that uses the previous imagery, all in CardArt dir:".
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 27 guests


Who is online

In total there are 27 users online :: 0 registered, 0 hidden and 27 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 27 guests

Login Form