It is currently 19 Apr 2024, 08:52
   
Text Size

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

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

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

Postby KrazyTheFox » 08 Jun 2014, 03:27

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 7062 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 3625 times


Version 1.0.0: Initial Release
Last edited by KrazyTheFox on 13 Jun 2015, 14:08, edited 4 times in total.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby KrazyTheFox » 08 Jun 2014, 20:05

I've updated the program to support all the missing sets and fixed a few bugs along the way.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby Flyguy019 » 14 Jun 2014, 19:07

This is awesome. Thank you for sharing!
Flyguy019
 
Posts: 2
Joined: 30 Jul 2010, 01:51
Has thanked: 0 time
Been thanked: 0 time

Re: High-Res Card Image Downloader v. 1.1.0

Postby Xyx » 15 Jun 2014, 21:38

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?
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby KrazyTheFox » 22 Jun 2014, 05:58

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?
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 07 Aug 2014, 03:30

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.
Attachments
Zwischenablage-1.jpg
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby KrazyTheFox » 07 Aug 2014, 11:49

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.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 07 Aug 2014, 12:35

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...
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 07 Aug 2014, 12:49

Hmm, it often stops. Can you privide information of which sources you connect, maybe we can also try rebuilt this with wget?
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 07 Aug 2014, 17:25

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?
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby timmermac » 07 Aug 2014, 18:20

The LQ set download option provided by the game puts card pics into the individual set folders, so yes.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby KrazyTheFox » 07 Aug 2014, 23:32

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.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 08 Aug 2014, 03:44

OK, I have tested it. Nice ressource. I can tell downloads from mtgimage.com run fine.
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby bevryde » 08 Aug 2014, 13:56

Just wanna let you know: Today it works like a charm, already 18000 downloaded; maybe it was a server hiccup yesterday.
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: High-Res Card Image Downloader v. 1.1.0

Postby KrazyTheFox » 08 Aug 2014, 16:45

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.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Next

Return to Forge

Who is online

Users browsing this forum: No registered users and 89 guests


Who is online

In total there are 89 users online :: 0 registered, 0 hidden and 89 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 89 guests

Login Form