HQ Cardgen M15/8th/Pre8th/Tokens/Emblem (Updated 2018/01/29)
by Nate and Snacko
Moderators: Snacko, CCGHQ Admins
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by satsuki » 02 Feb 2016, 20:24
Cool, gona test it ^^ (there's the same bug with FUT card title and type while you're at it ^^)
By the way, in the text size there's a thing in M15 witch could be optimised.
In the creature the space left from P/T is never user on cards:
And the fut text box seem a little too big (the text is sometime of limit left down
By the way, in the text size there's a thing in M15 witch could be optimised.
In the creature the space left from P/T is never user on cards:
And the fut text box seem a little too big (the text is sometime of limit left down
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by satsuki » 02 Feb 2016, 20:48
I'm in special card check and found a bug in the Naughty/Nice card:
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 02 Feb 2016, 23:24
Futureshifted title fix, add
I've corrected the dimensions of futureshifted text box.
M15 card text boxes have to be short a bit so it doesn't write on the P/T box. There is no image wrap in PHP that I have found, so the bounding box ends up a bit short. Still looking on better ways to do it.
Promos are a bit of a pain in my ass at the moment. I've got some fixed in titleToAltSet.csv, but I have to find a way to have specific cards with the same set symbol with hit different renderers.
For the holiday cards, add
- Code: Select all
$costLeft = 688;
I've corrected the dimensions of futureshifted text box.
M15 card text boxes have to be short a bit so it doesn't write on the P/T box. There is no image wrap in PHP that I have found, so the bounding box ends up a bit short. Still looking on better ways to do it.
Promos are a bit of a pain in my ass at the moment. I've got some fixed in titleToAltSet.csv, but I have to find a way to have specific cards with the same set symbol with hit different renderers.
For the holiday cards, add
- Code: Select all
Naughty/Nice,HHL,Greg Staples,,MIN,R,HH 2012
Naughty,HHL,Greg Staples,,MIN,R,HH 2012
Nice,HHL,Greg Staples,,MIN,R,HH 2012
Mishra's Toy Workshop,H14,Jung Park,,MIN,M,1\1
Goblin Sleigh Ride,H15,Jung Park,,MIN,M,1\1
Evil Presents,HHL,Paul Bonner,,MIN,R,HH 2008
Fruitcake Elemental,HHL,Darrell Riche,,MIN,U,HH 2006
Gifts Given,HHL,Jason Chan,,MIN,U,HH 2007
Season's Beatings,HHL,Kev Walker,,MIN,R,HH 2009
Snow Mercy,HHL,rk post,,,,HH 2010
Stocking Tiger,HHL,Terese Nielsen,,MIN,R,HH 2013
Yule Ooze,HHL,Steve Prescott,,MIN,R,HH 2011
- Code: Select all
,HHL,H14,H15
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by satsuki » 03 Feb 2016, 08:02
thanks for your answer, i understand that promo and special card won't be easy to do and it's not that important at time, i'm just reporting to you all the special case a found ^^.
i'm on the way of checking cards to found bug (looong process) and i'll wait your next release to generate all again ^^
by the way have you found why with the same amount of text some card have a différent textsize ? (http://www.slightlymagic.net/forum/viewtopic.php?f=30&t=17795&start=165#p192161)
i'm on the way of checking cards to found bug (looong process) and i'll wait your next release to generate all again ^^
by the way have you found why with the same amount of text some card have a différent textsize ? (http://www.slightlymagic.net/forum/viewtopic.php?f=30&t=17795&start=165#p192161)
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 03 Feb 2016, 08:48
Still haven't found the answer to that yet.
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by rodolmedo » 05 Feb 2016, 00:21
hello, how can i add the "dots" on the options of "spanish crux of fate"?
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by satsuki » 05 Feb 2016, 00:43
you need to edit the cards.spanish.csv as follow (french sample):
- Code: Select all
"Consuming Sinkhole","Doline dévorante","Éphémère","Carence #(Cette carte n'a pas de couleur.)#
Choisissez l'un —
• Exilez une créature-terrain ciblée.
• La Doline dévorante inflige 4 blessures au joueur ciblé."
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 05 Feb 2016, 04:59
I believe I fixed the issues with Spanish bullet points. See attached.
- Attachments
-
- cards-spanish.rar
- (411.9 KiB) Downloaded 199 times
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by Tons » 05 Feb 2016, 18:16
Hi again my friends. Until now i was running your (great) card-gen in my old wxp machine. Today i´ve tried to do it in my w7 64b machine, and it´s returned me a CLI error concerning to php.exe (v. 5.2.9.9) and relating to ntdll.dll (v. 6.1.7601.19045):
-Application error path: E:\Magic\cardgen-9.0.12\php\php.exe
-Module error path: C:\Windows\SysWOW64\ntdll.dll
It seems that Jahill got the same or similar problem some moths ago (19 nov 2015) ¿Any idea about it? Thanks in advance.
-Application error path: E:\Magic\cardgen-9.0.12\php\php.exe
-Module error path: C:\Windows\SysWOW64\ntdll.dll
It seems that Jahill got the same or similar problem some moths ago (19 nov 2015) ¿Any idea about it? Thanks in advance.
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 05 Feb 2016, 20:40
From the information that I can gather, it's possible that the cli is hooking to a different bit (32->64 or 64->32) of ntdll.dll. Why this is happening, I couldn't say. You may want to check http://stackoverflow.com/ or https://bugs.php.net/ to see if someone else has a fix.
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by Tons » 05 Feb 2016, 22:23
As always, thank you very much for your information, ahkren.
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 06 Feb 2016, 00:34
I've moved the programming talk to a git repository for easier bug testing, satsuki is helping with the testing. I'll still be posting release versions here.
Feel free to offer enhancement suggestions or problems you encounter here. I will answer when I can.
Feel free to offer enhancement suggestions or problems you encounter here. I will answer when I can.
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by shelldell » 11 Feb 2016, 16:50
Minor correction for v9.0.12:
Cavern of Souls should use a gold border instead of a grey border: in data/titleToLandColors.csv cell B56: "C" --> "A"
---
Additionally, can anyone offer a walkthrough on how to properly generate cards with non-traditional art-crop sizes such as Planeswalkers & Zendikar Expeditions? I'm guessing you need a scan of the full original art?
Cheers
Cavern of Souls should use a gold border instead of a grey border: in data/titleToLandColors.csv cell B56: "C" --> "A"
---
Additionally, can anyone offer a walkthrough on how to properly generate cards with non-traditional art-crop sizes such as Planeswalkers & Zendikar Expeditions? I'm guessing you need a scan of the full original art?
Cheers
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by ahkren » 12 Feb 2016, 02:54
Cavern of Souls is corrected for next version.
Planeswalkers are 2 art pieces, *PWName*.jpg and *PWName*-overlay.png, the overlay gets put on after the border, so it is on top. You'll need the full art files for the large art pieces (Planeswalkers, Expeditions, Game Day, etc.) if you want them to look right.
Planeswalkers are 2 art pieces, *PWName*.jpg and *PWName*-overlay.png, the overlay gets put on after the border, so it is on top. You'll need the full art files for the large art pieces (Planeswalkers, Expeditions, Game Day, etc.) if you want them to look right.
-
ahkren - Programmer
- Posts: 316
- Joined: 18 Jan 2012, 20:43
- Has thanked: 50 times
- Been thanked: 201 times
Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/30)
by shelldell » 12 Feb 2016, 15:43
Thanks for the clarification on the planeswalkers art.
---
After several confusing trips to the printer trying to figure out why my cards were always too large or too small, I've realized why I'm having so much trouble: there is a sizing discrepancy between pre and post M15 formats.
I've attached a picture of two real land cards, an Island from SOM and a Plains from ORI.
Next, I've generated the same two cards (ignore the missing plains art) at 0 border, 0 offset.
It looks like the post-M15 cards have too much border built into them, squishing the interior. Looking at the real life cards the post-M15 plains actually has a narrower border along the top and sides than the pre-M15 cards. As a result the post-M15 cards come out much smaller once printed and trimmed if I base my sizing configs on pre-M15, and if I try to fit the post-M15 correctly the pre-M15 are too large.
If need be I can work around this by finding appropriate border/offset settings to print each at the correct size, building my lists separated by card format, but if you have time to look into this that would simplify things quite a bit .
Thanks again, ahkren!
---
After several confusing trips to the printer trying to figure out why my cards were always too large or too small, I've realized why I'm having so much trouble: there is a sizing discrepancy between pre and post M15 formats.
I've attached a picture of two real land cards, an Island from SOM and a Plains from ORI.
Next, I've generated the same two cards (ignore the missing plains art) at 0 border, 0 offset.
It looks like the post-M15 cards have too much border built into them, squishing the interior. Looking at the real life cards the post-M15 plains actually has a narrower border along the top and sides than the pre-M15 cards. As a result the post-M15 cards come out much smaller once printed and trimmed if I base my sizing configs on pre-M15, and if I try to fit the post-M15 correctly the pre-M15 are too large.
If need be I can work around this by finding appropriate border/offset settings to print each at the correct size, building my lists separated by card format, but if you have time to look into this that would simplify things quite a bit .
Thanks again, ahkren!
Who is online
Users browsing this forum: No registered users and 4 guests