Re: MTG Gatherer Downloader
Posted: 12 Oct 2010, 13:44
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=96&t=2986
Thats due to the gatherer not containing the images for that language. To verify if images in a specific language are available goto the gatherer. Use the search capability to locate a card from the set you are pulling. Click on the card to view the card details. Click the "languages" tab in the card details pane. Then click the name of the card in the language you are trying to pull. This will show you the card details (along with image) of that card in the the selected language. If there is an image you should get it. Otherwise wizards puts an image of the card backing on the page. See http://gatherer.wizards.com/Pages/Card/ ... eid=224940 as an example.dairou wrote:Great app, thanks!
However i have a problem... I downloaded all M10 images in spanish and it worked perfectly. Then I tried with M11 and got only the backs of the cards. See image please:
. The only thing i did different was use the .reg file in an attempt to stop the script warnings.
Any ideas?
This does make me wonder if all the cards that don't have pictures download the same multiverseid. This probably is the case. If so I can work in something that checks to see if the multiverseid is the card backing and warn about the images not being available rather than download useless back images. Hmm... something on my todo listdairou wrote:I thought so but i wasn't sure.
Thanks for the quick reply! Great work!
Yea I've never been to happy with the current UI but a UI redesign has always been low on my lists of things to complete. A checkbox for the sets most likely wont happen for 2 reasons. First, (probably most important) running out of screen space with all the current options. Judging by your screenshot you use a larger resolution. I however have a netbook . Second, there's no way for me to dynamicly add checkboxes (atleast not that I am aware of at the moment). I'll keep it in mind though.dairou wrote:Awesome . I also think a check list (rather than a single selection) for the set selection list would be great
Thanks, I try and improve on it any way that I can. As long as the gatherer doesnt update there format it should work for a long time coming.(with minor set info updating)dairou wrote:^That would be even better haha. Anyway, this is a great piece of software
The way the hta works is first there is an internal array that stores the set name, url to the gatherer for the set information, path expected by the magic album application and a depriciated variable (to be removed next release) of how many pages on the gatherer there is per set information, and set abbreviation. There also is a dropdown (select) list that stores the language names to language 3 letter abbreviations.Godleydemon wrote:how is this program pulling the server information and translating it to where the pictures are supposed to go. IE what is the server path to the pictures and are you using the classic abbreviation for the set folder names? If so, this can be used in conjunction with the old MWSPA with some of my minor tweaks. I've been able to add in all of the sets, I've been using unreliable servers to pull the information. But when trying to pull the information from your server from MWSPA it comes back an error. So, I was wondering if I could get the server path. I don't like torrents or rapid share <.< and I'm being stubborn about it.
What server are you refering to, I host nothing?But when trying to pull the information from your server from MWSPA it comes back an error.
You can see the paths that the hta uses (variables labeled terribly simplistic) by opening the HTA and looking at the top variables just past the <script open brackets. If you can't figure it out I can help more but in order to pull te images from the gatherer they have id's associated with each image that you have to identify from a search result when quering the gatherer.So, I was wondering if I could get the server path
A verify tick would be interesting, but I don't think its needed. Because it would cause a user to be downloading for a very long time, because it would be re-downloading images he or she already have and then replacing them. This could also increase the amount of image corruptions as well as increase the server load. So I wouldn't bother with that option, because people who experiment like me, will click it not knowing what it does. Just to see what it does.woogerboy21 wrote:Yea I guess I don't have a problem with the mediafire technology I am just not a fan of how the organization of the set list to URL is handled. Seems a bit unorganized but I may just be looking at it from a different point of view than you guys since you manage it.
Also this brings up an idea for a "verify" option to the image options. Also GodleyDemon the hta does LOTS of checks. Infact many times it does checks just after checks mainly because I wanted to make the various sub routines and functions independant of any source calling them. All the code started out with some basic structure and concepts in mind but as things have been added the code could use some cleanup. I am working on some of the "cleanup" in the next release. That and working on making various portions of it more dynamic so the main code shouldnt need updated but the options can be imported from external sources. (like the language list etc.)
Oh and if I were to host images it would really be bad. at 30k up people would be waiting a LONG LONG time LOL.