It is currently 04 May 2025, 09:32
   
Text Size

HQ Card generator 8.x

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

Re: HQ Card generator 8.x

Postby Snacko » 12 Sep 2009, 08:33

Sure I'll upload it to the mediafire folder and ask Goblin Hero to get it up on the page in here.

Did you use the old one I made for linux + wine (easily edited for native php) from here as base ?
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: HQ Card generator 8.x

Postby jendave » 13 Sep 2009, 03:37

I sent the files in a message. Thanks! I did not really use the wine-based scripts. Since php runs fine using Macports, I felt a "native" solution was best.
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: HQ Card generator 8.x

Postby OniNoKami » 15 Sep 2009, 21:17

I downloaded the latest version 8.2.10. I got this from this page http://www.slightlymagic.net/hqpics/4-mtg/13-hqcg. I downloaded all the files found in that page.

When I try to generate pages, I get an error. The error is "PHP Fatal Error: Call to undefined function readInt(). Below is the screenshot
untitled.JPG


The computer that I am using has Windows XP 64 bit installed and the file that I selected is a .dec file.

Also can someone point me to the wiki, from the previous post that I have read I believe there is wiki for the Card generator.

Thank you for any help that you can provide
OniNoKami
 
Posts: 4
Joined: 15 Sep 2009, 21:10
Has thanked: 0 time
Been thanked: 0 time

Re: HQ Card generator 8.x

Postby Snacko » 15 Sep 2009, 21:38

I've fixed it, but most likely it's not what you wanted. The dec format the generator expects is MTGO binary format, which most likely is not what you want.

If you have an Apprentice dec file you should convert it to mws / csv deck file, which you can then feed to the deckbuilder.

Wiki http://www.slightlymagic.net/wiki/CardGenerator pretty much mirrors the first post (they can get out of sync) viewtopic.php?f=30&t=465
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: HQ Card generator 8.x

Postby OniNoKami » 17 Sep 2009, 22:22

How do I tell the program the directory to where the pics are located. I edited the config.txt and placed the directory there. See below

[cropped art]
art.random = 0
art.keep.aspect.ratio = 1
art.directory = C:\mtg\pics
art.extension = jpg
art.error.when.missing = 0
art.debug = 0
But when I run the generatePages.bat I get an "art not found" error

I read the readme file and it did not say anything about this.

Thanks!
OniNoKami
 
Posts: 4
Joined: 15 Sep 2009, 21:10
Has thanked: 0 time
Been thanked: 0 time

Re: HQ Card generator 8.x

Postby Snacko » 18 Sep 2009, 15:27

Picutres use MWS directory structure
C:\mtg\pics\[setname]\[cardname].jpg

For example
C:\mtg\pics\M10\Angel's Mercy.jpg

It's the directory structure you get automatically if you use the HQ crops from this forum viewtopic.php?f=15&t=445
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: HQ Card generator 8.x

Postby Snacko » 19 Sep 2009, 21:25

I've been fiddling with the planes renderer (takes less time to cut than futureshifted, but that will be done too at some point), however it uses quite low quality frames.
Here's a sample:
Image
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: HQ Card generator 8.x

Postby Huggybaby » 20 Sep 2009, 01:57

That looks cool Snacko, plenty high quality.

Why not use our UHQ pics for frameage if you want more?
User avatar
Huggybaby
Administrator
 
Posts: 3225
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 734 times
Been thanked: 601 times

Re: HQ Card generator 8.x

Postby staggerwingjtstw » 20 Sep 2009, 10:58

If it weren't for my wife, Snacko, I would love you...
I like being bad... it makes me happy...
User avatar
staggerwingjtstw
 
Posts: 181
Joined: 31 May 2008, 18:03
Has thanked: 3 times
Been thanked: 1 time

Re: HQ Card generator 8.x

Postby jendave » 01 Oct 2009, 16:23

In the "native.tar.gz" file, the generateCards-decklist.sh file appears to be corrupt. It should be a text file containing the lines:

Code: Select all
#!/bin/sh
./php/run.sh scripts/generate.php pagedOutput=false decklistOnlyOutput=true $*
Dave
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: HQ Card generator 8.x

Postby Snacko » 03 Oct 2009, 20:27

I'll check it out and reupload.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: HQ Card generator 8.x

Postby OniNoKami » 05 Oct 2009, 22:52

How do you guys print the generated images so that they fit in card sleeves with cards in the sleeves?

Currently, when I print it the print out is larger than the actual magic card size.
OniNoKami
 
Posts: 4
Joined: 15 Sep 2009, 21:10
Has thanked: 0 time
Been thanked: 0 time

Re: HQ Card generator 8.x

Postby Nyth » 06 Oct 2009, 06:48

Sounds silly, but I crop the pics out of the generated page and then place them in my MWS pics folder. Then I open up MWS, select the cards I want to print and print proxies from there. MWS resizes them as necessary.

I know it requires a bit of fiddling about and backing up the pictures in the MWS pics directory but it works and is the quickest way for me. Also, it helps that the cards end up with the latest Oracle wording so when I'm printing proxies of old cards for EDH decks, other newer players understand the actual function of the cards. Hope this helps... Oh, and the size your pics end up when cropped out of the page is 736x1050.
User avatar
Nyth
HQ Team Member
 
Posts: 331
Joined: 13 Jul 2008, 11:58
Location: Dubai, United Arab Emirates
Has thanked: 49 times
Been thanked: 70 times

Re: HQ Card generator 8.x

Postby odino182 » 12 Oct 2009, 06:51

any news about update of zendikar card italian language? i really don't know how do it myself. ty
odino182
 
Posts: 42
Joined: 25 Jun 2008, 13:11
Has thanked: 3 times
Been thanked: 1 time

Re: HQ Card generator 8.x

Postby Snacko » 12 Oct 2009, 16:23

I suppose I'll have all the languages up to ZEN and planes by the end of the week.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

PreviousNext

Return to HQ Card Generator

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (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 1 guest

Login Form