iMtG Server: Gathering

Gathering Forums => Ideas and Feedback => Topic started by: Beechlander on November 26, 2012, 10:16:13 PM

Title: List of Expansion Codes
Post by: Beechlander on November 26, 2012, 10:16:13 PM
Piotr, could please provide a list of expansion codes by their full name (or the other way around)?  I am trying to import my collection from another source and would rather not hunt for the codes.

Thanks in advance,
Beechlander

P.S.  An option to sort expansions chronologically would be nice too. ;-)
Title: Re: List of Expansion Codes
Post by: Piotr on November 27, 2012, 06:07:04 AM
The option to sort expansions chronologically is already there :P
Title: Re: List of Expansion Codes
Post by: reezel on November 27, 2012, 12:06:52 PM
How do you sort the expansions chronilogically exactly?

Also, I checked out the csv file you gave and it was a few sets behind.
Title: Re: List of Expansion Codes
Post by: Beechlander on November 28, 2012, 03:01:02 PM
Thank you for the CSV file!  There is no way I could have found all those expansion codes myself.  By the way, you are missing an expansion called Vanguard (it was like prototype Planeswalkers).

When I go to Filters in Card Database, I don't see how to sort chronologically.

Please help me understand what a collection[ (#)].imtgbackup is.

I see that I'm going to have my work cut out building the binder file...  When I'm done, I'll share with you what I did so maybe you can integrate it.

Regards,
Mark
Title: Re: List of Expansion Codes
Post by: Piotr on November 28, 2012, 04:28:02 PM
Quote from: Beechlander on November 28, 2012, 03:01:02 PM
Thank you for the CSV file!  There is no way I could have found all those expansion codes myself.  By the way, you are missing an expansion called Vanguard (it was like prototype Planeswalkers).

When I go to Filters in Card Database, I don't see how to sort chronologically.

Please help me understand what a collection[ (#)].imtgbackup is.

I see that I'm going to have my work cut out building the binder file...  When I'm done, I'll share with you what I did so maybe you can integrate it.

Regards,
Mark

Ah, yes. In Expansions, I'll copy over in 3.10.

colelction* is obsolete, we use binder* now.
Title: Re: List of Expansion Codes
Post by: Piotr on November 28, 2012, 04:30:09 PM
Quote from: reezel on November 27, 2012, 12:06:52 PM
How do you sort the expansions chronilogically exactly?

Also, I checked out the csv file you gave and it was a few sets behind.

Feel free to fix it ;)
Title: Re: List of Expansion Codes
Post by: Beechlander on December 14, 2012, 12:49:08 PM
Since EssentialMagic.com does not allow importing, I have written a Perl script which uses WWW::Mechanize to login and update my collection.  I didn't want to get into parsing the imtgbackup files in the first run so I e-mailed myself my binders and used the attached CSV files.  That adds an extra step to the process, but pLists' XML structure is a "pain in the parse" (because it relies on position rather than containment or references).

Anyway, I cannot distinguish between alternate art cards (e.g. Fallen Empires, Alliances, etc.) in the CSV file, but it handles everything else.  As I said before, you are welcome to the code if you are interested.
Title: Re: List of Expansion Codes
Post by: Piotr on December 14, 2012, 03:13:28 PM
I couldn't tell Perl from Chinese, I'm afraid ;)
The alternate art should be encoded as 'number' in the xml *.imtgbackup files. One of the reasons why I'm not using card name as the unique thing.
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 16, 2013, 11:29:06 PM
Two things.

1. Why don't use use the actual wotc expansion codes?

2. If you leave them as you have them instead of using the wotc codes, the code you use for Torment is no good. You use tr. Problem with that is if you edit your profile manually showing your collection it inserts a table because of the tr tag.
Title: Re: List of Expansion Codes
Post by: Piotr on January 17, 2013, 07:22:49 AM
Quote from: NyghtHawk on January 16, 2013, 11:29:06 PM
Two things.

1. Why don't use use the actual wotc expansion codes?

2. If you leave them as you have them instead of using the wotc codes, the code you use for Torment is no good. You use
. Problem with that is if you edit your profile manually showing your collection it inserts a table because of the
tag.

1. Because WotC does not provide complete list, nor database. They are not even consistent on Gatherer, their codes for expansion symbols do not match their own codes. Having said that, most of iMtG codes match.

2. Do not edit your Private Page manually, it won't do any good for Potential Trades Matching anyway.
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 18, 2013, 03:58:43 PM
I know but there is no other way to designate foils unless you edit manually. I usually make all my changes trough the binder then I back to edit manually to not foils and whatnot. Just saying that if you leave as is you should change the Torment code to [tor] if you want so at least the table issue doesn't arise.
Title: Re: List of Expansion Codes
Post by: Piotr on January 18, 2013, 05:19:33 PM
Quote from: NyghtHawk on January 18, 2013, 03:58:43 PM
I know but there is no other way to designate foils unless you edit manually.

iMtG 3.8.2 should do it as you tap Update Private Page, foils included.
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 18, 2013, 06:19:32 PM
Ok  I see that now but I doubt most people even know about it bc its sort of backwards the way you have to do it. You can't specify the cards are foil when you add them to your binder. You have to add them, then go into magic binders and then your trade binder and specify there..
Title: Re: List of Expansion Codes
Post by: Piotr on January 18, 2013, 06:22:25 PM
Precisely. How would you prefer?
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 18, 2013, 06:32:16 PM
Be much easier if you could specify all the specifics like you have set up like foil, signed, etc as you add it to the binder.

If you dont do that it would at least be nice to see your trade binder in a more organized fashion and sort it alphabetically and have the options to view it by grid or list like you do if you just click on trade binder instead of going through the magic binders first. Not really sure you have them setup differently anyway?

Quote from: Piotr on January 17, 2013, 07:22:49 AM

1. Because WotC does not provide complete list, nor database. They are not even consistent on Gatherer, their codes for expansion symbols do not match their own codes. Having said that, most of iMtG codes match.

Not true. There is a three letter code assigned to every set by wotc. See the list here:
http://en.m.wikipedia.org/wiki/List_of_Magic:_The_Gathering_sets
Title: Re: List of Expansion Codes
Post by: Piotr on January 19, 2013, 06:02:38 AM
Quote from: NyghtHawk on January 18, 2013, 06:32:16 PM
If you dont do that it would at least be nice to see your trade binder in a more organized fashion and sort it alphabetically and have the options to view it by grid or list like you do if you just click on trade binder instead of going through the magic binders first. Not really sure you have them setup differently anyway?

Quote from: Piotr on January 17, 2013, 07:22:49 AM

1. Because WotC does not provide complete list, nor database. They are not even consistent on Gatherer, their codes for expansion symbols do not match their own codes. Having said that, most of iMtG codes match.

Not true. There is a three letter code assigned to every set by wotc. See the list here:
http://en.m.wikipedia.org/wiki/List_of_Magic:_The_Gathering_sets

You can sort your binders already.

The list you linked is not comprehensive. Show me FNM promos there? Do I really have to point you to 'none' codes on this list?
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 19, 2013, 09:19:28 AM
You can't sort the binders when you go through magic binders first unless I'm missing something? It only let's you sort if you go directly to trade binder first but then you can't designate foils and such. I could be missing something but I don't see it.

And the codes I understand what you're saying about promos and special stuff but all of the sets have codes. I know about the special stuff but that wasn't my point as they aren't expansions which is what I said the list showed which is the majority of magic cards....special crap is the exception.
Title: Re: List of Expansion Codes
Post by: Piotr on January 19, 2013, 01:22:29 PM
In binder settings you can set its sorting.
Title: Re: List of Expansion Codes
Post by: NyghtHawk on January 19, 2013, 04:51:36 PM
Ok. That's a bit confusing but I got it. You cant change the view though like you can if you went directly to the binder. I guess I really don't get why you made it different depending how you view the binder. Seems like it would be much easier and streamlined if you made it the same for both and didn't have do many extra steps to designate foils and stuff.

Anyway the codes I still think would be better if you used the official ones for the sets and use whatever you want for the random ones like fnm, etc like you do now.

Either way just suggestions. Love the program.
Title: Re: List of Expansion Codes
Post by: Piotr on January 19, 2013, 05:30:50 PM
iMtG is an evolving thing, no worries.
Title: Re: List of Expansion Codes
Post by: Beechlander on November 22, 2017, 12:20:57 PM
Piotr, could you post a recent version of your expansion CSV file?  In the past 4 years, WotC has been printing expansions like mad.