Page 1 of 6

High-Res Card Image Downloader [Needs New Image Source]

PostPosted: 08 Jun 2014, 03:27
by KrazyTheFox
I've put together a small program to automatically download and name high-resolution images from MTGImage and figured I'd share it.

MTGImage got shut down by Wizards. :( I'm going to need a new image source before this will see any new updates. As such, no images are available to download.

Note that this requires Java 8. It will not run on older versions.

Point it at your resource folder ("res/") and it'll grab all the cards from the game's files.

For sets that are not available from MTGImage, first run this downloader, then use the "Download LQ Set Pictures" option in Forge. This will then only download the missing sets and no other cards.

Untitled-0.jpg

Untitled-1.jpg

Untitled-2.jpg


Forge-Image-Downloader-1.2.0.zip
(813.79 KiB) Downloaded 7276 times


Changelog:

Version 1.2.0: Major performance improvements and a few bug fixes (Inability to run the program and existing cards being overwritten when told not to).

Version 1.1.0: Fixed some bugs, now supports all cards (22,572 as of writing), added download speed indicator. Download this outdated version:
Forge-Image-Downloader-1.1.zip
(957.47 KiB) Downloaded 3727 times


Version 1.0.0: Initial Release

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 08 Jun 2014, 20:05
by KrazyTheFox
I've updated the program to support all the missing sets and fixed a few bugs along the way.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 14 Jun 2014, 19:07
by Flyguy019
This is awesome. Thank you for sharing!

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 15 Jun 2014, 21:38
by Xyx
Yes, quite awesome. Thanks!

The BNG cards have a thicker border and lower res than the others. Is that just me, or is that normal?

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 22 Jun 2014, 05:58
by KrazyTheFox
Xyx wrote:Yes, quite awesome. Thanks!

The BNG cards have a thicker border and lower res than the others. Is that just me, or is that normal?
That's not normal. Have you made sure you don't already have BNG cards where it's downloading to?

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 03:30
by bevryde
Hi thanks, I downloaded the latest Oracle 8 Java for Windows 7 x6 and this is how the window looks:

(Attachment)

Not usable as its not resizable; I pressed TAB and enter but no success. Can you do anything about it?

Maybe you can simply make it resizable.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 11:49
by KrazyTheFox
bevryde wrote:Hi thanks, I downloaded the latest Oracle 8 Java for Windows 7 x6 and this is how the window looks:

(Attachment)

Not usable as its not resizable; I pressed TAB and enter but no success. Can you do anything about it?

Maybe you can simply make it resizable.
That is not how it should look at all. Very strange. I'll be able to look into this tonight.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 12:35
by bevryde
Hi thanks fpr your reply. Its not too important. On my other PC it works. Both have same screen res and (windows internal) scaling set to 100%. I have no idea what should be the difference.

But the download seems to be too slow to ever finish. May be the download source. "Sen Triplets" 0/20438 - I've seen this now 3 minutes. Theres a "Sen Triplets.full.jpg" in the cards folder, 7k and incomplete...

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 12:49
by bevryde
Hmm, it often stops. Can you privide information of which sources you connect, maybe we can also try rebuilt this with wget?

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 17:25
by bevryde
Now after several restarts, I let it run for about 3 hours; and now has downloaded 140MB, folders are from AL to AVR. No there's something wrong with the downloads. It has stopped again, seems no progress,...

BTW, it's downloaded into subfolders, but I have all my cards in one folder; will Forge parse subfolders or will I have to move cards into one folder?

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 18:20
by timmermac
The LQ set download option provided by the game puts card pics into the individual set folders, so yes.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 07 Aug 2014, 23:32
by KrazyTheFox
bevryde wrote:Hmm, it often stops. Can you privide information of which sources you connect, maybe we can also try rebuilt this with wget?
The program parses the edition files (Forge-Folder/res/editions/) and uses those lists of cards to format URLs according to the ones on http://www.mtgimage.com/. It also checks to see which cards are available on the site to make sure it gets all of the possible downloads.

There's a few reasons why you're not getting the speeds you want. First, check to see how fast you can download a single image manually from MTGImage. If you're not getting the expected speeds, then it's unfortunately something between you and them and I can't really fix that. If you're able to download them fine, then it could be something with the program, at which point let me know and I'll ask for further details with more instructions.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 08 Aug 2014, 03:44
by bevryde
OK, I have tested it. Nice ressource. I can tell downloads from mtgimage.com run fine.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 08 Aug 2014, 13:56
by bevryde
Just wanna let you know: Today it works like a charm, already 18000 downloaded; maybe it was a server hiccup yesterday.

Re: High-Res Card Image Downloader v. 1.1.0

PostPosted: 08 Aug 2014, 16:45
by KrazyTheFox
bevryde wrote:Just wanna let you know: Today it works like a charm, already 18000 downloaded; maybe it was a server hiccup yesterday.
Nice! Glad it ended up working.