It is currently 31 Oct 2025, 13:36
   
Text Size

LQ Images by Set

Post MTG Forge Related Programming Questions Here

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

LQ Images by Set

Postby lazylockie » 27 Jan 2011, 00:06

Since revision 5781 there's a new option to donwload the images by set. I don't wanna download all 10k images again, so I was wondering if the card naming is similar to MWS. If so, what folder should the images be stored?
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: LQ Images by Set

Postby Rob Cashwalker » 27 Jan 2011, 00:26

Don't worry, I haven't finished my server end of it...

Yes, you can use the standard MWS format. If you're using Linux or some Mac filesystems, there are a few filename issues - many of the cards with "of" in their name were incorrectly named with "Of".
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: LQ Images by Set

Postby Rob Cashwalker » 27 Jan 2011, 03:14

I just did a quick test with the cardforge site operational.

If you do use the MWS HQ pics from the pictures forum, be aware that it may cause slow-downs and heap errors.
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: LQ Images by Set

Postby lazylockie » 27 Jan 2011, 03:30

Thanks for the info Rob. I think I'll make a batch on all the pictures to reduce their quality
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: LQ Images by Set

Postby friarsol » 27 Jan 2011, 04:06

With 10k cards is that going to be too big of a hit on your server?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: LQ Images by Set

Postby Rob Cashwalker » 27 Jan 2011, 15:16

Maybe...
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: LQ Images by Set

Postby Hellfish » 27 Jan 2011, 16:54

Set features are looking awesome, Rob! Wasn't there a dropbox idea circulating or was that dropped?
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: LQ Images by Set

Postby slapshot5 » 27 Jan 2011, 17:02

Hellfish wrote:Set features are looking awesome, Rob! Wasn't there a dropbox idea circulating or was that dropped?
It's there, in the deck editor. Right under the Apply/Clear filter buttons.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: LQ Images by Set

Postby lazylockie » 27 Jan 2011, 17:37

slapshot5 wrote:
Hellfish wrote:Set features are looking awesome, Rob! Wasn't there a dropbox idea circulating or was that dropped?
It's there, in the deck editor. Right under the Apply/Clear filter buttons.

-slapshot5
I think Hellfish means www.dropbox.com right? Seems like a practical way to share the images.
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: LQ Images by Set

Postby slapshot5 » 27 Jan 2011, 18:02

Oohhh. I must not be hip with the lingo anymore.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: LQ Images by Set

Postby Hellfish » 27 Jan 2011, 18:14

Yeah, I meant dropbox.com :) Should prolly have been more specific.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: LQ Images by Set

Postby Rob Cashwalker » 27 Jan 2011, 23:40

first time I'm hearing of dropbox... but it just took over a couple minutes just to load the homepage.. not looking like I'd trust it.

I was also considering randomly choosing between cardforge.org and magiccards.info to help with the load. The hard part to deal with is the first download for a new user.
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

Will users have a choice?

Postby mtgrares » 28 Jan 2011, 19:11

I hate to mention refinements on a feature that isn't working yet but will you force people to download all of the card pictures for all of the sets? Or will the user have the option to download card pictures like now, only one picture per card?

I suggest the term "singleton" to mean "only one picture per card name".
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: Will users have a choice?

Postby friarsol » 28 Jan 2011, 19:16

mtgrares wrote:I hate to mention refinements on a feature that isn't working yet but will you force people to download all of the card pictures for all of the sets? Or will the user have the option to download card pictures like now, only one picture per card?
It's not forced. If you have the HQ/LQ pictures and none of the set specific pictures it will just default down to the pic you have, just as it did before (without the check for set specific pictures).
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: LQ Images by Set

Postby Rob Cashwalker » 29 Jan 2011, 15:35

You can stop the download at anytime, and it will pick up were it left off next time.

I was also thinking of making it only download one set's worth at a time, but I just wanted to get the basic functionality out there for this release.

I put all my LQ set images into some zip files, but due to the lower case "of" situations, and a couple of missing pictures, I need to update them. It's not much less bandwidth to download 4 archives than 10,000 individual files.

It's faster to load per-set images when launching new games or the deck editor, because the code checks for them first before trying other folder/filename schemes, including the original single-picture scheme.

There's likely a problem dealing with token downloads in this mode.
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

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 34 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 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 34 guests

Login Form