It is currently 14 Dec 2018, 05:02
   
Text Size

HQCG mtgimage mod

by Nate and Snacko

Moderators: Snacko, CCGHQ Admins

HQCG mtgimage mod

Postby keatonic » 19 Jun 2014, 18:23

I have modified HQCG to pull the images from mtgimage com instead of a local crops folder. This is more convenient, but also slows down generation of the images a bit.

I forked Gilfar's cardgen on Github and modified it at github com/KeatonDM/cardgen

Known issues:
Cards with multiple art, i.e. Strip Mine from ATQ, do not work.

Incoming Features:
Use mtgjson com instead of CSV masterbase.

Feel free to open any issues or pull requests on GitHub.
keatonic
 
Posts: 3
Joined: 06 Jul 2013, 23:39
Has thanked: 0 time
Been thanked: 1 time

Re: HQCG mtgimage mod

Postby Huggybaby » 26 Jun 2014, 00:31

That's very cool, thanks keatonic!
User avatar
Huggybaby
Administrator
 
Posts: 3077
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 574 times
Been thanked: 572 times

Re: HQCG mtgimage mod

Postby streetmonk » 01 Sep 2014, 08:01

Couldn't open an issue on GitHub.

Sorry for the weird post here....

New to GitHub. I just set up everything tonight. Forgive my newbieness.

Won't find basic land, generates blanks, no real issue, but weird.

Won't find Wear/Tear, Chandra, Pyromaster, Ajani Mentor of Heroes

Errors out, no output.

-Streetmonk
streetmonk
 
Posts: 1
Joined: 01 Sep 2014, 07:44
Has thanked: 0 time
Been thanked: 0 time

Re: HQCG mtgimage mod

Postby Kapoue » 01 Sep 2014, 20:53

The issue with basics will be the same as the commons with multiple images from Homelands/Alliances. The program will look for a name like Forest1.jpg and the image will be named Forest 1.jpg or Forest(1).jpg. Just verify the names.

The fused cards dont have a frame so they wont work. Like ever :( Unless we find a frame for them.

And we'll always have problems with the planewalkers since their images go over the frame on one side and under on the other.

I made all the images work with mtgimage IF you don't have the image in your crop folder.
Attachments
cardgenKapoue.zip
(7.94 MiB) Downloaded 1026 times
Kapoue
 
Posts: 66
Joined: 14 Sep 2012, 14:58
Has thanked: 1 time
Been thanked: 0 time

Re: HQCG mtgimage mod

Postby merlinos » 04 Sep 2014, 11:55

Hi everybody,

thanks a lot for all your good work!!! really appreciate!

I feel a little dumb because I downloaded from /KeatonDM/cardgen" all the files.....but when I put a mws deck on the bat....nothing happen! I dont understand what I'm doing wrong.....

It's a bit weird because in the baconcatbugs files there are more files: php, output,etc.....

So what can i do to make this goodie works???

regards
merlinos
 
Posts: 3
Joined: 11 Nov 2013, 22:56
Has thanked: 0 time
Been thanked: 0 time


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 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 1 guest

Login Form