HQ Card generator 8.x
by Nate and Snacko
Moderators: Snacko, CCGHQ Admins
Re: HQ Card generator 8.x
by joollim » 10 Aug 2011, 17:31
Hi people.
Where could I find Mirran WhiteRed.png? it is missing to generate "Jor Kadeen, the Prevailer".
Someone could upload this image?
Thanks
Where could I find Mirran WhiteRed.png? it is missing to generate "Jor Kadeen, the Prevailer".
Someone could upload this image?
Thanks
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: HQ Card generator 8.x
by BaconCatBug » 10 Aug 2011, 17:45
It should be in /images/eighth/phyrexia
It might just be misnamed. If it isn't, here it is.
It might just be misnamed. If it isn't, here it is.

- Attachments
-
Mirran WhiteRed.png.zip
- (8.26 KiB) Downloaded 643 times
-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by joollim » 10 Aug 2011, 19:51
Thanks Gwar... now, everything is working perfectly.
Taking this opportunity... I have some rarity symbols in gif format and others png format, when I want to generate some cards that use rarity symbols in png format I have to change line 92 of file "HQCG-core-8.2.10.1\scripts\classes\renderers\CardRenderer.php" from getGIF to getPNG function. I don't know how to program in php... is there someway to do this code scan for gif files, if not, try to use png files?
Regards

Taking this opportunity... I have some rarity symbols in gif format and others png format, when I want to generate some cards that use rarity symbols in png format I have to change line 92 of file "HQCG-core-8.2.10.1\scripts\classes\renderers\CardRenderer.php" from getGIF to getPNG function. I don't know how to program in php... is there someway to do this code scan for gif files, if not, try to use png files?
Regards
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: HQ Card generator 8.x
by BaconCatBug » 10 Aug 2011, 20:03
Heh, No idea. D:
You would be best off just downloading my package, it has all the Expansion Symbols in png, and even has optional old style expansion symbols for things like The Dark and Visions.
You would be best off just downloading my package, it has all the Expansion Symbols in png, and even has optional old style expansion symbols for things like The Dark and Visions.

-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by joollim » 11 Aug 2011, 11:45
Hi, Gwar
I achieve to change the code. now it is accepting both gif and png files as rarity symbol.
here is the changed file. replace it in HQCG-core-8.2.10.1\scripts\classes\renderers
I achieve to change the code. now it is accepting both gif and png files as rarity symbol.
here is the changed file. replace it in HQCG-core-8.2.10.1\scripts\classes\renderers
- Attachments
-
CardRenderer.zip
- (1.91 KiB) Downloaded 491 times
-
joollim - Posts: 57
- Joined: 21 Jun 2010, 16:29
- Location: Sao Paulo - Brazil
- Has thanked: 3 times
- Been thanked: 24 times
Re: HQ Card generator 8.x
by Presunto » 30 Aug 2011, 17:47
I'd like to create cards with alternate Frame/name/art and(Ex: Old Frame Batterskul, New Frame power 9) and a custom card set. is it possible to do it using this program ?
- Presunto
- Posts: 2
- Joined: 30 Aug 2011, 17:41
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Card generator 8.x
by BaconCatBug » 30 Aug 2011, 20:52
Yes. There isn't a simple switch as far as I know, but if you open ~/Data/ there should be a text file called sets-pre8th.txt
Simply add the name of the set you want to render from sets.txt (not the Code, the name) to that list, and then render.
Remove sets to render them in Post Eighth frames.
As for Custom cards, simply open cards.csv in a text editing program (preferably Notepad++ or similar) and add your cards there.
Simply add the name of the set you want to render from sets.txt (not the Code, the name) to that list, and then render.
Remove sets to render them in Post Eighth frames.
As for Custom cards, simply open cards.csv in a text editing program (preferably Notepad++ or similar) and add your cards there.
-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by Presunto » 31 Aug 2011, 22:27
Tyvm gwar, just created my own first card =D. I wanted to know i the generator has any tool to make old frame foil symbol or background watermarks like mirran or DCI on custom cards.
- Presunto
- Posts: 2
- Joined: 30 Aug 2011, 17:41
- Has thanked: 0 time
- Been thanked: 0 time
Re: HQ Card generator 8.x
by Snacko » 01 Sep 2011, 10:51
@Presunto
You can disable renderers in config.txt. Then all cards will be rendered with preEighth or modern frames.
If you want some sets to always render with old frames then as Gwar mentioned you add them to sets-pre8th.txt
For custom cards either inject them into cards.csv or use misc/createCard.bat/sh . The script wasn't modified to use watermarks, however if you used the first method then you can use the syntax
1,Ancestral Recall,A,DCI
1,Ancestral Recall,A,PROMO
this will look for images/promo/DCI.png and images/promo/PROMO.png and will try to use a custom rarity symbol DCI_R and PROMO_R or none. Watermarks only work for modern frames.
@Gwar
I made the Eldrazi render correctly and found my really old leveler images that I positioned for the older frames so I might release and update soon.
You can disable renderers in config.txt. Then all cards will be rendered with preEighth or modern frames.
If you want some sets to always render with old frames then as Gwar mentioned you add them to sets-pre8th.txt
For custom cards either inject them into cards.csv or use misc/createCard.bat/sh . The script wasn't modified to use watermarks, however if you used the first method then you can use the syntax
1,Ancestral Recall,A,DCI
1,Ancestral Recall,A,PROMO
this will look for images/promo/DCI.png and images/promo/PROMO.png and will try to use a custom rarity symbol DCI_R and PROMO_R or none. Watermarks only work for modern frames.
@Gwar
I made the Eldrazi render correctly and found my really old leveler images that I positioned for the older frames so I might release and update soon.
Re: HQ Card generator 8.x
by BaconCatBug » 01 Sep 2011, 13:34
Sweet! 
Now make Day/Night cards!
Dance Puppet! Dance! <3

Now make Day/Night cards!
Dance Puppet! Dance! <3
-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by deicidemilan » 15 Sep 2011, 02:25
m8 how to import a masterbase from MWS?Gwar wrote:Yes, you will need to get the cards.csv from Snaco's pack or import a masterbase.
Here is the current masterbase re-imported.
Planechases Set code is HOP btw (i know it's weird).
And if you can tell me how to update cards.csv, because Card generator won't work to me with new edition.
I download and unpacked this last cards.csv but still don't work

-
deicidemilan - Posts: 218
- Joined: 29 Apr 2008, 13:46
- Location: Serbia
- Has thanked: 279 times
- Been thanked: 98 times
Re: HQ Card generator 8.x
by BaconCatBug » 15 Sep 2011, 02:42
Try these.
If they don't work, do the following:
1) Go to misc/import
2) Rename the masterbase Master.cds
3) Run cdsExplorer.bat
4) Open Master.cds
5) Select all the entries by pressing Control+A
6) Right Click and "Save selection as"
7) Save it as ANyFileName.csv
8) Drag that onto mws2cards.bat
If they don't work, do the following:
1) Go to misc/import
2) Rename the masterbase Master.cds
3) Run cdsExplorer.bat
4) Open Master.cds
5) Select all the entries by pressing Control+A
6) Right Click and "Save selection as"
7) Save it as ANyFileName.csv
8) Drag that onto mws2cards.bat
- Attachments
-
Config and Data.zip
- (1.29 MiB) Downloaded 532 times
-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by deicidemilan » 15 Sep 2011, 03:01
I just copy this new stuff you give me, now is better but symbol is problem.
- Code: Select all
Apostle's Blessing [NPH]...*art not found*.
ERROR: Symbol image not found: PW
- Code: Select all
Apostle's Blessing [NPH]...*art not found*..
ERROR: Unable to find font(s): GaramondBI.ttf
- Code: Select all
Line 1: Card not found: Apostle's Blessing
ERROR: Unable to parse decklist: C:/Documents and Settings/Internet/Desktop/Mila
n/New Folder/decks/1.csv
-
deicidemilan - Posts: 218
- Joined: 29 Apr 2008, 13:46
- Location: Serbia
- Has thanked: 279 times
- Been thanked: 98 times
Re: HQ Card generator 8.x
by BaconCatBug » 15 Sep 2011, 06:03
Download the zips from my thread. It'll contain all the images and fonts you need.
-
BaconCatBug - Apprentice
- Posts: 253
- Joined: 17 Dec 2010, 12:13
- Has thanked: 6 times
- Been thanked: 41 times
Re: HQ Card generator 8.x
by deicidemilan » 15 Sep 2011, 06:26
I fix problem with font!, just renameGwar wrote:Download the zips from my thread. It'll contain all the images and fonts you need.

So I have few more

When start only you folder Gwars Tweaked and Customised Proxygen I have this error.
Problem in line 227 and 68.WARNING: Unable to locate art directory: /PATH/TO/ART/GOES/HERE/YO
Loading card data..................PHP Notice: Undefined offset: 8 in C:\Users
\Milan Djekic\Desktop\Gwars Tweaked and Customised Proxygen (10-07-2011)\scripts
\classes\CardDB.php on line 227
.........................
PHP Notice: Undefined offset: 1 in C:\Users\Milan Djekic\Desktop\Gwars Tweaked
and Customised Proxygen (10-07-2011)\scripts\includes\global.php on line 68
Parsing decklist: Krark Clan Ironworks...
Generating images...
Krark-Clan Ironworks [5DN]...*art not found*...PHP Notice: Undefined offset: 1
in C:\Users\Milan Djekic\Desktop\Gwars Tweaked and Customised Proxygen (10-07-2
011)\scripts\includes\global.php on line 68
I have win 7!
And thx for teaching me this stuff

-
deicidemilan - Posts: 218
- Joined: 29 Apr 2008, 13:46
- Location: Serbia
- Has thanked: 279 times
- Been thanked: 98 times
Who is online
Users browsing this forum: No registered users and 10 guests