It is currently 11 Sep 2025, 14:18
   
Text Size

Adding starters to the card shop?

Post MTG Forge Related Programming Questions Here

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

Re: Adding starters to the card shop?

Postby Max mtg » 25 Feb 2012, 20:42

good, name the files after the set codes - I'll make them jpg

Looks like I'll commit fatpacks support very soon.

UPD: Done with fatpacks. I think it's time to stop now and avoid implementing purchase of booster boxes.
Art and data on older fatpacks is still needed.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 26 Feb 2012, 03:27

Starter images should already have set codes as names. Hopefully, I didn't miss any of them.

Edit: Info on fatpack contents for every expansion can be found at http://wiki.mtgsalvation.com/article/Fat_pack

Edit2: Here's the image files for all of the fatpacks that have been produced to date. I'm not sure how you want these named.
Attachments
fatpacks.rar
(1.19 MiB) Downloaded 391 times
"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: Adding starters to the card shop?

Postby Max mtg » 26 Feb 2012, 06:45

thanks.
where do i download the starter images you've collected?

Fatpacks should be named as (3-letter-code).jpg (or png - it can be even a png file saved with jpg extension)
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 26 Feb 2012, 08:50

Max mtg wrote:thanks.
where do i download the starter images you've collected?

Fatpacks should be named as (3-letter-code).jpg (or png - it can be even a png file saved with jpg extension)
Last post on the first page of this topic. I'll rename the fatpack images in the morning.
"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: Adding starters to the card shop?

Postby Max mtg » 26 Feb 2012, 11:22

timmermac wrote:Last post on the first page of this topic. I'll rename the fatpack images in the morning.
I've commited the pictures to SVN, thanks! But also I have to disappoint you =( The pictures you provided look very poor in game, because they are expanded to fit the place. If you decide to improve them, please, make sure the files contain images at least 200 pixels wide.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 26 Feb 2012, 17:29

Here are updated starter images and renamed and resized fatpack images.
Attachments
starters.rar
(851.25 KiB) Downloaded 261 times
fatpacks.rar
(1.09 MiB) Downloaded 243 times
"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: Adding starters to the card shop?

Postby Max mtg » 26 Feb 2012, 18:24

starters are fine, fatpacks - some images are too small (remember, minimal width is 200px)
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 26 Feb 2012, 18:56

Here's the new fatpack image archive. All images now at least 200x200.
Attachments
fatpacks.rar
(1.11 MiB) Downloaded 262 times
"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: Adding starters to the card shop?

Postby Max mtg » 26 Feb 2012, 19:04

Uh... it's not the image size desired to be 200px, but the quality of the source.
If the picture was upscaled from a 60*60 icon, it won't become better when shown in 200*200 frame - it will be awful!

The right way to find good images: google picture of the fatpack (www.google.ru/search?q=lorwyn+fat+pack&tbm=isch) find a decent picture there, save it to folder, name after set. - repeat for each poorly looking picture
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 26 Feb 2012, 20:31

Here's a new archive of fatpack images. All are at least 200 pixels either wide or tall, with a large number at least 200x200.
Attachments
fatpacks.rar
(1.48 MiB) Downloaded 254 times
"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: Adding starters to the card shop?

Postby Chris H. » 27 Feb 2012, 13:42

I wanted to purchase a pack of cards as part of a play test. I increased the number of credits at start of a quest. I then purchased a pack.

While scrolling through the list of cards in the pack I noticed that the width of the list will change from one card to another. This tends to push the picture panel and the card detail panel to the right when the list increases in width. This can cause the card detail panel to be cut off.

`
Attachments
Screen Shot narrow list.jpg
Screen Shot with narrow list
Screen Shot wider list.jpg
Screen Shot with wider list
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Adding starters to the card shop?

Postby friarsol » 27 Feb 2012, 14:47

Chris H. wrote:While scrolling through the list of cards in the pack I noticed that the width of the list will change from one card to another. This tends to push the picture panel and the card detail panel to the right when the list increases in width. This can cause the card detail panel to be cut off.

`
I've seen this in Booster Packs too, so it's not Starter Pack specific. Not sure what would be causing this to happen.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Adding starters to the card shop?

Postby timmermac » 27 Feb 2012, 15:12

I've never seen that happen when I buy boosters, which is something I do after every match.
"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: Adding starters to the card shop?

Postby Max mtg » 27 Feb 2012, 17:54

It must be an issue regarding the card list display window, and it had appeared before my enchancements made this month.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Adding starters to the card shop?

Postby timmermac » 05 Mar 2012, 01:15

No matter what I do, including setting the starting number of packs to 250, I can't seem to get a fatpack any earlier than M10 or Zendikar block in the quest mode card shop. I can get the full range of boosters and starters.

Edit: Ah... After a search in the SVN commit log, I see why. I'll go ahead and change the file to incorporate the rest of the fatpacks and post the new fatpacks.txt file here.

Edit2: In instances where a Tournament Pack should be present in a fatpack, since I'm not sure if putting a Tournament pack in a fatpack is supported, it will be replaced by 3 boosters and 30 basic lands.

Edit3: As promised, here's the text file with all possible fatpacks. It should go in /res/blockdata. It's been tested, and it works as I intended it to.
Attachments
fatpacks.txt
(2 KiB) Downloaded 231 times
"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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 37 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 37 users online :: 0 registered, 0 hidden and 37 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 37 guests

Login Form