Page 1 of 1

New Feature Print Deck and SetInfo

PostPosted: 17 Jan 2011, 18:46
by noracegres
Hi all,

I want to integrate my print deck class function to mtgForge.
At first before I check more closely my program used

#1
The path of the images in the
\res\pics

#2
If the picture his not found I use the url in
\res\pics_link

#3
Finally I use the url of wizard magic the gathering with low res.

But after configuring my svn and checking more closely I saw that all the cards seems to have :

SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/31.jpg


His the SetInfo will replace the url in \res\pics_link method ?
And his it sure that all the cards will have this info ?

Are they the Low Quality pictures that we can download via the menu ?

Thanks to all

Re: New Feature Print Deck and SetInfo

PostPosted: 18 Jan 2011, 02:46
by Rob Cashwalker
check out the CardUtil.buildFilename method for how I attempt to resolve the local file path for set-based images.

There are some problems with some images, like early sets with alternate artwork, and case-sensitivity with Linux.

The URLs for each SetInfo are going to be just backup URLs. I intend for the usual picture downloading to be done through cardforge.org. If cardforge.org goes down, then I'll use the magiccards.info. They use low-qualtiy conversions of the HQ archives in the pictures forum here.

Re: New Feature Print Deck and SetInfo

PostPosted: 18 Jan 2011, 02:49
by noracegres
Thanks Rob I'll check it out.