It is currently 19 Apr 2024, 20:24
   
Text Size

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/07)

Postby satsuki » 11 Jan 2016, 22:36

i added driad arbor to the land color and no more bug
for garruk i changed the color in cards.cvs to G instead of Gld and have generated it without bug but no luck with the veil-cursed

yes i render in french.


there's also a bug with the half mana of UNH cards:

Mons's Goblin Waiters [UNH]......
ERROR: Symbol image not found: HalfR
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby ahkren » 11 Jan 2016, 22:57

Here's HalfR.png and HalfW.png put in images/symbols/
Attachments
HalfW.png
HalfW.png (9.49 KiB) Viewed 4404 times
HalfR.png
HalfR.png (10.67 KiB) Viewed 4404 times
Last edited by ahkren on 11 Jan 2016, 23:00, edited 1 time in total.
User avatar
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/07)

Postby satsuki » 11 Jan 2016, 23:00

thanks.
I think for the veil cursed it might be french csv related (i use my own translated files so i can translate all the non officialed translated card)
I'll try tomorrow (need to sleep some hours before go to works
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby satsuki » 11 Jan 2016, 23:02

Seem i spotted a bug with UNH files, the U symbol is displaced:
Image
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby ahkren » 11 Jan 2016, 23:03

This is what I have in my french translated file for Garruk Relentless
Code: Select all
Garruk Relentless,Garruk l'Implacable,Planeswalker : Garruk,"Quand Garruk l'Implacable a deux marqueurs « loyauté » ou moins sur lui, transformez-le.
0 : Garruk l'Implacable inflige 3 blessures à une créature ciblée. Cette créature lui inflige un nombre de blessures égal à sa force.
0 : Mettez sur le champ de bataille un jeton de créature 2/2 verte Loup.
-----
Garruk maudit par le Voile
Planeswalker : Garruk
+1 : Mettez sur le champ de bataille un jeton de créature 1/1 noire Loup avec le contact mortel.
-1 : Sacrifiez une créature. Si vous faites ainsi, cherchez dans votre bibliothèque une carte de créature, révélez-la et mettez-la dans votre main. Mélangez ensuite votre bibliothèque.
-3 : Les créatures que vous contrôlez acquièrent le piétinement et gagnent +X/+X jusqu'à la fin du tour, X étant le nombre de cartes de créature dans votre cimetière."
User avatar
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/07)

Postby ahkren » 11 Jan 2016, 23:05

I'll have to look at UNH, see why that's happening.
User avatar
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/07)

Postby satsuki » 11 Jan 2016, 23:10

I'll try garuk later, for now the generate all running fine ^^

I spotted a bug in dual land text alignment due to the new frame
old:
Image
new:
Image

Of course the new frame is better but the text need to be adjsted to the new frame ^^

(goin to sleep ^^ see you tommorow)
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby ahkren » 11 Jan 2016, 23:13

See you tomorrow.
I'll see what I can do about the centering on the text.
User avatar
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/07)

Postby ahkren » 12 Jan 2016, 02:50

I fixed the Unhinged set symbol placement and the centering of text on the dual lands. Unfortunately it was a bit more code changes than is easy to walk through, so it will be updated with the next release.
User avatar
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/07)

Postby satsuki » 12 Jan 2016, 06:43

Thanks.
I'm at the end of the generate all because it's trying to do the tokens but it seems to have a bug with the tokens generation:
Angel 3/3 [APC]...
ERROR: Unknown art file extension: |


I tested with your garruk version and i got :
Code: Select all
PHP Notice:  Undefined index:  garruk maudit par le voile in D:\Docs\Magic\Softs
\HD cards generator full new\scripts\classes\ImageWriter.php on line 156
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->addCardByTitle() D:\Docs\Magic\Softs\HD cards generator fu
ll new\scripts\misc\generateAll.php:32
PHP   3. ImageWriter->addCard() D:\Docs\Magic\Softs\HD cards generator full new\
scripts\classes\ImageWriter.php:132
PHP   4. ImageWriter->getCardRenderer() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\ImageWriter.php:117
Garruk Relentless [ISD] day...
Garruk Relentless [ISD].........................................................
..................PHP Notice:  Undefined offset:  1 in D:\Docs\Magic\Softs\HD ca
rds generator full new\scripts\classes\renderers\PlanesWalkerRenderer.php on lin
e 133
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  1 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 133
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  1 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 139
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  1 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 140
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  2 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 143
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  2 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 143
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  2 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 149
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
PHP Notice:  Undefined offset:  2 in D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\renderers\PlanesWalkerRenderer.php on line 150
PHP Stack trace:
PHP   1. {main}() D:\Docs\Magic\Softs\HD cards generator full new\scripts\misc\g
enerateAll.php:0
PHP   2. ImageWriter->writeCards() D:\Docs\Magic\Softs\HD cards generator full n
ew\scripts\misc\generateAll.php:33
PHP   3. TransformRenderer->render() D:\Docs\Magic\Softs\HD cards generator full
 new\scripts\classes\ImageWriter.php:263
PHP   4. PlanesWalkerRenderer->render() D:\Docs\Magic\Softs\HD cards generator f
ull new\scripts\classes\renderers\TransformRenderer.php:96
so the rendered card are bugged:
Image
Image

Thanks
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby ahkren » 12 Jan 2016, 07:09

For the planeswalkers change PlaneswalkerRenderer.php add
Code: Select all
$card->legal = str_replace(' : ', ': ', $card->legal);
after line 89
I'll look more into the tokens
User avatar
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/07)

Postby ahkren » 12 Jan 2016, 07:15

It looks like you are using the old token database. Try with the new one that's attached. I changed it a couple versions ago.
Attachments
tokens.rar
(11.65 KiB) Downloaded 226 times
User avatar
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/07)

Postby satsuki » 12 Jan 2016, 16:02

Perfect for garruk
But i have a bug in token generation:

Assembly-Worker [TSP]
ERROR: Symbol image not found: Img├®

(ps: by the way, are you going to do an emblem generator ? i think that's one the only one missing in your great generator)
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

Re: HQ Cardgen M15/8th/Pre8th/Tokens (Updated 2016/01/07)

Postby ahkren » 12 Jan 2016, 17:56

I don't have the non-english characters generated yet for the eighth edition token titles, so for the time being any character that is outside of the letters in the english alphabet will cause errors for tokens in eighth edition. best bet, until I get that fixed, would be to set config.txt output.english.title.on.translated.card to 1 when rendering eighth edition tokens or change the translation file to have the name not have characters outside the english alphabet. Not ideal, but hopefully temporary.
I have plans to do emblems at some point, just not sure when. Still have to finish with getting OGW set up.
User avatar
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/07)

Postby satsuki » 12 Jan 2016, 18:23

Ok no problems.
Waiting for the corrected version i'm going the check all the generated card for bug (loooong works ^^')
It would be great to have a "generate all tokens" bat file ^^ may be usefull for all users

thanks for the hard works
satsuki
 
Posts: 107
Joined: 07 Oct 2012, 08:44
Has thanked: 1 time
Been thanked: 14 times

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 25 guests


Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 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 25 guests

Login Form