LQ Images by Set
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
			22 posts
			 • Page 1 of 2 • 1, 2
		
	
LQ Images by Set
 by lazylockie » 27 Jan 2011, 00:06
by 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
 by Rob Cashwalker » 27 Jan 2011, 00:26
by 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".
			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.
		- 
				 
 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
 by Rob Cashwalker » 27 Jan 2011, 03:14
by 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.
			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.
		- 
				 
 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
 by lazylockie » 27 Jan 2011, 03:30
by 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
 by friarsol » 27 Jan 2011, 04:06
by 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
 by Rob Cashwalker » 27 Jan 2011, 15:16
by Rob Cashwalker » 27 Jan 2011, 15:16 
Maybe...
			The Force will be with you, Always.
		- 
				 
 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
 by Hellfish » 27 Jan 2011, 16:54
by 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
		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
- 
				 
 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
 by slapshot5 » 27 Jan 2011, 17:02
by slapshot5 » 27 Jan 2011, 17:02 
It's there, in the deck editor. Right under the Apply/Clear filter buttons.Hellfish wrote:Set features are looking awesome, Rob! Wasn't there a dropbox idea circulating or was that dropped?
-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
 by lazylockie » 27 Jan 2011, 17:37
by lazylockie » 27 Jan 2011, 17:37 
I think Hellfish means www.dropbox.com right? Seems like a practical way to share the images.slapshot5 wrote:It's there, in the deck editor. Right under the Apply/Clear filter buttons.Hellfish wrote:Set features are looking awesome, Rob! Wasn't there a dropbox idea circulating or was that dropped?
-slapshot5
- lazylockie
- Posts: 508
- Joined: 13 Jul 2010, 22:44
- Has thanked: 74 times
- Been thanked: 15 times
Re: LQ Images by Set
 by slapshot5 » 27 Jan 2011, 18:02
by 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
 by Hellfish » 27 Jan 2011, 18:14
by Hellfish » 27 Jan 2011, 18:14 
Yeah, I meant dropbox.com  Should prolly have been more specific.
 Should prolly have been more specific.
			 Should prolly have been more specific.
 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
		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
- 
				 
 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
 by Rob Cashwalker » 27 Jan 2011, 23:40
by 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.
			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.
		- 
				 
 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?
 by mtgrares » 28 Jan 2011, 19:11
by 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".
			
		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?
 by friarsol » 28 Jan 2011, 19:16
by friarsol » 28 Jan 2011, 19:16 
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).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?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: LQ Images by Set
 by Rob Cashwalker » 29 Jan 2011, 15:35
by 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.
			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.
		- 
				 
 Rob Cashwalker
- Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
			22 posts
			 • Page 1 of 2 • 1, 2
		
	
Who is online
Users browsing this forum: Timothysow and 20 guests
