HQ Card generator 8.x
by Nate and Snacko
Moderators: Snacko, CCGHQ Admins
Re: HQ Card generator 8.x
by satsuki » 13 Oct 2012, 19:48
Thanks for anwsering, it seems it's my computer related....
Re: HQ Card generator 8.x
by satsuki » 13 Oct 2012, 20:39
bug spoted.
in my sets.txt most of the recents extentions aren't referenced, so the cards database simply don't use them ....
just need to update the sets.txt
in my sets.txt most of the recents extentions aren't referenced, so the cards database simply don't use them ....
just need to update the sets.txt
Re: HQ Card generator 8.x
by satsuki » 14 Oct 2012, 17:23
I keep geting error because i miss updated titleToLandColors.csv (bug "ERROR: Land color missing for card:").
Also on the extentions i added to sets.txt the rarity symbol doesn't show up (but exist in the folder \images\eighth\rarity).
Have you updated those files (i might have missed them)
Thanks a lot, your software i realy great, i just miss some updated files ^^
[I'm so stupid, i haven't donwloaded the source file, i thought it whas the source code of the software and not the software base files ^^, sorry for all that]
Also on the extentions i added to sets.txt the rarity symbol doesn't show up (but exist in the folder \images\eighth\rarity).
Have you updated those files (i might have missed them)
Thanks a lot, your software i realy great, i just miss some updated files ^^
[I'm so stupid, i haven't donwloaded the source file, i thought it whas the source code of the software and not the software base files ^^, sorry for all that]
Re: HQ Card generator 8.x
by satsuki » 14 Oct 2012, 21:51
ok, now i'm generating all the cards.
the only bug a have so far (about 1900card generated) is with some PLC cards, it's stopping the script with:
the only way i've found to bypass this error is to delete the card entry in cards.csv
Thanks again, it's making awersome hq card
the only bug a have so far (about 1900card generated) is with some PLC cards, it's stopping the script with:
- Code: Select all
"Bog Serpent [PLC]...PHP Notice: Undefined index: layout - timeshifted in D:\Perso\Magic\Softs\HD cards generator\scripts\classes\renderers\EighthRenderer.php on line 267
PHP Warning: array_merge(): Argument #2 is not an array in D:\Perso\Magic\Softs\HD cards generator\scripts\classes\renderers\EighthRenderer.php on line 267
.PHP Notice: Undefined index: layout - timeshifted in D:\Perso\Magic\Softs\HD cards generator\scripts\classes\renderers\EighthRenderer.php on line 267
PHP Warning: array_merge(): Argument #2 is not an array in D:\Perso\Magic\Softs\HD cards generator\scripts\classes\renderers\EighthRenderer.php on line 267
ERROR: Font not found: font.pt"
the only way i've found to bypass this error is to delete the card entry in cards.csv
Thanks again, it's making awersome hq card
Re: HQ Card generator 8.x
by Snacko » 14 Oct 2012, 22:05
You didn't update the config files. There were changes in some of them. Mainly in eight and planeswalker.
Re: HQ Card generator 8.x
by satsuki » 14 Oct 2012, 22:16
thanks but i have all re-downloaded again and get the same error.
here's my 8 config files:
here's my 8 config files:
- | Open
- [prompt]
[card generation]
card.timeshifted.frames = PLC
card.multicolor.frames = ;4,5
card.multicolor.land.frames = 2
card.multicolor.fetch.land.frames = 1
card.multicolor.dual.borders = 1
card.multicolor.grey.title.and.type = 1
card.artifact.color = 1,2
card.basic.land.set.symbols = 1
card.dual.land.symbols = 1
card.artist.gears = 0
[fonts]
font.text = 28, MPlantin.ttf/MPlantinI.ttf, leading:28
font.artist = 22, MatrixB.ttf>GaramondB.ttf
font.copyright = 13, MPlantin.ttf
[fonts - regular]
font.title = 35, MatrixB.ttf/MatrixBI.ttf>GaramondB.ttf/GaramondBI.ttf
font.type = 30, MatrixB.ttf>GaramondB.ttf
font.pt = 36, MatrixBSmallCaps.ttf>GaramondB.ttf, centerY:true centerX:true
[fonts - timeshifted]
font.title = 35, MatrixB.ttf>GaramondB.ttf, color:255,255,255 shadow:true
font.type = 30, MatrixB.ttf>GaramondB.ttf, color:255,255,255 shadow:true
font.pt = 36, MatrixBSmallCaps.ttf>GaramondB.ttf, centerY:true centerX:true color:255,255,255 shadow:true
[fonts - miracle]
font.title = 35, MatrixB.ttf/MatrixBI.ttf>GaramondB.ttf/GaramondBI.ttf
font.type = 30, MatrixB.ttf>GaramondB.ttf
font.pt = 36, MatrixBSmallCaps.ttf>GaramondB.ttf, centerY:true centerX:true
[fonts - transform-day]
font.title = 35, MatrixB.ttf/MatrixBI.ttf>GaramondB.ttf/GaramondBI.ttf
font.type = 30, MatrixB.ttf>GaramondB.ttf
font.pt = 36, MatrixBSmallCaps.ttf>GaramondB.ttf, centerY:true centerX:true
font.pt.transform = 25, MatrixBoldSmallCaps.ttf>GaramondB.ttf, centerY:true alignRight:true
[fonts - transform-night]
font.title = 35, MatrixB.ttf/MatrixBI.ttf>GaramondB.ttf/GaramondBI.ttf, color:255,255,255
font.type = 30, MatrixB.ttf>GaramondB.ttf, color:255,255,255
font.pt = 36, MatrixBSmallCaps.ttf>GaramondB.ttf, centerY:true centerX:true color:255,255,255
[layout - flip]
art.top = 315
art.left = 42
art.bottom = 689
art.right = 692
pt.upper.center.x = 655
pt.upper.center.y = 275
pt.upper.width = 72
type.upper.y = 290
text.upper.top = 107
text.upper.bottom = 242
pt.lower.center.x = 655
pt.lower.center.y = 320
pt.lower.width = 72
title.lower.y = 123
type.lower.y = 333
text.lower.top = 152
text.lower.bottom = 286
rarity.center.y = 1007
[layout - miracle]
[layout - transform-day]
title.x = 105
pt.transform.center.x = 610
pt.transform.center.y = 935
pt.transform.width = 80
[layout - transform-night]
title.x = 105
type.x = 87
type.art.x = 52
[layout - regular]
title.x = 43
title.y = 78
cost.right = 696
cost.top = 48
cost.top.dual = 47
cost.size = 35
art.top = 104
art.left = 42
art.bottom = 584
art.right = 692
type.x = 52
type.y = 635
rarity.center.y = 623
rarity.right = 696
rarity.height = 45
rarity.width = 0
text.top = 667
text.left = 50
text.bottom = 956
text.right = 687
text.pt.height.adjust = 14
pt.center.y = 983
pt.center.x = 631
pt.width = 114
artist.x = 38;95
artist.y = 1006
copyright.x = 39
copyright.y = 1030
Re: HQ Card generator 8.x
by Snacko » 14 Oct 2012, 22:19
Guess it was error on my part you need to edit eight config and add timeshifted an empty [layout - timeshifted] like [layout - miracle].
Thanks for testing, I hope there aren't more serious bugs around, and it can be packaged and released as stable.
I updated the sources to fix it.
Thanks for testing, I hope there aren't more serious bugs around, and it can be packaged and released as stable.
I updated the sources to fix it.
Re: HQ Card generator 8.x
by satsuki » 14 Oct 2012, 22:27
Ok that's working great with this modification, thanks.
It's the only bug i add so far, i'll confirm you if it's all right when the generate all will end (probably in some hours)
It's the only bug i add so far, i'll confirm you if it's all right when the generate all will end (probably in some hours)
Re: HQ Card generator 8.x
by satsuki » 15 Oct 2012, 07:51
so far (about 4000 card generated):
-Some land are not referenced in titleToLandColors.csv ("city of ass" for exemple).
-Error of background color with "Civilized Scholar [ISD]" and others 2 colored transform cards ("ERROR: Background image not found for color "Gld" in frame dir: transform-day"), it's a blue card and it's transform side is red but it's referenced as gld in cards.csv. (it would be better to reference the card and it's transformation as 2 differents entrys in cards.csv like in french-oracle.csv)
-In cards-french-Oracle.csv the dual card (fire/ice), are text splitted with "//" instead of "-----" so the card image is messed up.
i'll report you any other bug (if any) as soon as the card generation will be completed
-Some land are not referenced in titleToLandColors.csv ("city of ass" for exemple).
-Error of background color with "Civilized Scholar [ISD]" and others 2 colored transform cards ("ERROR: Background image not found for color "Gld" in frame dir: transform-day"), it's a blue card and it's transform side is red but it's referenced as gld in cards.csv. (it would be better to reference the card and it's transformation as 2 differents entrys in cards.csv like in french-oracle.csv)
-In cards-french-Oracle.csv the dual card (fire/ice), are text splitted with "//" instead of "-----" so the card image is messed up.
i'll report you any other bug (if any) as soon as the card generation will be completed
Re: HQ Card generator 8.x
by Strainer » 16 Oct 2012, 10:11
I also did some testing with the new version, here is what I found:
Short text on split cards is not centered correctly (For Example Pain/Suffering and Wax/Wane)
I was missing some fonts in your package but could just copy them from Gwar's version
A lot of Basic Lands are not rendered (approximately one of every type in every set, don't know why this happens)
Otherwise this is awesome work, already started to rerender some sets for the Remake Editions.
Thanks
Short text on split cards is not centered correctly (For Example Pain/Suffering and Wax/Wane)
I was missing some fonts in your package but could just copy them from Gwar's version
A lot of Basic Lands are not rendered (approximately one of every type in every set, don't know why this happens)
Otherwise this is awesome work, already started to rerender some sets for the Remake Editions.
Thanks
Re: HQ Card generator 8.x
by Snacko » 16 Oct 2012, 13:27
@satsuki
* only missing lands should be from Unglued and Unhinged
* I've fixed the forced colors for those 3 cards, also atm to render the gold flip card you have to rename the day / night card frames to Gld; this should be done proper later to include a true Gld frame + BR overlay
* I also found that some split cards have only one part in cards-french-Oracle.csv
@Strainer
There was a bug with newlines in split cards
best I can do atm is like this, it's consistent with pre and port 8th renderers
For a full on proper cards they would require a new proper split frames (no one complained so far!) and an option to center multi line text, which I might add but not anytime soon.
As for fonts I'll update the package with the newer versions, however I don't include the pay fonts.
Do you have a sample deck which doesn't render the lands? Otherwise i'll try blindly to reproduce this.
* only missing lands should be from Unglued and Unhinged
* I've fixed the forced colors for those 3 cards, also atm to render the gold flip card you have to rename the day / night card frames to Gld; this should be done proper later to include a true Gld frame + BR overlay
* I also found that some split cards have only one part in cards-french-Oracle.csv
@Strainer
There was a bug with newlines in split cards
best I can do atm is like this, it's consistent with pre and port 8th renderers
For a full on proper cards they would require a new proper split frames (no one complained so far!) and an option to center multi line text, which I might add but not anytime soon.
As for fonts I'll update the package with the newer versions, however I don't include the pay fonts.
Do you have a sample deck which doesn't render the lands? Otherwise i'll try blindly to reproduce this.
Re: HQ Card generator 8.x
by satsuki » 16 Oct 2012, 14:47
so far (18000 car generated) here's the missing land entries (not only ug or uh lands)
City of Ass
Evolving Wilds
Eye of Ugin
Kessig Wolf Run
Phyrexia's Core
R&D's Secret Lair
Terramorphic Expanse
City of Ass
Evolving Wilds
Eye of Ugin
Kessig Wolf Run
Phyrexia's Core
R&D's Secret Lair
Terramorphic Expanse
Re: HQ Card generator 8.x
by satsuki » 17 Oct 2012, 08:27
Ok, all card generated, no new bug ^^.
The missing land list color above is complete
The missing land list color above is complete
Re: HQ Card generator 8.x
by satsuki » 19 Oct 2012, 20:04
Checked the whole generated card (took some time) and the day/night card don't works with french-oracle.csv.
The day cards are well generated but the night cards are not.
I search too the correct crop for eldrazi card and for the planeswalkers, if you have them ^^
Thanks again and again, be able to generate HQ cards in french is realy a good thing for my "english-noobs" friends
The day cards are well generated but the night cards are not.
I search too the correct crop for eldrazi card and for the planeswalkers, if you have them ^^
Thanks again and again, be able to generate HQ cards in french is realy a good thing for my "english-noobs" friends
Re: HQ Card generator 8.x
by deurk » 19 Oct 2012, 23:27
Where did you get the updated french-oracle.csv file? I'd be interested in it!
Who is online
Users browsing this forum: No registered users and 18 guests