It is currently 30 Oct 2025, 02:39
   
Text Size

New Feature Print Deck and SetInfo

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

New Feature Print Deck and SetInfo

Postby 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
noracegres
 
Posts: 7
Joined: 28 Dec 2010, 13:39
Has thanked: 0 time
Been thanked: 0 time

Re: New Feature Print Deck and SetInfo

Postby 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.
The Force will be with you, Always.
User avatar
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

Postby 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


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 16 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 16 guests

Login Form