Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
Discuss anything concerning this site and its contents
Moderator: CCGHQ Admins
Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Huggybaby » 29 Aug 2008, 21:52
We're confronting a fundamental issue that's small and large at the same time. It's not trivial so read on.
We're working on a new pics torrent. I needed to update the sets codes list to include the newest sets, so I googled the wikipedia for MTG set codes. I found out that for consistency some time ago WOTC changed the naming so that every set had a three letter code... but currently, MWS sets are a mixture of one, two, and three letter codes, the way it has always been. "A" has always meant "Alpha".
Goblin Hero brought this up years ago, that this situation should be changed.
He was ahead of his time perhaps, I forget how I felt about the subject. I may have been against it. It could be because I didn't want to break MWS for the large number of people that use it.
Things have changed though. There is no longer an official MWS Autoupdate base, or at least there hasn't been in a while. Detonator has recently relied on a version of MHD's base, which is based on GH's base. And the only themes regularly updated are GH's. And GH also controls MWSPA. And I control the torrent.
This means it is within our grasp to change everything over, in one fell swoop, so that nothing breaks.
Almost nothing anyway, there are difficulties. Here is what will happen.
First, the base will change. The new base will have official three letter codes.
The result is that some pics will quit working. Your picture sets need to be renamed to match the base.
Unfortunately, the sets on Rapidshare and MediaFire can't just be renamed. Still, once you get the pics unzipped onto your hard drive, the sets can be brought into line with a simple batch renamer we could write.
Your themes will quit working properly too, for some sets.
The solution is to get a new theme. This is to be expected, since a new theme is required every time, even if only one new set is released.
The torrent files will have to be renamed. That's OK, because we're working on the new one anyway.
MWSPA and its support folders will have to be edited. I suppose GH is up to the task without too much difficulty.
Any other software like the Deckbuilder and Card Generator may have to be edited, I'm not sure how difficult this will be.
Since we defacto control the new bases, themes and pics sets anyway, this is easy to coordinate.
Please think carefully about it and make up your own mind. I've set the poll so you can change your vote.
Though personally I see no reason not to proceed with the change, I've tried to anticipate all the negatives, and I've probably overlooked something. I need you to let me know what I've missed.
We're working on a new pics torrent. I needed to update the sets codes list to include the newest sets, so I googled the wikipedia for MTG set codes. I found out that for consistency some time ago WOTC changed the naming so that every set had a three letter code... but currently, MWS sets are a mixture of one, two, and three letter codes, the way it has always been. "A" has always meant "Alpha".
Goblin Hero brought this up years ago, that this situation should be changed.
He was ahead of his time perhaps, I forget how I felt about the subject. I may have been against it. It could be because I didn't want to break MWS for the large number of people that use it.
Things have changed though. There is no longer an official MWS Autoupdate base, or at least there hasn't been in a while. Detonator has recently relied on a version of MHD's base, which is based on GH's base. And the only themes regularly updated are GH's. And GH also controls MWSPA. And I control the torrent.
This means it is within our grasp to change everything over, in one fell swoop, so that nothing breaks.
Almost nothing anyway, there are difficulties. Here is what will happen.
First, the base will change. The new base will have official three letter codes.
The result is that some pics will quit working. Your picture sets need to be renamed to match the base.
Unfortunately, the sets on Rapidshare and MediaFire can't just be renamed. Still, once you get the pics unzipped onto your hard drive, the sets can be brought into line with a simple batch renamer we could write.
Your themes will quit working properly too, for some sets.
The solution is to get a new theme. This is to be expected, since a new theme is required every time, even if only one new set is released.
The torrent files will have to be renamed. That's OK, because we're working on the new one anyway.
MWSPA and its support folders will have to be edited. I suppose GH is up to the task without too much difficulty.
Any other software like the Deckbuilder and Card Generator may have to be edited, I'm not sure how difficult this will be.
Since we defacto control the new bases, themes and pics sets anyway, this is easy to coordinate.
Please think carefully about it and make up your own mind. I've set the poll so you can change your vote.
Though personally I see no reason not to proceed with the change, I've tried to anticipate all the negatives, and I've probably overlooked something. I need you to let me know what I've missed.
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by doxaios » 30 Aug 2008, 07:24
So the problem is with rs downloads and not with torrent?
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Goblin Hero » 30 Aug 2008, 07:46
Yep. I can change everything w/o problems.Huggybaby wrote:I suppose GH is up to the task without too much difficulty.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1996
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 231 times
- Been thanked: 353 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by extreme » 30 Aug 2008, 10:36
all ok by me
SCANNING HOW-TO: viewtopic.php?f=15&t=451
-
extreme - HQ Team Member
- Posts: 2794
- Joined: 18 Jan 2007, 14:38
- Has thanked: 111 times
- Been thanked: 562 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Goblin Hero » 30 Aug 2008, 12:08
We forgot about two problems:
1. MWS won't load old decks with old set codes.
2. MWS store set codes inside inventory files and I'm not sure whether it works.
1. MWS won't load old decks with old set codes.
2. MWS store set codes inside inventory files and I'm not sure whether it works.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1996
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 231 times
- Been thanked: 353 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Huggybaby » 30 Aug 2008, 17:41
Inventory files, eh? I was afraid there might be something hard-coded that would mess up the plan.
Can anyone answer this question? (I still don't think it's a deal breaker.)
Can anyone answer this question? (I still don't think it's a deal breaker.)
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by kenaustin » 30 Aug 2008, 18:59
At some point in the future this was going to be necessary anyways. You guys are the number one source on the internet for Magic set pictures, and people use the pics here for other programs and proxies. What you are proposing would be beneficial to thousands, if not more, in the long run, and have the benefit of being compatible with WoTC the standard. I vote yes.
Legion Magic @ kenaustin's korner
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by nummie » 31 Aug 2008, 06:08
Hi,
I cast my lot with YES. MWS is not the most user friendly program. Anything that could be done to synchronize the torrent with the masterbase would be a huge help. Deck files can be rewritten, as well as themes. I say have a go at it.
Nummie-
I cast my lot with YES. MWS is not the most user friendly program. Anything that could be done to synchronize the torrent with the masterbase would be a huge help. Deck files can be rewritten, as well as themes. I say have a go at it.
Nummie-
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Nyth » 31 Aug 2008, 11:12
Well, a tool could always be developed (either within MWS or externally) that can parse the old mwDeck and mwInventory files and fix any of the issues the renaming would cause. Then again, I say this assuming that this is an easy thing to accomplish.
-
Nyth - HQ Team Member
- Posts: 331
- Joined: 13 Jul 2008, 11:58
- Location: Dubai, United Arab Emirates
- Has thanked: 49 times
- Been thanked: 70 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Huggybaby » 01 Sep 2008, 04:33
Like GH said,
That's what remains to discover.2. MWS store set codes inside inventory files and I'm not sure whether it works.
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Huggybaby » 02 Sep 2008, 18:21
The ayes have it, so I changed the topic back to a normal sticky.
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Huggybaby » 05 Sep 2008, 20:27
Now, I need a batch file or script that will allow me to batch convert the set names in a collection of decks. Any suggestions?
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Nyth » 15 Sep 2008, 15:30
I would just write a DOS batch file to do it. Simple and effective. All you'd need is something to rename directories and as long as you have the "before" and "after", there's no problems.
-
Nyth - HQ Team Member
- Posts: 331
- Joined: 13 Jul 2008, 11:58
- Location: Dubai, United Arab Emirates
- Has thanked: 49 times
- Been thanked: 70 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Nyth » 27 Sep 2008, 08:52
Ok, so I've got a program to do the deck parsing and folder renaming. Where shall I post it? I don't think it should be floating around in public until it has been approved for use.
I'll need a complete up-to-date list of 2 to 3 letter code conversions, including promos and such.
The program uses a simple text file with the Old Code, New Code, and Set Name to work. It will go through the directory chosen and depending on which button is pressed, it will convert from 2->3 or 3->2 for either your mwDeck files or the picture subdirectories.
An extremely important thing to note is that if Conflux ends up having the 3 letter code of CON, we are going to have very big problems storing those cards on Windows systems (possibly others too) since CON is a reserved DOS keyword meaning that no directory can ever be created with that name. And there are no workarounds other than calling it something else like CFX or something silly like that.

I'll need a complete up-to-date list of 2 to 3 letter code conversions, including promos and such.
The program uses a simple text file with the Old Code, New Code, and Set Name to work. It will go through the directory chosen and depending on which button is pressed, it will convert from 2->3 or 3->2 for either your mwDeck files or the picture subdirectories.
An extremely important thing to note is that if Conflux ends up having the 3 letter code of CON, we are going to have very big problems storing those cards on Windows systems (possibly others too) since CON is a reserved DOS keyword meaning that no directory can ever be created with that name. And there are no workarounds other than calling it something else like CFX or something silly like that.

-
Nyth - HQ Team Member
- Posts: 331
- Joined: 13 Jul 2008, 11:58
- Location: Dubai, United Arab Emirates
- Has thanked: 49 times
- Been thanked: 70 times
Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now
by Snacko » 27 Sep 2008, 15:18
All the sets used by the MWS. There are 3 codes for each core edition as there used to be different naming conventions in the past in different masterbases.REW Promo - Rewards
REL Promo - Release Events
PRE Promo - Prerelease Events
PR Promo - Other
JGC Promo - Judge Gift Cards
GTW Promo - Gateway
FNM Promo - FNM
CHP Promo - Champs
ARE Promo - Arena
THG Promo - Two-Headed Giant
SUM Promo - Summer of Magic
HHL Promo - Happy Holidays
APL Promo - Asia Pacific Land
EUL Promo - European Land Program
GUR Promo - Guru Lands
ARC Promo - Armada Comics
HPB Promo - Harper Prism Books
DLM Promo - DCI Legend
VG Vanguard
TKX Tokens - Tenth Edition
TK Tokens
ST,S99 Starter 1999
S00 Starter 2000
OV Oversized
DM,DKM Deckmasters 2001
BD,BTD Beatdown
AT,ATH Anthologies
BRB Battle Royale
EVG Elves vs Goblins
FVD Dragons
JVC Jace vs Chandra
A,LEA Alpha
B,LEB Beta
U,2ED Unlimited
AN,ARN Arabian Nights
AQ,ATQ Antiquities
R,3ED Revised
LG,LEG Legends
DK,DRK The Dark
FE,FEM Fallen Empires
4E,4ED,4TH Fourth Edition
CH,CHR Chronicles
HL,HML Homelands
IA,ICE Ice Age
AL,ALL Alliances
CS,CLD Coldsnap
CST Coldsnap Theme Decks
PT,POR Portal
P2,PO2 Portal Second Age
P3,PTK Portal Three Kingdoms
MI,MIR Mirage
5E,5ED,5TH Fifth Edition
VI,VIS Visions
WL,WTH Weatherlight
TE,TMP Tempest
SH,STH Stronghold
EX,EXO Exodus
UG,UGL Unglued
US,USG Urza's Saga
6E,6ED,6TH Sixth Edition
UL,ULG Urza's Legacy
UD,UDS Urza's Destiny
MM,MMQ Mercadian Masques
NE,NMS Nemesis
PY,PCY Prophecy
IN,INV Invasion
PS,PLS Planeshift
AP,APC Apocalypse
OD,ODY Odyssey
7E,7ED,7TH Seventh Edition
TO,TOR Torment
JU,JUD Judgment
ON,ONS Onslaught
LE,LGN Legions
SC,SCG Scourge
8E,8ED,8TH Eighth Edition
MR,MRD Mirrodin
DS,DST Darksteel
FD,5DN Fifth Dawn
CHK Champions of Kamigawa
UN,UNH Unhinged
9E,9ED,9TH Ninth Edition
BOK Betrayers of Kamigawa
SOK Saviors of Kamigawa
RAV,RV Ravnica: City of Guilds
GP,GPT Guildpact
DIS Dissension
TSP Time Spiral
TSB Time Spiral Timeshifted
PLC Planar Chaos
FUT Future Sight
10ED,10TH,10E Tenth Edition
LRW Lorwyn
MOR Morningtide
SHM Shadowmoor
EVE Eventide
ALA Shards of Alara
You can also check out the 3 letter codes at Wikipedia
32 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 5 guests