New Feature Print Deck and SetInfo
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
3 posts
• Page 1 of 1
New Feature Print Deck and SetInfo
by noracegres » 17 Jan 2011, 18:46
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
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
- noracegres
- Posts: 7
- Joined: 28 Dec 2010, 13:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Feature Print Deck and SetInfo
by Rob Cashwalker » 18 Jan 2011, 02:46
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.
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.
The Force will be with you, Always.
-

Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Feature Print Deck and SetInfo
by noracegres » 18 Jan 2011, 02:49
Thanks Rob I'll check it out.
- noracegres
- Posts: 7
- Joined: 28 Dec 2010, 13:39
- Has thanked: 0 time
- Been thanked: 0 time
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 16 guests