• Welcome to iMtG Server: Gathering.
 

List of Expansion Codes

Started by Beechlander, November 26, 2012, 10:16:13 PM

Previous topic - Next topic

Beechlander

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. ;-)

Piotr

The option to sort expansions chronologically is already there :P

reezel

How do you sort the expansions chronilogically exactly?

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

Beechlander

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

Piotr

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.

Piotr

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 ;)

Beechlander

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.

Piotr

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.

NyghtHawk

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.

Piotr

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.

NyghtHawk

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.

Piotr

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.

NyghtHawk

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..

Piotr

Precisely. How would you prefer?

NyghtHawk

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