Gwar's Tweaked ProxyGen (OLD THREAD DO NOT USE)
by Nate and Snacko
Moderators: Snacko, CCGHQ Admins
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by skibulk » 15 Apr 2012, 22:59
I never thought of that... I suspect you'll hand code the labels into the card gen. I'll bet you don't have japanese, chinese, or korean keyboards heandy though - Does anyone have the translated labels?joollim wrote:Skibulk, I would ask 3 things...
1- if you can modify the leveled frames, removing the word "LEVEL" from frames (because in foreing languanges it is the translated word that appears)
It's the same font, just compressed in width.2- if you can provide the font that you used to write "LEVEL"
Done. Garruk's artwork & overlay also included in the attached zip. I added the colon to the levelUp.png, etc. so we don't need yet another image.3- if you can remove ":" of all planeswalkers frames and create a file .png with ":"... this way I could fix ":" that appears in first ability of Garruk Relentless.
I've included a medium-quality Hand of Emrakul, I do not have the frame... anyone?If somebody has the full image of three missing Eldrazi cards (Hand of Emrakul, Eldrazi Conscription and Not of This World), please post them!
Lastly, I've included the transform frames. I had pm'ed them to SNACKO last week but he hasn't posted an update yet.
- Attachments
-
Assets.zip
- (20.18 MiB) Downloaded 444 times
-
skibulk - HQ Team Member
- Posts: 995
- Joined: 19 Jul 2010, 20:34
- Location: Northeast USA
- Has thanked: 379 times
- Been thanked: 335 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 17 Apr 2012, 16:05
Well the attached file contains the following modifications:
1- Inserted "Séance" in Card.php and MasterBase.php
2- When trying to generate "Elbrus, the Binding Blade/Withengar Unbound", Withengar is printed black and not as artifact.
3- Artist's name in split cards is shown correctly, splitted. The same happens when output.english.title.on.translated.card = 1, the card's name is splitted now.
4- "Garruk Relentless/Garruk, the Veil-Cursed" (no loyality point) can be generated
5- Split cards. If the second card is black the artist's name is white.
6- I've replaced <hr> to "\n-----\n" and "//"
7- Eldrazi cards are working! (thanks gwar for the images)
8- Leveled cards are working! (thanks skibulk fo the frames)
9- Rarity files can be gif or png.
10- Now the tombstone symbol is printed in foreign cards
11- I added a new function "output.use.deck.name.as.directory = 1" in config.txt, useful to generate more than one deck without join the cards in same folder.
12- I change the font pre8th.ttf for a newer version that some latins symbols cannot be printed like ó, ã, õ, etc
13- Transform cards are working! (thanks again skibulk fo the frames)
14- Card that has mirran, phyrexian or guild watermark in "Scars of Mirrodin Block" and that belongs to others sets (after 8ed) when it was printed the watermark was printed too.
Bugs:
1- When generate Garruk, the Veil-Cursed, the "il" becomes italic due to filter in code.
2- JTMS zero ability is overwrited by "0", showing 2x "0" due to loyaltyZero.png and Zero in text source.
3- Missing white background text in leveled cards
@skibulk:
the "Garruk Relentless/Garruk, the Veil-Cursed" .png files aren't recognized by HQCGenerator and the pt_night files have a bottom and right black strip on them. The ":" in loyaltyXXX.png aren't printed.
1- Inserted "Séance" in Card.php and MasterBase.php
2- When trying to generate "Elbrus, the Binding Blade/Withengar Unbound", Withengar is printed black and not as artifact.
3- Artist's name in split cards is shown correctly, splitted. The same happens when output.english.title.on.translated.card = 1, the card's name is splitted now.
4- "Garruk Relentless/Garruk, the Veil-Cursed" (no loyality point) can be generated
5- Split cards. If the second card is black the artist's name is white.
6- I've replaced <hr> to "\n-----\n" and "//"
7- Eldrazi cards are working! (thanks gwar for the images)
8- Leveled cards are working! (thanks skibulk fo the frames)
9- Rarity files can be gif or png.
10- Now the tombstone symbol is printed in foreign cards
11- I added a new function "output.use.deck.name.as.directory = 1" in config.txt, useful to generate more than one deck without join the cards in same folder.
12- I change the font pre8th.ttf for a newer version that some latins symbols cannot be printed like ó, ã, õ, etc
13- Transform cards are working! (thanks again skibulk fo the frames)
14- Card that has mirran, phyrexian or guild watermark in "Scars of Mirrodin Block" and that belongs to others sets (after 8ed) when it was printed the watermark was printed too.
Bugs:
1- When generate Garruk, the Veil-Cursed, the "il" becomes italic due to filter in code.
2- JTMS zero ability is overwrited by "0", showing 2x "0" due to loyaltyZero.png and Zero in text source.
3- Missing white background text in leveled cards
@skibulk:
the "Garruk Relentless/Garruk, the Veil-Cursed" .png files aren't recognized by HQCGenerator and the pt_night files have a bottom and right black strip on them. The ":" in loyaltyXXX.png aren't printed.
- Attachments
-
HQCGenerate.rar
- For while this is the newer scripts fo HQCGenerator
- (25.1 MiB) Downloaded 486 times
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by skibulk » 17 Apr 2012, 18:50
The attached garruk images are now properly named JPG files and the overlays properly named PNG files. They should work.
There's no black strips in the pngs. I suspect the application is adding them somewhere. I have recanvased the PT files to be the same dimensions as the regular PT files, so maybe the program won't choke. Attached.
The colons seem correct in the loyalty PNGs, so I'd bet the program is clipping them - expecting the original images which weren't as wide.
See the PHP documentation on imagecopyresampled for rendering text at compressed width. This should enable generation of proper "level" lables.
There's no black strips in the pngs. I suspect the application is adding them somewhere. I have recanvased the PT files to be the same dimensions as the regular PT files, so maybe the program won't choke. Attached.
The colons seem correct in the loyalty PNGs, so I'd bet the program is clipping them - expecting the original images which weren't as wide.
See the PHP documentation on imagecopyresampled for rendering text at compressed width. This should enable generation of proper "level" lables.
- Attachments
-
Assets2.zip
- (812.91 KiB) Downloaded 448 times
-
skibulk - HQ Team Member
- Posts: 995
- Joined: 19 Jul 2010, 20:34
- Location: Northeast USA
- Has thanked: 379 times
- Been thanked: 335 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by fryctEcDo » 17 Apr 2012, 19:46
It's kinda hacked together, but produces good results and should be a useful as a starting point.
edit: looks like it was already done, owell
edit: looks like it was already done, owell
- Attachments
-
levels.zip
- add support for levelers
- (2.43 MiB) Downloaded 500 times
- fryctEcDo
- Posts: 3
- Joined: 14 Apr 2012, 02:17
- Has thanked: 0 time
- Been thanked: 0 time
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by odino182 » 18 Apr 2012, 11:35
when i create a Delver of Secrets/Insectile Aberration the card have power 113.
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 18 Apr 2012, 14:30
check this pt card in your cards.csv file... it must be like this:odino182 wrote:when i create a Delver of Secrets/Insectile Aberration the card have power 113.
"Delver of Secrets/Insectile Aberration","ISD","U/U","Creature — Human Wizard/Creature — Human Insect","1\1//3\2","//
“Unfortunately, all my test animals have died or escaped, so I shall be the final subject. I feel no fear. This is a momentous night.”
—Laboratory notes, final entry","C","{U}/","At the beginning of your upkeep, look at the top card of your library. You may reveal that card. If an instant or sorcery card is revealed this way, transform Delver of Secrets.
//
Flying",,"Nils Hamm","51\264"
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 18 Apr 2012, 15:59
Fixed:
1- JTMS
2- Garruk, the Veil-Cursed, the "il" doesn't become italic.
3- ":" in loyalties images is ok
Added:
1- pre8th tap symbol... now when you generate a pre8th set card the tap symbol is the old one.
2- Added a empty image NoLoyalty to remove php warning when gernerate Garruk Relentless
@fryctEcDo:
I liked your solution the white bg in leveled cards... after i'll implement it in script
1- JTMS
2- Garruk, the Veil-Cursed, the "il" doesn't become italic.
3- ":" in loyalties images is ok
Added:
1- pre8th tap symbol... now when you generate a pre8th set card the tap symbol is the old one.
2- Added a empty image NoLoyalty to remove php warning when gernerate Garruk Relentless
@fryctEcDo:
I liked your solution the white bg in leveled cards... after i'll implement it in script
- Attachments
-
HQCGenerate.rar
- replacing always
- (38.8 KiB) Downloaded 476 times
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by odino182 » 18 Apr 2012, 16:46
ty alot it work now
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by odino182 » 18 Apr 2012, 17:07
this is correct?
"Garruk Relentless/Garruk, the Veil-Cursed",ISD,Gld,Planeswalker — Garruk/Planeswalker — Garruk,,,M,{3}{G},"When Garruk Relentless has two or fewer loyalty counters on him, transform him.
: Garruk Relentless deals 3 damage to target creature. That creature deals damage equal to its power to him.
: Put a 2/2 green Wolf creature token onto the battlefield.
//
+1: Put a 1/1 black Wolf creature token with deathtouch onto the battlefield.
-1: Sacrifice a creature. If you do, search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
-3: Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard.",,Eric Deschamps,181\264
"Garruk Relentless/Garruk, the Veil-Cursed",ISD,Gld,Planeswalker — Garruk/Planeswalker — Garruk,,,M,{3}{G},"When Garruk Relentless has two or fewer loyalty counters on him, transform him.
: Garruk Relentless deals 3 damage to target creature. That creature deals damage equal to its power to him.
: Put a 2/2 green Wolf creature token onto the battlefield.
//
+1: Put a 1/1 black Wolf creature token with deathtouch onto the battlefield.
-1: Sacrifice a creature. If you do, search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
-3: Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard.",,Eric Deschamps,181\264
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 18 Apr 2012, 17:18
"Garruk Relentless/Garruk, the Veil-Cursed","ISD","G/BG","Planeswalker — Garruk/Planeswalker — Garruk","\3//",,"M","{3}{G}/","When Garruk Relentless has two or fewer loyalty counters on him, transform him.odino182 wrote:this is correct?
"Garruk Relentless/Garruk, the Veil-Cursed",ISD,Gld,Planeswalker — Garruk/Planeswalker — Garruk,,,M,{3}{G},"When Garruk Relentless has two or fewer loyalty counters on him, transform him.
: Garruk Relentless deals 3 damage to target creature. That creature deals damage equal to its power to him.
: Put a 2/2 green Wolf creature token onto the battlefield.
//
+1: Put a 1/1 black Wolf creature token with deathtouch onto the battlefield.
-1: Sacrifice a creature. If you do, search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
-3: Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard.",,Eric Deschamps,181\264
0: Garruk Relentless deals 3 damage to target creature. That creature deals damage equal to its power to him.
0: Put a 2/2 green Wolf creature token onto the battlefield.
//
+1: Put a 1/1 black Wolf creature token with deathtouch onto the battlefield.
-1: Sacrifice a creature. If you do, search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
-3: Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard.",,"Eric Deschamps","181\264"
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by odino182 » 18 Apr 2012, 17:56
can anyone do a repack of a working main program + all new patch released pls? and upload it ty alot
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 21 Apr 2012, 17:56
This is the Database I'm using...
it is updated since Scourge until Dark Ascension, I used the MWS MasterDB to create this one and modified some symbols to use in HQCGenerator. Use it to generate cards correctly or modify your DB according this
And I put 2 new options on config.txt
output.replace.space.for.underline = 1|0 (useful to create your own cards to Forge program)
output.split.cards.separated = 1|0 (if you wish to generate transform/split cards as separeted images too, useful to create transform cards in Virtualplaytable)
cards.rar
- (500.32 KiB) Downloaded 449 times
it is updated since Scourge until Dark Ascension, I used the MWS MasterDB to create this one and modified some symbols to use in HQCGenerator. Use it to generate cards correctly or modify your DB according this
And I put 2 new options on config.txt
output.replace.space.for.underline = 1|0 (useful to create your own cards to Forge program)
output.split.cards.separated = 1|0 (if you wish to generate transform/split cards as separeted images too, useful to create transform cards in Virtualplaytable)
HQCGenerate.rar
- (41.99 KiB) Downloaded 488 times
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by joollim » 23 Apr 2012, 22:47
don't forget:
cards must have this format in DB:
"Name card","Set","Color","Type","Pow\Tgh","Flavor","Rarity","Cost","legal","if there is one more art of this card, put a number","Artist","Number"
---------------------------------------------------
LEVEL CARDS:
"Name card","Set","Color","Type","Start Pow\Tgh","Flavor","Rarity","Cost","TEXT1a
TEXT1b
...
TEXT1z
[LEVEL a-b] (P2/T2)
TEXT2a
...
TEXT2z
[LEVEL c-d] (P3/T3)
TEXT3a
...
TEXT3z","","Artist","Number"
LEVEL CARD EXAMPLE:
"Guul Draz Assassin","ROE","B","Creature — Vampire Assassin","1\1",,"R","{B}","Level up
{B} #({1}{B}: Put a level counter on this. Level up only as a sorcery.)#
[LEVEL 2-3] (2/2)
,
: Target creature gets -2/-2 until end of turn.
[LEVEL 4+] (4/4)
,
: Target creature gets -4/-4 until end of turn.",,"James Ryman","112\248"
----------------------------------------------
TRANSFORM CARDS:
"Name card day/Name card night","Set","Color day/color night","Type day/type night","Pday\Tday//Pnight\Tnight","Flavor day
//
Flavor night","Rarity","Cost day/","TEXT1 day
TEXT2 day
...
TEXTn day
//
TEXT1 night
...
TEXTm night","","Artist","Number"
TRANSFORM CARD EXAMPLE:
"Loyal Cathar/Unhallowed Cathar","DKA","W/B","Creature — Human Soldier/Creature — Zombie Soldier","2\2//2\1","“I trust myself to do my duty, even unto death. It’s what comes after that I’m afraid of.”
—Constable Visil, to Thalia
//
“Just fight without fear. Your soul is protected by the hand of Avacyn and will never submit to evil.”
—Thalia, to Constable Visil","C","{W}{W}/","Vigilance
When Loyal Cathar dies, return it to the battlefield transformed under your control at the beginning of the next end step.
//
Unhallowed Cathar can’t block.",,"Ryan Pancoast","13\158"
----------------------------------------------
FLIP CARDS:
"no flipped Name card","Set","Color","no flipped Type","P\T","Flavor","Rarity","Cost","TEXT1 no flipped
TEXT2 no flipped
...
TEXTn no flipped
-----
flipped name card
flipped type
flipped P/T (if exist)
TEXT1 Flipped
...
TEXTm Flipped","","Artist","Number"
FLIP CARD EXAMPLE:
"Nezumi Graverobber","CHK","B","Creature — Rat Rogue","2\1",,"U","{1}{B}","{1}{B}: Exile target card from an opponent’s graveyard. If no cards are in that graveyard, flip Nezumi Graverobber.
-----
Nighteyes the Desecrator
Legendary Creature — Rat Wizard
4\2
{B}: Put target creature card from a graveyard onto the battlefield under your control.",,"Jim Nelson","129\307"
cards must have this format in DB:
"Name card","Set","Color","Type","Pow\Tgh","Flavor","Rarity","Cost","legal","if there is one more art of this card, put a number","Artist","Number"
---------------------------------------------------
LEVEL CARDS:
"Name card","Set","Color","Type","Start Pow\Tgh","Flavor","Rarity","Cost","TEXT1a
TEXT1b
...
TEXT1z
[LEVEL a-b] (P2/T2)
TEXT2a
...
TEXT2z
[LEVEL c-d] (P3/T3)
TEXT3a
...
TEXT3z","","Artist","Number"
LEVEL CARD EXAMPLE:
"Guul Draz Assassin","ROE","B","Creature — Vampire Assassin","1\1",,"R","{B}","Level up

[LEVEL 2-3] (2/2)


[LEVEL 4+] (4/4)


----------------------------------------------
TRANSFORM CARDS:
"Name card day/Name card night","Set","Color day/color night","Type day/type night","Pday\Tday//Pnight\Tnight","Flavor day
//
Flavor night","Rarity","Cost day/","TEXT1 day
TEXT2 day
...
TEXTn day
//
TEXT1 night
...
TEXTm night","","Artist","Number"
TRANSFORM CARD EXAMPLE:
"Loyal Cathar/Unhallowed Cathar","DKA","W/B","Creature — Human Soldier/Creature — Zombie Soldier","2\2//2\1","“I trust myself to do my duty, even unto death. It’s what comes after that I’m afraid of.”
—Constable Visil, to Thalia
//
“Just fight without fear. Your soul is protected by the hand of Avacyn and will never submit to evil.”
—Thalia, to Constable Visil","C","{W}{W}/","Vigilance
When Loyal Cathar dies, return it to the battlefield transformed under your control at the beginning of the next end step.
//
Unhallowed Cathar can’t block.",,"Ryan Pancoast","13\158"
----------------------------------------------
FLIP CARDS:
"no flipped Name card","Set","Color","no flipped Type","P\T","Flavor","Rarity","Cost","TEXT1 no flipped
TEXT2 no flipped
...
TEXTn no flipped
-----
flipped name card
flipped type
flipped P/T (if exist)
TEXT1 Flipped
...
TEXTm Flipped","","Artist","Number"
FLIP CARD EXAMPLE:
"Nezumi Graverobber","CHK","B","Creature — Rat Rogue","2\1",,"U","{1}{B}","{1}{B}: Exile target card from an opponent’s graveyard. If no cards are in that graveyard, flip Nezumi Graverobber.
-----
Nighteyes the Desecrator
Legendary Creature — Rat Wizard
4\2

-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by skibulk » 27 Apr 2012, 21:03
I don't have time to make these the right way, but here are some Miracle frames that were posted to MTG Salvation. They're still using the old frames 

- Attachments
-
Miracles.zip
- (5.1 MiB) Downloaded 330 times
-
skibulk - HQ Team Member
- Posts: 995
- Joined: 19 Jul 2010, 20:34
- Location: Northeast USA
- Has thanked: 379 times
- Been thanked: 335 times
Re: Gwar's Tweaked ProxyGen (JTMS, M12 and Commander done!)
by Andy9973 » 30 Apr 2012, 08:44
I just wanted to create the German Griffin Sentinel card (Greifen-Wachposten), but when I do that the "en-" part of the name is printed in Italic. I know that this is because of cards like Outrider en-Kor or Zealot il-Vec from Time Spiral. Is there a way to deactivate that?
Who is online
Users browsing this forum: No registered users and 1 guest